opencodex / src
AGENTS.md17k starsChanged 2 months agoMITView on GitHub
This file applies to src/ and inherits the repository-wide rules in /AGENTS.md.
Trending
More talk lately.about the whole repository
Who's talking about lidge-jun/opencodex
- A Hacker News story“Proxy for OpenAI Codex and Claude Code, use any LLM with those apps”Hacker News · Jul 22, 2026 · 6 points
- @ds-wen.bsky.social“Universal provider proxy for OpenAI Codex & Claude Code — use any LLM (Claude, Gemini, Grok, DeepSeek, …”Bluesky · Jul 22, 2026 · 3 likes
- router-for-me/CLIProxyAPI“Antigravity 调用 Claude 5.5 返回 404 Requested entity was not found”GitHub · Oct 4, 2026 · 1 reactions
- alphaXiv/OpenResearch“Feature Request: Opencodex Style Codex subscription pooling plan?”GitHub · Sep 18, 2026 · 1 reactions
- NousResearch/hermes-agent“[Provider compatibility]: Nous Portal stealth/ox-alpha returns empty responses with tools”GitHub · Aug 23, 2026 · 1 reactions
The biggest 5 of 53 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 53
Talked about on GitHub, Bluesky and Hacker News (53 times).
On GitHub · 50
- Oct 4, 2026Antigravity 调用 Claude 5.5 返回 404 Requested entity was not found — router-for-me/CLIProxyAPI1 reaction · 3 comments
- Sep 18, 2026Feature Request: Opencodex Style Codex subscription pooling plan? — alphaXiv/OpenResearch1 reaction
- Aug 23, 2026[Provider compatibility]: Nous Portal stealth/ox-alpha returns empty responses with tools — NousResearch/hermes-agent1 reaction · 1 comment
- Nov 2, 2026tracking: dashboard-first reliability and operator workflows (2026-11-02) — amanverasia/Janus0 reactions
- Nov 2, 2026fix(routing): preserve cooldown expiry and calculate retry time across overlapping scopes — amanverasia/Janus0 reactions
45 more on GitHub
- Nov 2, 2026feat(inventory): provide classified account recovery and safe re-entry into routing — amanverasia/Janus0 reactions
- Nov 1, 2026feat(install): option --opencodex (OpenCodex app, CLI ocx, workers, raccourci zsh) — WhiteRoseLK/ctf-agents0 reactions
- Nov 1, 2026install.sh : option --opencodex (orchestrateur multi-provider) — WhiteRoseLK/ctf-agents0 reactions
- Nov 1, 2026agent-skills.github.lidge-jun.opencodex: 2.95.0 → 2.96.0 — sudosubin/agents.nix0 reactions
- Oct 31, 2026agent-skills.github.lidge-jun.opencodex: 2.94.0 → 2.95.0 — sudosubin/agents.nix0 reactions
- Oct 30, 2026[Bug/错误]: Codex 即便透传也无法调用自带的搜索 — looplj/axonhub0 reactions
- Oct 29, 2026agent-skills.github.lidge-jun.opencodex: 2.93.0 → 2.94.0 — sudosubin/agents.nix0 reactions
- Oct 29, 2026fix(volcengine): carry reviewed Kimi regression coverage — AaronZ345/opencodex0 reactions · 2 comments
- Oct 27, 2026agent-skills.github.lidge-jun.opencodex: 2.92.0 → 2.93.0 — sudosubin/agents.nix0 reactions
- Oct 24, 2026agent-skills.github.lidge-jun.opencodex: 2.91.0 → 2.92.0 — sudosubin/agents.nix0 reactions
- Oct 24, 2026perf(proxy): bound CONNECT header buffering and eliminate repeated prefix copies — luvs01/opencodex0 reactions · 3 comments
- Oct 22, 2026agent-skills.github.lidge-jun.opencodex: 2.90.0 → 2.91.0 — sudosubin/agents.nix0 reactions
- Oct 21, 2026agent-skills.github.lidge-jun.opencodex: 2.89.0 → 2.90.0 — sudosubin/agents.nix0 reactions
- Oct 19, 2026agent-skills.github.lidge-jun.opencodex: 2.88.0 → 2.89.0 — sudosubin/agents.nix0 reactions
- Oct 17, 2026agent-skills.github.lidge-jun.opencodex: 2.87.0 → 2.88.0 — sudosubin/agents.nix0 reactions
- Oct 16, 2026agent-skills.github.lidge-jun.opencodex: 2.86.0 → 2.87.0 — sudosubin/agents.nix0 reactions
- Oct 15, 2026agent-skills.github.lidge-jun.opencodex: 2.84.0 → 2.86.0 — sudosubin/agents.nix0 reactions
- Oct 14, 2026[WRONG BRANCH] fix(cli): treat connected client state as successful ensure and inject OPENCODEX_API_AUTH_TOKEN in system-env — andrew05060414/opencodex0 reactions · 2 comments
- Oct 14, 2026Discovery watchlist — rishibhaskar777/whichai0 reactions
- Oct 14, 2026agent-skills.github.lidge-jun.opencodex: 2.78.0 → 2.84.0 — sudosubin/agents.nix0 reactions
- Oct 6, 2026Recover stalled OpenCodex processes with a Rust liveness watchdog — AutoDevJapan/cc-pc-tools-rs0 reactions · 4 comments
- Oct 5, 2026agent-skills.github.lidge-jun.opencodex: 2.77.0 → 2.78.0 — sudosubin/agents.nix0 reactions
- Oct 4, 2026agent-skills.github.lidge-jun.opencodex: 2.76.0 → 2.77.0 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.lidge-jun.opencodex: 2.64.0 → 2.76.0 — sudosubin/agents.nix0 reactions
- Sep 29, 2026agent-skills.github.lidge-jun.opencodex: init at 2.64.0 — sudosubin/agents.nix0 reactions
- Sep 29, 2026Add OpenCodex — AppImage/appimage.github.io0 reactions · 1 comment
- Sep 20, 2026[Bug]: Model picker shows one flat list; group models by provider the way Hermes does — hardbeat920/monocode0 reactions · 4 comments
- Sep 20, 2026chore(deps): bump @bitkyc08/opencodex from 2.29.0 to 2.57.0 — Cyberdad247/Camelot-Ecosystem0 reactions · 2 comments
- Sep 19, 2026loop: dispatching lanes without arming a wake leaves every lane stalled after it opens its PR — lidge-jun/codexclaw0 reactions
- Sep 18, 2026[WRONG BRANCH] test(server): validate the #5014 fixture fix against current dev — luvs01/opencodex0 reactions · 4 comments
- Sep 16, 2026docs(workflow): make parallel worktree lanes mergeable across Codex tasks — lidge-jun/codexclaw0 reactions
- Sep 14, 2026Replace the retiring GPT-5.3-Codex-Spark in the Codex live tests — panarch/caffold0 reactions
- Sep 13, 2026Same-model background review can resolve a different cache scope than its gateway parent — NousResearch/hermes-agent0 reactions · 4 comments
- Sep 11, 2026collections: Measure-Object -Line silently counts only non-empty lines, so it undercounts any file with blank lines — lidge-jun/fuck-powershell0 reactions
- Sep 10, 2026feat(discovery): 週に一度、新しく出たツールの候補を集めて PR にする — konweb/nanteyomu0 reactions · 1 comment
- Sep 8, 2026fix(claude): stabilize Responses instructions for Muse/Go prompt cache — Warexpor/opencodex0 reactions · 4 comments
- Sep 8, 2026OpenCode Go rejects requests over missing `x-opencode-session` — raine/claude-code-proxy0 reactions
- Sep 7, 2026ocx: add page — tldr-pages/tldr0 reactions · 2 comments
- Aug 21, 2026feat(gui): Subagents Roles editor and prompt fields — yansigit/opencodex0 reactions · 2 comments
- Aug 21, 2026[WRONG BRANCH] feat(agent): marker-owned Codex role TOML sync — yansigit/opencodex0 reactions · 3 comments
- Aug 10, 2026[Feature]: First-class OpenCodeX integration for Codex and Claude Code sessions — stablyai/orca0 reactions
- Aug 9, 2026[兼容性问题] 请问 兼容 opencodex 代理吗? — architectds/modeldock0 reactions · 1 comment
- Aug 6, 2026Add opencodex package — bet4it/nur-packages0 reactions
- Jul 23, 2026增强自定义供应商模型发现:独立 modelsUrl 与 Anthropic 后缀回退 — makecindy/cindy0 reactions
- Jul 21, 2026docs: add opencodex visual explainer — 53able/docs-site0 reactions
On Bluesky · 2
- Jul 22, 2026Universal provider proxy for OpenAI Codex & Claude Code — use any LLM (Claude, Gemini, Grok, DeepSeek, Ollama…) with Codex CLI, App, SDK,… — @ds-wen.bsky.social3 likes and reposts · 1 reply
- Aug 22, 2026opencodex points Codex, Claude Code, Claude Desktop, and Grok Build at any LLM you like, but the sharper lesson is how it bounds the state… — @agentpalisade.bsky.social1 likes and repost
On Hacker News · 1
- Jul 22, 2026Proxy for OpenAI Codex and Claude Code, use any LLM with those apps6 points · 1 comment
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs-site/AGENTS.mdAGENTS.md
- .github/AGENTS.mdAGENTS.md
- gui/AGENTS.mdAGENTS.md
- scripts/AGENTS.mdAGENTS.md
- structure/AGENTS.mdAGENTS.md
- ocxSkill
The file
We split this AGENTS.md into the rules it gives an agent
8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 8
Do not assume a separate server compilation step.
- Distinctive: line 9
Prefer Bun and Web-platform APIs.
- Distinctive: line 15
Follow the existing subsystem boundaries and naming patterns.
- Distinctive: line 16
Do not combine unrelated responsibilities to avoid creating another large shared module.
- Distinctive: line 24
Place focused regression coverage near the existing tests for the affected subsystem.
- Very specific: line 26
If the change set is broader than one file, run bun run test:changed instead of the full suite.
- Very specific: line 27
Run bun run test only before marking a PR review-ready, or when the user explicitly asks for the full suite.
- Very specific: line 29
Update docs-site/ when the change affects user-visible behavior or configuration.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Source runtime instructions
This file applies to src/ and inherits the repository-wide rules in /AGENTS.md.
Runtime and module rules
src/is Bun-native TypeScript in strict mode and uses ES modules only.- Do not assume a separate server compilation step.
- Prefer Bun and Web-platform APIs. Introduce a Node-only runtime dependency only when the task explicitly requires compatibility code and the owning module already has that role.
- Preserve existing public exports and configuration compatibility unless the task explicitly changes them.
- Read the applicable documents in
structure/before changing shared routing, adapters, transports, sidecars, authentication, configuration, or server architecture.structure/INDEX.mdmaps each source area to the docs that describe it — usually more than one, because those docs are organised by topic whilesrc/is organised by module — and every doc listed for an area is updated in the same change that changes the area.
Implementation rules
- Follow the existing subsystem boundaries and naming patterns.
- Do not combine unrelated responsibilities to avoid creating another large shared module.
- Handle asynchronous failures at request, transport, and sidecar boundaries. Optional integrations must degrade through the existing failure representation rather than crash the request path.
- Provider catalog metadata belongs in the canonical provider registry and derivation flow. Do not duplicate provider facts across independent pickers or seeds.
- Adapter changes must preserve the internal event contract, streaming behavior, tool calls, cancellation, error mapping, and image handling relevant to that adapter.
- Authentication, OAuth, token, credential, management API, and CORS changes are security-boundary changes.
Tests and validation
- Place focused regression coverage near the existing tests for the affected subsystem.
- For focused behavior, run the relevant
bun test tests/<name>.test.tsandbun run typecheck. - If the change set is broader than one file, run
bun run test:changedinstead of the full suite. - Run
bun run testonly before marking a PR review-ready, or when the user explicitly asks for the full suite. - For logging, requests, credentials, account data, or fixtures, also run
bun run privacy:scan. - Update
docs-site/when the change affects user-visible behavior or configuration.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

