Run your company with Claude Code and Codex agents organized into departments
A founder built a self-hosted company OS that he uses to run his business: every agent runs Claude Code or Codex CLI as a persistent sandboxed process with its own workspace, memory, schedules and tools, and teammates collaborate on the agents.
Source
dimitrismrtzs on Hacker News · 2026-09-09 · Project link
Written in our own words. Credit to the original author. Link checked 2026-10-16.
What they did
A founder built a self-hosted company OS that he uses to run his business: every agent runs Claude Code or Codex CLI as a persistent sandboxed process with its own workspace, memory, schedules and tools, and teammates collaborate on the agents.
Result (as claimed)
Open source and free to self-host; 50 points on Show HN.
Tools they used
Cost: Claude Code: free plan, paid from $17/mo; OpenAI Codex: free plan, paid from $8/mo. Checked 2026-10-14.
Set it up
Map the task
Write the trigger, the inputs, the decisions and the output. Note which steps need a human yes.
Connect the tools
Set up Claude Code, OpenAI Codex with the narrowest permissions that work. Use a test account or sandbox first.
Build the workflow
Create the steps in order. Add an approval step before anything sends, pays or deletes.
Run it on real but low-stakes data
Run a few times, read every output, and fix prompts or rules that misfire.
Schedule and monitor
Turn on the schedule or trigger, and add a daily summary or alert so you notice failures.
Copy the full setup prompt
Paste into your agent and it will walk you through the setup, asking before anything that sends, posts or spends.
You are helping me set up this AI use case end to end in Claude Code. Goal: Run your company with Claude Code and Codex agents organized into departments What the original author did: A founder built a self-hosted company OS that he uses to run his business: every agent runs Claude Code or Codex CLI as a persistent sandboxed process with its own workspace, memory, schedules and tools, and teammates collaborate on the agents. Reported result (as claimed by the author): Open source and free to self-host; 50 points on Show HN. Source: https://news.ycombinator.com/item?id=49630606 Tools they used: Claude Code, OpenAI Codex Category: Automation & business Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
You are helping me set up this AI use case end to end in Codex. Goal: Run your company with Claude Code and Codex agents organized into departments What the original author did: A founder built a self-hosted company OS that he uses to run his business: every agent runs Claude Code or Codex CLI as a persistent sandboxed process with its own workspace, memory, schedules and tools, and teammates collaborate on the agents. Reported result (as claimed by the author): Open source and free to self-host; 50 points on Show HN. Source: https://news.ycombinator.com/item?id=49630606 Tools they used: Claude Code, OpenAI Codex Category: Automation & business Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
You are helping me set up this AI use case end to end in Grok Bot. Goal: Run your company with Claude Code and Codex agents organized into departments What the original author did: A founder built a self-hosted company OS that he uses to run his business: every agent runs Claude Code or Codex CLI as a persistent sandboxed process with its own workspace, memory, schedules and tools, and teammates collaborate on the agents. Reported result (as claimed by the author): Open source and free to self-host; 50 points on Show HN. Source: https://news.ycombinator.com/item?id=49630606 Tools they used: Claude Code, OpenAI Codex Category: Automation & business Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
The Daily 5
Get five new use cases tomorrow morning
Free. Real sources. Unsubscribe any time.
Related use cases
Let Claude Code read WeChat messages on your Mac
Built WeChat Portal for read-only local access to WeChat messages, media and Feishu docs from Claude Code or Codex.
Let Codex and Claude Code share one kanban board for handoffs
agent-kanban is one board where Codex and Claude Code share task packets, handoffs and comments, so every new session picks up where the last one stopped. It was built with Codex.
Let Claude Code ask Codex to generate images mid-task
codex-claude-bridge lets Claude ask Codex to generate an image, save it locally and keep working with the result, without switching apps or explaining the project twice.
Have Claude Code direct Codex and other agents in parallel
Paying for Claude, Codex, GLM and Command Code, the author built vNext so Claude Code directs the other agents, runs them in parallel and records every job.