OpenAI's #Codex is one of the best coding agent tools, but not everyone knows it is also an open source project with all the source code available on GitHub.
I developed a special book writing multi-agent system called #Claudex (Claude for Codex) to write this Codex book based on the source code and deep research. The book explains how Codex coding agent works inside out. It covers:
1. Rust engine and its turn loop, the model client and context window, and compaction.
2. Tool harness, command execution, and apply_patch.
3. Approvals, operating-system sandboxes, execpolicy, and the network proxy.
4. MCP, skills, plugins, hooks, extensions, multi-agent orchestration, the app server and its clients, persistence, configuration, and the build.
The whole book is about 74,000 words of prose in 29 chapters and eight parts. Each chapter opens with a one-paragraph big idea and a diagram. It ends with "What breaks", a code map of the files it discussed, and recall questions. I hope after reading this book, you will not only know better how to use Codex but also gain deeper understanding of agent harness and agent system.
I will find time later to publish the details of my Claudex book agent which you can use to turn any code repos into similar books. You can connect or follow me on X to get the notification when I share Claudex later.
https://t.co/ulKvmsjNz4
https://t.co/kU8uNX7P90
🚨 오르카(ORCA) 깔아놓고 방치한 사람, 개념부터 잡아야 함
오르카를 셋업만 해두고 지금 방치해두고 있음. 도구가 없는 게 아니라 개념이 머릿속에 없어서 손이 안 가는 거임. 그래서 원글을 보고 개념을 잡아보려는 중임 🤯
오르카, 개념부터 잡는 법, 핵심 요약 들어감.
1. 오르카는 하네스가 아님 (한 층 위에서 팀을 만듦)
- 클로드 코드, 코덱스는 네이티브 하네스임. 모델이 그 루프에 맞춰 포스트트레이닝됐으니 네이티브 하네스가 보통 가장 잘 맞음
- 오픈코드처럼 한 하네스 안에서 여러 모델을 쓰는 건 쉬운 편임. 도구 집합이 같으니까
- 오르카와 T3 코드는 그 위의 층임. 서로 모르는 하네스를 묶어 팀으로 만듦. 푸는 문제는 네 가지임
2. 모델에게 알리는 방법이 갈림 (MCP 대 CLI+스킬)
- 오케스트레이터의 첫 일은 일정 짜기가 아님. 모델에게 네가 내 안에서 돌아간다는 것과 다른 에이전트를 부를 수 있다는 걸 가르치는 거임
- MCP는 delegate_task 같은 행동을 표준 도구로 등록해 스키마를 네이티브 도구 호출에 직접 넣음. 타입과 필수값이 프로토콜에 실려서 실수가 적음
- CLI+스킬은 시스템 프롬프트가 스킬 매뉴얼을 가리키고, 필요할 때 모델이 매뉴얼을 읽고 터미널에서 명령을 실행함
- MCP는 신뢰성이 높지만 스키마를 미리 올려 토큰 세금이 큼. CLI+스킬은 필요할 때만 읽어 가볍고 파이프라인 조합이 강함. 대신 셸 문자열을 손으로 만들어 플래그를 틀리거나 매뉴얼을 안 읽고 짐작하는 실수가 잦음
3. 워커끼리 직접 말을 걸 수 있음 (메일함이 핵심임)
- 에이전트는 직접 대화하지 않음. 오케스트레이터가 항상 중간에 있음. 그 중간을 어떻게 설계하느냐가 갈림
- RPC는 코디네이터가 위임 도구를 불러 워커를 만들고, 끝나면 결과를 받는 요청, 응답식임. 단순하지만 워커가 막히면 질문이 코디네이터로 되돌아와야 함. 코디네이터가 중계자가 되고 컨텍스트가 불어남
- 메일함은 액터 모델임. 워커가 막히면 동료에게 직접 메시지를 보내고 그 자리에서 멈춰 있음. 받는 쪽이 바쁘면 큐에 대기하고, 답이 오면 중단 지점에서 깨워 이어감. 코디네이터를 안 거치고 진짜 비동기 협업이 됨. 대신 라우팅과 큐, 그리고 기상 관리가 무거워짐
- 클로드 코드는 로컬 JSON 인박스, 코덱스는 인메모리 큐, 오르카는 SQLite에 메일함을 둠
4. 죽어도 안 잃는 법과 기억 이어주는 법 (아웃박스와 델타 동기화)
- T3는 트랜잭셔널 아웃박스로 죽은 태스크를 막음. 상태 변경과 발송 명령을 같은 트랜잭션에 묶어 백그라운드 루프가 실행함
- 오르카는 태스크와 디스패치를 분리해 좀비 워커의 낡은 결과를 버림. 재할당마다 새 디스패치 ID를 만들고, 만료된 ID의 보고는 버림. 아웃박스 재시도가 중복 발송을 만들 수 있으니 디스패치 ID가 두 번째 방어선임
- 컨텍스트는 앱스레드와 프로바이더스레드로 나눠, 돌아올 때 빠진 턴만 델타로 붙여 캐시를 살림. 코덱스로 1~3턴을 하고 클로드 코드로 4~5턴을 한 뒤 6턴에 코덱스로 돌아오면 4~5턴만 붙이면 됨. 캐시 유효기간은 수분에서 한 시간 수준이라 시간 안에 써야 함
개념이 잡히면 오르카는 도구가 아니라 팀이 됨. 방치한 셋업부터 다시 켜볼 차례임 🚀
Skills aren't prompts (progressive disclosure, multi-file, ..). I wrote about their differences in detail and what that means for evaluating them https://t.co/ox8diZfpjl
The hard part of factory engineering is building the right flow of work through the factory.
You might define rigid "if this, then that" graphs, or let agents orchestrate themselves.
We saw merits to both, and built a flexible format: Factory Blueprints. https://t.co/MhdlF1AgLd
10 Books Every AI Engineer Should Read.
Want to build AI applications that actually work in production?
Start with these 10 books.
From AI Engineering and RAG to agentic design patterns, multi-agent systems, MCP and LLMOps.
These books cover the engineering knowledge needed to build, deploy and scale reliable AI systems.
📚 10 BOOKS + OFFICIAL RESOURCES
1. AI Engineering — Chip Huyen
https://t.co/oSpxzKVB2P
2. Principles of Building AI Agents — Sam Bhagwat
https://t.co/iw2dcq0nyY
3. Build an AI Agent (From Scratch) — Jungjun Hur & Younghee Song
https://t.co/JC9xatCj7e
4. Agentic Design Patterns — Antonio Gullí
https://t.co/i32LOyyhuY
5. Generative AI Design Patterns — Valliappa Lakshmanan & Hannes Hapke
https://t.co/6AV77lbDpb
6. Building Applications with AI Agents — Michael Albada
https://t.co/70cMygpPZx
7. AI Agents in Action, 2nd Edition — Micheal Lanham
https://t.co/KjDSOmXAGZ
8. Designing Multi-Agent Systems — Victor Dibia
https://t.co/ccoR0Dr2Tx
9. Building Agentic AI Systems — Anjanava Biswas & Wrick Talukdar
https://t.co/tdsA48ZSjT
10. LLMs in Production — Christopher Brousseau & Matthew Sharp
https://t.co/YGa9zkq1Xh
Don't just learn to build AI applications.
Learn to engineer systems that work in the real world.
Bookmark this list.
Which book would you read first?
T3 Code founder shared an 11-page PDF with his personal setup for a multi-agentic team.
Fable 5.2 leads → Opus 5.5 builds. → Gemini 4 Neon docs → Grok Bot feeds them work 24/7
how:
→ Grok Bot files tasks into T3 Code over MCP
→ Fable 5.2 writes the spec and splits the work
→ Opus 5.5 builders run in parallel, one worktree each
→ a different model family reviews every diff before you see it
save the pdf, here's the guide:
• step 0 → what it is:
T3 Code = open-source control plane for coding agents. free, runs on your machines, uses your own Claude, ChatGPT and Google subscriptions
Grok Bot = always-on agent with its own cloud computer. the only member that never sleeps
• step 1 → the five seats:
- Grok Bot → dispatcher, writes briefs, never merges
- Fable 5.2 → lead, SPEC.md + the hardest slice
- Opus 5.5 ×2 → builders, one slice each
- GPT-6.2 Astra → playtester, read-only
- Gemini 4 Neon → docs, changelog, UI copy
• step 2 → one charter, one brief:
TEAM.md in the repo root, every agent reads it first
every handoff = 7 fields: goal, context, done when, do not, return. "done when" must be a command, not an opinion
• step 3 → let the lead delegate:
Fable 5.2 on High, not max. it starts builders with delegate_task, each in its own worktree on its own branch
• step 4 → cross-family review:
Astra tries to break every diff. max 3 rounds, then a human
in one public pipeline Astra rejected 417 of 1,287 Opus additions. same-family review would have shipped them
• step 5 → go 24/7:
npx t3 connect on every machine → Copy MCP URL → paste into Grok Bot with OAuth
it watches GitHub, Slack and X, deduplicates, and launches threads while you sleep
what to expect:
- one feature ≈ $12.75 at API prices, the lead is 25% of it
- 28 PRs merged in one night (Theo, only because his systems verify them)
- control everything from your phone
- T3 Code: $0. you pay for your own subs
honest take:
the model is not the bottleneck anymore. verification is. bad briefs still give bad PRs, and green checks only mean something if your tests do
Save it so you don't lose it.
then read the full guide on building AI agent teams in T3 Code in the article below ↓
After two years of rapid change in software development, we are again at a crossroads, with two competing visions for what the future might hold:
- agent teams that we orchestrate
- software factories that we build, measure, and improve https://t.co/ynFSarmf0n
T3 Code is the MOST underrated AI dev tool right now
It runs Fable 5.2, Opus 5.5, GPT-6.2 Astra and Gemini 4 Neon as one team. Grok Bot feeds it work 24/7
In this full course: how to build it in 6 steps with 14 prompts https://t.co/ZW2n4Jixgz
Claude writes better code when it can verify its work. Checks that used to be expensive, like tests, benchmarks, and end-to-end runs, are now cheap.
Here’s how the Claude Code team thinks about verification:
https://t.co/kPeRO0eCkJ
⭐ improve ⭐
https://t.co/PYtIFVtBLy
1. shadcn이 코드 전체를 점검하고 다른 AI가 따라 할 작업 계획서를 써주는 에이전트 스킬을 공개함
2. 가장 똑똑한 비싼 모델은 코드 파악, 할 일 고르기, 계획서 쓰기만 맡음. 실제 구현은 싼 모델한테 넘김. 스킬은 코드를 직접 고치지 않음
3. /improve 하면 저장소를 훑고 문제 목록 표를 보여줌. 고른 것만 plans/ 폴더에 마크다운 계획서로 만들어줌. 계획서에는 파일 경로, 현재 코드, 확인 명령, 멈춰야 할 조건까지 들어 있음
4. /improve execute 하면 싼 모델이 따로 만든 작업 폴더에서 계획서대로 구현하고, 비싼 모델이 결과를 검토함. 합치는 건 사람이 정함. 보안·성능·테스트 등 9가지 분야를 보고 문제마다 파일과 줄 번호를 근거로 붙임
5. MIT 무료, 스타 1만 개. Agent Skills 형식을 지원하는 에이전트면 사용 가능
설치: npx skills add shadcn/improve
비싼 모델은 계획만, 싼 모델은 작업만 시키는 구조라 토큰비 아끼고 싶은 사람한테 좋을 듯
━━━━━━━━━━
🇺🇸
1. shadcn released an agent skill that audits a whole codebase and writes work plans for other AIs to follow
2. Your most capable (expensive) model only understands the code, picks what to do, and writes the plan. Cheaper models do the actual building. The skill never edits code itself
3. Run /improve and it scans the repo and shows a table of problems. Pick some and it writes each one as a markdown plan in plans/, with file paths, current code, check commands, and when to stop
4. /improve execute has a cheaper model build the plan in a separate work folder, then the expensive model reviews the result. Merging is up to you. It looks at 9 areas like security, performance, and tests, and every finding cites a file and line number
5. Free under MIT, 10.5k stars. Works with any agent that supports the Agent Skills format
Install: npx skills add shadcn/improve
Expensive model plans, cheap model works. Sounds great for anyone trying to save on token costs
#AI #AgentSkills #AIAgents #OpenSource #CodingAgents
یکی از مشکلات Agentهای برنامهنویسی اینه که کد رو مینویسن، اما بعدش این شما هستید که باید PR رو پیگیری کنید، خطاهای CI رو بررسی کنید و تا زمان Merge شدن همهچیز رو زیر نظر داشته باشید!
Theo بهتازگی مجموعهای از Agent Skills رو معرفی کرده که دقیقاً برای حل همین مشکل ازشون استفاده میکنه.
این مجموعه ۵ دستور کاربردی داره:
۱. Council
سه مدل هوش مصنوعی از شرکتهای مختلف کد شما رو بررسی میکنن و این روند ادامه پیدا میکنه تا به یک توافق مشترک برسن.
۲. Full Send
تغییرات رو از مرحله نوشتن کد تا ساخت PR و Merge شدن کامل پیش میبره؛ بدون اینکه مجبور باشید تمام مراحل رو دستی مدیریت کنید.
۳. Babysit
وضعیت CI و ابزارهای بررسی کد رو زیر نظر میگیره و فقط مشکلات واقعی رو برطرف میکنه، نه اینکه بیدلیل همهچیز رو تغییر بده.
۴. Take Over
یک PR نیمهکاره که توسط شخص دیگهای ایجاد شده رو تحویل میگیره، کارهای باقیمونده رو انجام میده و اعتبار و مشارکت سازنده اصلی رو هم حفظ میکنه.
۵. File a PR
یک PR کوتاه و مرتب میسازه که توضیحاتش رو با بیان مشکل اصلی شروع میکنه.
نکته جالب: این مجموعه هم در Codex و هم در Claude Code قابل استفاده است.
روش نصب و راهاندازی:
ابتدا مخزن پروژه رو دریافت کنید:
git clone https://t.co/B2HHI7CwL6
سپس پوشه "skills" رو به مسیر مربوط به ابزار خودتون کپی کنید:
برای Codex:
cp -r tstack/skills ~/.codex/skills
برای Claude Code:
cp -r tstack/skills ~/.claude/skills
بعد با GitHub CLI وارد حساب کاربریتون بشید:
gh auth login
حالا کافیه به Agent دستور بدید:
full send
یا:
council
به همین سادگی میتونید بخشی از فرایند بررسی، رفع ایراد و مدیریت PR رو به Agent بسپارید.
🔗 مخزن GitHub:
https://t.co/B2HHI7CwL6
کانال تلگرام : https://t.co/MO5ikgOb3n
AX is a declarative orchestrator that runs large numbers of autonomous agent tasks in cluster sandboxes, connects their workspaces and models, and manages them with a Kubernetes-like CLI
➜ https://t.co/FLaZB1hDdZ