Repository navigation
Foreman 2.4.0 gets you from install to your first approval on your phone in about five minutes, and lets a team of roles work side by side and tell you when the work is done.
Start in five minutes
foreman quickstartconnects Claude Code and Telegram, then sends a real approval card to your phone through the same gateway and hook a real agent uses.- It changes Claude Code's settings only after an explicit
y, and lists the files first. - Pointed at a test home with
FOREMAN_HOME, it never touches your real Claude Code settings.
- It changes Claude Code's settings only after an explicit
A team that finishes the job
- Roles work side by side. Tasks for different roles run at the same time, up to 4 (
FOREMAN_MAX_PARALLEL_TASKS). One role's own tasks stay in order. - Plans know what waits for what. A step can wait for others, and doesn't start if one of them failed.
- You hear when it's done. A task asked from Telegram, Slack or Discord reports its result to that chat, and a plan sends one message when every step has ended.
- A task may run for 30 minutes, up from 10 (
FOREMAN_TASK_TIMEOUT_MINUTES). - Gemini CLI can fill a role, next to Claude Code and Codex. Its tool calls go through Foreman first, like theirs.
Your plan, the right way
- Claude: Foreman no longer has a Claude sign-in of its own, which Anthropic doesn't permit for other apps. It runs your own Claude Code instead (
foreman llm login anthropic) and holds no Claude credential. - ChatGPT: sign-in follows OpenAI's Sign in with ChatGPT for open-source apps, an OpenAI preview. Foreman registers as its own app and calls the public API.
foreman llm use openaithen moves Foreman's brain to it. We couldn't test it with a paid ChatGPT plan before this release: if you try it, tell us in an issue how it went.
Safer
- Every tool call of a Claude Code role goes through Foreman, even when the global hook isn't installed.
- Adding a role on Codex no longer rewrites Codex's global instructions (
~/.codex/AGENTS.md). - An agent that dies no longer takes Foreman down, and every pending approval with it.
- An agent can no longer start itself over and over.
Fixed
- Long replies from Claude Code arrive whole.
- A chat message that starts with a path is a message, in Telegram, Slack and Discord.
- Slack's guide covers making
/foremanwork: reinstall the app after creating the command. - Agent wiring and sign-in work without
foremanon your PATH. - Foreman's brain works on current Claude models, with Claude Haiku 5.5 by default.
Upgrade
npm install -g foreman-agent@2.4.0If Foreman's brain used your ChatGPT plan, run foreman llm login openai once. If it used Foreman's old Claude sign-in, there's nothing to do: it moves to your own Claude Code by itself. The CHANGELOG has the full list.