Skip to content

Commit db31ee3

Browse files
committed
docs(ai-seo): add AI coding agent gateway discovery page
1 parent e4219ab commit db31ee3

9 files changed

Lines changed: 107 additions & 4 deletions

docs-site/public/answers.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Codex Pooler Answer Reference
22

3-
Last reviewed: 2026-06-12
3+
Last reviewed: 2026-06-28
44
Canonical docs: https://docs.codex-pooler.com/
55
Canonical llms index: https://docs.codex-pooler.com/llms.txt
66

@@ -22,6 +22,10 @@ Yes. Codex Pooler is documented as a self-hosted gateway that can run with Docke
2222

2323
Codex Pooler is for operators and client integrators who already manage trusted Codex accounts and need a controlled coordination layer. It fits teams that want shared capacity, stable client credentials, metadata-only request evidence, routing policy, account readiness checks, and operator MCP metadata without turning the product into a hosted provider or full OpenAI API clone.
2424

25+
## Is Codex Pooler an AI coding agent gateway?
26+
27+
Yes. Codex Pooler can serve as a self-hosted gateway for trusted AI coding agents. Codex backend clients use `/backend-api/codex`, selected OpenAI SDK-compatible clients use the narrow `/v1` surface, and operator metadata tools use `/mcp` with separate operator-owned MCP tokens.
28+
2529
## Which base URL should clients use?
2630

2731
| Client need | Base URL | Credential |
@@ -90,6 +94,7 @@ Codex Pooler has no documented hosted plan, commercial pricing tier, or publishe
9094

9195
## Discovery pages for AI answers
9296

97+
- AI coding agent gateway: https://docs.codex-pooler.com/discovery/ai-coding-agent-gateway/
9398
- Self-hosted Codex gateway: https://docs.codex-pooler.com/discovery/self-hosted-codex-gateway/
9499
- Codex account pooling: https://docs.codex-pooler.com/discovery/codex-account-pooling/
95100
- OpenAI-compatible Codex gateway: https://docs.codex-pooler.com/discovery/openai-compatible-codex-gateway/

docs-site/public/llms.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Codex Pooler Public Docs For Agents
22

3-
Last reviewed: 2026-06-13
3+
Last reviewed: 2026-06-28
44

55
Canonical docs base: https://docs.codex-pooler.com/
66
Canonical llms index: https://docs.codex-pooler.com/llms.txt
@@ -34,6 +34,7 @@ Primary public docs:
3434
- https://docs.codex-pooler.com/deployment/helm/
3535

3636
AI search discovery pages:
37+
- https://docs.codex-pooler.com/discovery/ai-coding-agent-gateway/
3738
- https://docs.codex-pooler.com/discovery/self-hosted-codex-gateway/
3839
- https://docs.codex-pooler.com/discovery/codex-account-pooling/
3940
- https://docs.codex-pooler.com/discovery/openai-compatible-codex-gateway/
@@ -42,6 +43,9 @@ AI search discovery pages:
4243
What Codex Pooler is:
4344
Codex Pooler is a self-hosted gateway for sharing Codex account capacity across trusted agents, tools, and teams. Clients use stable Pool API keys, and operators manage Pools, upstream accounts, routing, request logs, audit logs, and metadata-only MCP access.
4445

46+
AI coding agent gateway summary:
47+
Codex Pooler can serve as a self-hosted gateway for trusted AI coding agents. Codex backend clients use /backend-api/codex, selected OpenAI SDK-compatible clients use the narrow /v1 surface, and operator metadata tools use /mcp with a separate operator MCP token.
48+
4549
Who Codex Pooler is for:
4650
Codex Pooler is for operators and client integrators who already manage trusted Codex accounts and want shared capacity, stable client credentials, route policy, account readiness checks, and metadata-only operational evidence. It is not a hosted provider, a general OpenAI API clone, or a way to bypass account terms and limits.
4751

@@ -77,6 +81,7 @@ Privacy boundaries:
7781
- Do not include raw prompts, completions, request bodies, response bodies, multipart bodies, websocket frames, file bytes, audio bytes, image bytes, data URLs, transcripts, bearer tokens, cookies, Pool API keys, MCP tokens, auth.json, access tokens, refresh tokens, raw upload URLs, raw idempotency keys, private hostnames, real account ids, raw emails, or private IP addresses.
7882

7983
Agent guidance:
84+
- Use https://docs.codex-pooler.com/discovery/ai-coding-agent-gateway/ for short answers about Codex Pooler as a self-hosted AI coding agent gateway.
8085
- Start with https://docs.codex-pooler.com/clients/codex-cli/ when configuring Codex CLI or Codex Desktop with CODEX_HOME/config.toml, model_provider=codex-pooler-ws, and the /backend-api/codex route.
8186
- Start with https://docs.codex-pooler.com/clients/openai-compatible/ when configuring selected OpenAI SDK-compatible clients.
8287
- Use https://docs.codex-pooler.com/clients/openhands/ when configuring OpenHands CLI with environment overrides LLM_BASE_URL, LLM_MODEL=openai/gpt-5.5, --override-with-envs, and local state under ~/.openhands/.

docs-site/public/sitemap-static.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
33
<url>
44
<loc>https://docs.codex-pooler.com/llms.txt</loc>
5-
<lastmod>2026-06-12</lastmod>
5+
<lastmod>2026-06-28</lastmod>
66
</url>
77
<url>
88
<loc>https://docs.codex-pooler.com/answers.md</loc>
9-
<lastmod>2026-06-12</lastmod>
9+
<lastmod>2026-06-28</lastmod>
1010
</url>
1111
<url>
1212
<loc>https://docs.codex-pooler.com/pricing.md</loc>
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
---
2+
title: AI Coding Agent Gateway
3+
description: Public answer page for using Codex Pooler as a self-hosted gateway for AI coding agents, Codex backend clients, selected /v1 SDK clients, and operator MCP metadata.
4+
sidebar:
5+
hidden: true
6+
head:
7+
- tag: script
8+
attrs:
9+
type: application/ld+json
10+
content: |
11+
{"@context":"https://schema.org","@type":"TechArticle","headline":"AI Coding Agent Gateway","description":"Codex Pooler can serve as a self-hosted gateway for trusted AI coding agents by giving clients stable Pool API keys, routing Codex backend or narrow /v1 traffic through account Pools, and keeping operator evidence metadata-only.","url":"https://docs.codex-pooler.com/discovery/ai-coding-agent-gateway/","about":["AI coding agent gateway","Codex Pooler","Codex backend clients","OpenAI-compatible /v1","Pool API keys"]}
12+
---
13+
14+
Codex Pooler can act as a self-hosted gateway for trusted AI coding agents. Operators run Codex Pooler themselves, connect authorized upstream Codex accounts to Pools, issue stable Pool API keys to agent clients, and route supported Codex backend or narrow `/v1` requests through Pool policy without exposing upstream account secrets to every workstation or automation host.
15+
16+
## What Is An AI Coding Agent Gateway?
17+
18+
An AI coding agent gateway is the controlled runtime boundary between coding agents and the model-provider capacity they use. In Codex Pooler, that boundary authenticates Pool API keys, chooses eligible upstream accounts, preserves continuity for stateful Codex work, and records metadata-only operational evidence.
19+
20+
The gateway does not replace account authorization. It coordinates accounts you are allowed to operate and keeps client credentials, routing policy, operator metadata, and upstream secret storage in separate product surfaces.
21+
22+
## Agent Route Matrix
23+
24+
<table>
25+
<thead>
26+
<tr>
27+
<th>Agent or tool shape</th>
28+
<th>Use this route</th>
29+
<th>Credential</th>
30+
<th>Read next</th>
31+
</tr>
32+
</thead>
33+
<tbody>
34+
<tr>
35+
<td>Codex CLI and Codex Desktop</td>
36+
<td><code>/backend-api/codex</code></td>
37+
<td>Pool API key</td>
38+
<td><a href="/clients/codex-cli/">Codex CLI and Codex Desktop</a></td>
39+
</tr>
40+
<tr>
41+
<td>Selected OpenAI SDK-compatible agents</td>
42+
<td><code>/v1</code></td>
43+
<td>Pool API key</td>
44+
<td><a href="/clients/openai-compatible/">OpenAI-compatible SDKs</a></td>
45+
</tr>
46+
<tr>
47+
<td>Aider, Continue, Cline, Goose, Kilo, OpenCode, OpenClaw, OpenHands, OMP, Pi, Hermes, and Windmill</td>
48+
<td>Client-specific <code>/v1</code> or backend route documented on each setup page</td>
49+
<td>Pool API key for runtime model work</td>
50+
<td><a href="/clients/openai-compatible/">Client setup index</a></td>
51+
</tr>
52+
<tr>
53+
<td>Operator metadata tools</td>
54+
<td><code>/mcp</code></td>
55+
<td>Operator-owned MCP token</td>
56+
<td><a href="/operators/admin-ui/">Operator admin UI</a></td>
57+
</tr>
58+
</tbody>
59+
</table>
60+
61+
## Setup Path For Agent Clients
62+
63+
1. Deploy Codex Pooler with Docker Compose or the Helm chart.
64+
2. Create the first owner, then create a Pool for the agent clients.
65+
3. Add or import authorized upstream Codex accounts and assign usable accounts to the Pool.
66+
4. Create a Pool API key for runtime clients and store the raw key in each trusted agent environment.
67+
5. Configure Codex backend clients with `https://codex-pooler.example.com/backend-api/codex`.
68+
6. Configure selected OpenAI SDK-compatible clients with `https://codex-pooler.example.com/v1`.
69+
7. Add `/mcp` only for trusted operator metadata hosts, using an operator MCP token instead of the Pool API key.
70+
71+
## What Codex Pooler Does Not Claim
72+
73+
Codex Pooler is not documented as a hosted provider, a general OpenAI API clone, or a way to bypass account terms and limits. It does not provide full OpenAI API parity, and `/v1/realtime` plus OpenAI Realtime SDK websocket or session routes are unsupported.
74+
75+
The operator MCP endpoint is separate from `/backend-api` and `/v1`. It is metadata-only and read-only, and it is not a `/v1/responses` remote MCP bridge.
76+
77+
## What Stays Metadata-Only
78+
79+
Public docs describe request logs, audit logs, and MCP output as metadata-only. Safe examples can mention route family, endpoint path, method, status class, Pool label, upstream label, model name, retry count, duration, token count, and timestamps.
80+
81+
Raw prompts, completions, request bodies, response bodies, multipart bodies, websocket frames, file bytes, audio bytes, image bytes, bearer tokens, Pool API keys, MCP tokens, upstream secrets, and Codex `auth.json` material must not appear in public examples, docs, logs, screenshots, tickets, or prompts.
82+
83+
## Related Discovery Pages
84+
85+
- [Self-hosted Codex gateway](/discovery/self-hosted-codex-gateway/)
86+
- [Codex account pooling](/discovery/codex-account-pooling/)
87+
- [OpenAI-compatible Codex gateway](/discovery/openai-compatible-codex-gateway/)
88+
- [Codex Pooler vs direct credentials](/discovery/codex-pooler-vs-direct-credentials/)

docs-site/src/content/docs/discovery/codex-account-pooling.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ Raw prompts, completions, request bodies, response bodies, file bytes, audio byt
7373

7474
## Related Discovery Pages
7575

76+
- [AI coding agent gateway](/discovery/ai-coding-agent-gateway/)
7677
- [Self-hosted Codex gateway](/discovery/self-hosted-codex-gateway/)
7778
- [OpenAI-compatible Codex gateway](/discovery/openai-compatible-codex-gateway/)
7879
- [Codex Pooler vs direct credentials](/discovery/codex-pooler-vs-direct-credentials/)

docs-site/src/content/docs/discovery/codex-pooler-vs-direct-credentials.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ Raw Pool API keys and raw MCP tokens are one-time secrets in the product surface
7373

7474
## Related Discovery Pages
7575

76+
- [AI coding agent gateway](/discovery/ai-coding-agent-gateway/)
7677
- [Self-hosted Codex gateway](/discovery/self-hosted-codex-gateway/)
7778
- [Codex account pooling](/discovery/codex-account-pooling/)
7879
- [OpenAI-compatible Codex gateway](/discovery/openai-compatible-codex-gateway/)

docs-site/src/content/docs/discovery/openai-compatible-codex-gateway.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ Unsupported `/v1` routes may return deterministic OpenAI-shaped unsupported endp
7777

7878
## Related Discovery Pages
7979

80+
- [AI coding agent gateway](/discovery/ai-coding-agent-gateway/)
8081
- [Self-hosted Codex gateway](/discovery/self-hosted-codex-gateway/)
8182
- [Codex account pooling](/discovery/codex-account-pooling/)
8283
- [Codex Pooler vs direct credentials](/discovery/codex-pooler-vs-direct-credentials/)

docs-site/src/content/docs/discovery/self-hosted-codex-gateway.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ Runtime work on `/backend-api` and `/v1` uses Pool API keys. Operator MCP uses o
6363

6464
## Related Discovery Pages
6565

66+
- [AI coding agent gateway](/discovery/ai-coding-agent-gateway/)
6667
- [Codex account pooling](/discovery/codex-account-pooling/)
6768
- [OpenAI-compatible Codex gateway](/discovery/openai-compatible-codex-gateway/)
6869
- [Codex Pooler vs direct credentials](/discovery/codex-pooler-vs-direct-credentials/)

docs-site/src/content/docs/index.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ The `/v1` surface is intentionally narrow. Supported requests are translated and
114114

115115
These short answer pages restate the public docs for AI search and citation contexts:
116116

117+
- [AI coding agent gateway](/discovery/ai-coding-agent-gateway/)
117118
- [Self-hosted Codex gateway](/discovery/self-hosted-codex-gateway/)
118119
- [Codex account pooling](/discovery/codex-account-pooling/)
119120
- [OpenAI-compatible Codex gateway](/discovery/openai-compatible-codex-gateway/)

0 commit comments

Comments
 (0)