{
 "schema_version": 1,
 "generated": "2026-10-24",
 "id": "gesta-run-subpool--pool-team-ai-subscriptions",
 "repo": "gesta-run/subpool",
 "repo_url": "https://github.com/gesta-run/subpool",
 "repo_slug": "gesta-run-subpool",
 "title": "Pool team AI subscriptions behind one employee endpoint",
 "page_title": "How to pool team AI subscriptions behind one employee endpoint with Subpool",
 "summary": "Self-host a control plane that gives each employee a key across shared provider accounts.",
 "who": "An IT or platform administrator whose team holds several AI subscription or API accounts and needs to hand out access without sharing one login.",
 "problem": "Separate subscriptions are hard to track, and employees each need access to capacity they can use without owning the upstream account.",
 "outcome": "A running Subpool instance where accounts are grouped into a pool and each employee has a dedicated API key for that pool.",
 "steps": [
  "Run `cp .env.example .env`, then replace every `replace-with-*` value using `openssl rand -base64 32` and `openssl rand -hex 32`.",
  "Run `docker compose up -d` to start Subpool from the published image.",
  "Open http://localhost:8081 and sign in with the administrator credentials from `.env`.",
  "In Accounts, connect a Codex, GitHub Copilot, Google Antigravity, or OpenAI-compatible account.",
  "Create a pool, add the connected account to it, then create an employee API key for the pool."
 ],
 "agent_prompt": "Using the gesta-run/subpool repository, set up a local Subpool instance by following its quick start, then report the console URL and the API URL. Expected output: both URLs responding, with the console reachable at http://localhost:8081. Verify that `docker compose ps` shows the Subpool service running before reporting success.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "45 minutes",
 "basis": "readme",
 "caveat": "Subpool stores no prompts, responses, or source code, but you must back up PostgreSQL together with SUBPOOL_CREDENTIAL_KEY and SUBPOOL_API_KEY_HMAC_KEY or encrypted credentials cannot be recovered.",
 "category": "Work and operations",
 "tags": [
  "Work and operations"
 ],
 "lang": "go",
 "requirements": [
  "Docker Engine and Docker Compose installed",
  "openssl available to generate secrets",
  "AI subscription or API accounts that you are authorized to manage",
  "Administrator credentials for a running Subpool console (set in .env)"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "account-pooling",
   "notice": "Sharing subscription capacity across employees can breach a provider's terms, so connect only accounts you are authorized to manage."
  }
 ],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/gesta-run-subpool/pool-team-ai-subscriptions/",
 "md": "https://dedupedai.com/use-cases/gesta-run-subpool/pool-team-ai-subscriptions/index.md",
 "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 hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/gesta-run-subpool--pool-team-ai-subscriptions.json",
 "api_version": "v1"
}
