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
- In System settings, open Account pool and add the subscription, API key, or relay accounts your team will share.
- Set the models and reasoning effort each account offers, and limit each account to the users who may use it.
- Give team members sign-in access and have them create their own workspaces with the accounts they can use.
- Open Usage to filter per-request records and check tokens, cache, latency, and price snapshots.
- 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.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for devilcoolyue/agentbox and "Share agent accounts with a team and track usage"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer