DEDUPED Hot AI repos, turned into use cases Get 5 a day

How to share agent accounts with a team and track usage with Agentbox

Pool Claude and Codex accounts, scope them per user, and export usage costs as CSV.

Account pooling. Sharing one subscription across several people may conflict with your provider's terms, so check them before you pool accounts.

Credentials. Pooled API keys and relay accounts are stored on the server and are visible to whoever administers Agentbox.

Who it is forA team lead who gives several trusted developers access to Claude or Codex and needs to know who used which model and what it cost.

The problemShared agent accounts are hard to track, and usage for each request is rarely visible to the person paying.

The outcomeEach developer uses only the accounts you scoped to them, and you read per-request usage with price snapshots and export it to CSV.

What you need first

  • A Linux server (x86_64 or arm64) with systemd and a local Docker Engine
  • A Claude or Codex subscription, API key, or compatible relay account
  • A browser on your laptop, desktop, or phone
  • Optional: a Git repository and HTTPS token, SSH key, or GitHub or GitLab OAuth for pushing and opening PRs or MRs

Steps

  1. In System settings, open Account pool and add the subscription, API key, or relay accounts your team will share.
  2. Set the models and reasoning effort each account offers, and limit each account to the users who may use it.
  3. Give team members sign-in access and have them create their own workspaces with the accounts they can use.
  4. Open Usage to filter per-request records and check tokens, cache, latency, and price snapshots.
  5. Export the filtered usage records as CSV for your cost review.

Prompt for your agent

Use the agentbox repo at github.com/devilcoolyue/agentbox on the server <server-host> to scope the account pool to the users <user-list>. After a test request, open the Usage view and confirm that a record appears with tokens and a price snapshot, then export it as CSV.

Caveat. The README says model usage follows your provider's terms and pricing, so the usage records show what Agentbox recorded, not your provider's invoice.

Share: X LinkedIn Hacker News Email Copy link

Disclaimer

Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page