{
 "schema_version": 1,
 "generated": "2026-10-24",
 "id": "aafqaq-codex-lb-enhanced--run-enhanced-gateway-from-source-for-development",
 "repo": "aafqaq/codex-lb-enhanced",
 "repo_url": "https://github.com/aafqaq/codex-lb-enhanced",
 "repo_slug": "aafqaq-codex-lb-enhanced",
 "title": "Run the gateway from source for local development",
 "page_title": "How to run the gateway from source for local development with Codex LB Enhanced",
 "summary": "Sync dependencies with uv and launch codex-lb from a source checkout.",
 "who": "A contributor who wants to change the gateway, test recovery behavior, or submit a PR to the project.",
 "problem": "Testing failover fixes requires running the same launcher used by the package and Docker image, not only the container.",
 "outcome": "A local source build of the gateway running with the same launcher as the release image.",
 "steps": [
  "Clone the repository from https://github.com/aafqaq/codex-lb-enhanced and change into its directory.",
  "Install dependencies: `uv sync --dev --frozen`",
  "Start the application launcher: `uv run codex-lb`",
  "Open http://localhost:2455 and complete initialization.",
  "Reproduce a failover case, then open a PR if you have a fix, as the README invites."
 ],
 "agent_prompt": "In a clone of aafqaq/codex-lb-enhanced at <path>, run `uv sync --dev --frozen` and then `uv run codex-lb`. Report whether the launcher starts and whether http://localhost:2455 responds. Verify that no dependency install step failed before you start the launcher.",
 "agents": [
  "claude-code",
  "codex",
  "cursor",
  "gemini-cli"
 ],
 "difficulty": "Advanced",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "The README notes that account-pool switching is still being improved and can occasionally fail to recover, so expect edge cases while you develop.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "Docker installed and running, or uv installed for running from source",
  "Upstream ChatGPT accounts you are authorized to use, to add in the dashboard",
  "A browser to open the dashboard at localhost:2455",
  "Codex CLI, desktop, or IDE integration, or another OpenAI-compatible client, if you plan to connect one"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.7,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/aafqaq-codex-lb-enhanced/run-enhanced-gateway-from-source-for-development/",
 "md": "https://dedupedai.com/use-cases/aafqaq-codex-lb-enhanced/run-enhanced-gateway-from-source-for-development/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/aafqaq-codex-lb-enhanced--run-enhanced-gateway-from-source-for-development.json",
 "api_version": "v1"
}
