by kumizeod
Overnight experiment orchestration for Codex: autonomous planning, coding, training and independent verification, with durable quota waiting, crash recovery and reproducible results.
# Add to your Claude Code skills
git clone https://github.com/kumizeod/AgentForemanGuides for using ai agents skills like AgentForeman.
See how AgentForeman compares with popular alternatives.
AgentForeman is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by kumizeod. Overnight experiment orchestration for Codex: autonomous planning, coding, training and independent verification, with durable quota waiting, crash recovery and reproducible results. It has 51 GitHub stars.
AgentForeman's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/kumizeod/AgentForeman" and add it to your Claude Code skills directory (see the Installation section above).
AgentForeman is primarily written in Python. It is open-source under kumizeod on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh AgentForeman against similar tools.
No comments yet. Be the first to share your thoughts!
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Clarify a task. Coordinate your agents. Come back to evidence.
AgentForeman is a local-first orchestration system for coding agents and other complex tasks. Connect your existing CLI clients or API providers, agree on a task with a chairman, and let a bounded multi-agent workflow produce, critique, revise and verify the result.
Built for overnight research experiments, code changes, data analysis and structured reports. Runs on Windows, macOS and Linux with Python 3.11+.
Quick start · Interface · Workflows · Documentation · CI
Three main pages keep daily operations together: Tasks, Subscriptions & Models, and Usage. Advanced tools expose experiments, councils and diagnostics.
Review the proposed goal, deliverables, acceptance checks and role assignments before confirming execution. Follow the conversation, artifacts, verification results and task status in one place.

Add and test local CLI or API connections, choose a preferred chairman, and set allocation preferences. Pause, retest or delete connections without erasing their historical usage.

Inspect client-reported token usage by connection and task over the last 1, 7 or 30 days. Target allocation and observed consumption are shown separately; missing usage stays unknown.

Screenshots show the current application with scripted demonstration providers, not live subscription results. The interface currently uses Chinese labels; this README is in English. See screenshot provenance.
Automatic adversarial tasks require at least three tested connection identities; cooperative tasks require at least four. Multiple models on one account still share that account's capacity and do not establish model independence.
git clone https://github.com/kumizeod/AgentForeman.git
cd AgentForeman
.\start-windows.cmd
Or download and extract the repository, then double-click start-windows.cmd. The launcher creates a virtual environment, installs dependencies, initializes the example project when needed, and opens the local console on an available port. Keep its terminal open and the computer awake.
git clone https://github.com/kumizeod/AgentForeman.git
cd AgentForeman
python3 -m venv .venv
./.venv/bin/python -m pip install -e '.[demo,desktop]'
./.venv/bin/python -m agentforeman init ./my-experiment
./.venv/bin/python -m agentforeman ui --project ./my-experiment --port 0
Run init only for a new project. If my-experiment/foreman.toml already exists, skip that command and open the existing project. General report and analysis tasks do not run the bundled example trainer.
For example: “Analyze these sales rows, produce a JSON total and a short report, have another agent challenge the calculation, and accept only if the configured total check passes.”
Closing the browser does not stop execution. The console process and computer must remain running. After a restart, reopen the same project to reconcile saved work. This release is not an installed background service.
| Connection | Authentication | Model selection |
|---|---|---|
| Codex / ChatGPT | Official Codex client login | Optional CLI model |
| Claude Code | Official Claude Code client login | Optional CLI model |
| OpenCode / Go | OpenCode's own login | Optional provider/model, or its configured default |
| Antigravity | Official Antigravity client login | Optional CLI model |
| Gemini CLI | Supported local enterprise/API authentication | Optional CLI model |
| OpenAI-compatible API or relay | API key or existing environment variable | Required service model; Chat Completions |
| Anthropic-compatible API or relay | API key or existing environment variable | Required service model; Messages |
Local CLI connections reuse official client authentication. Codex and Claude Code also support separate official-client profiles for another account. AgentForeman does not collect account passwords or centrally exchange subscription OAuth tokens. Subscription access and API billing are separate.
API keys are session-only by default, with optional OS credential-store persistence through the desktop extra. Local proxies may use loopback HTTP; remote API endpoints require HTTPS. Provider support is determined by the actual connection test.
Windows discovery supports common CLI installation locations and manual executable paths. OpenCode 1 and 2 use version-specific invocation and completion handling. See the OpenCode connection guide for troubleshooting.
Connections sharing one local CLI login are serialized. API connections sharing one base URL are also conservatively serialized. Adding another model entry does not create additional subscription quota. Allocation percentages guide role selection; they do not enforce an exact consumption split.
Deleting a connection preserves tasks, logs, usage and official client logins. Active or uncertain calls block deletion until their termination is confirmed. Confirmed tasks keep their frozen roles; the scheduler does not silently replace a removed participant.
Both modes share a durable artifact and verification loop. Contributors and reviewers have separate roles, and missing contributions block integration. A chairman can summarize disagreements and request checks; it cannot turn a claim into a verified fact by declaring consensus.
Each improvement round must add evidence, change an artifact or perform verification. Bounded rounds and no-progress stops prevent endless argument. Outstanding disagreements remain in the output. Without configured automated checks, acceptance stays manual or needs evidence.
The bundled example uses CSV data, a NumPy MLP and a trusted checkpoint evaluator. It requires no GPU or data download. From an installed environment with Codex configured:
python -m agentforeman doctor --project ./my-experiment
python -m agentforeman overnight start --project ./my-experiment \
--goal "Improve validation accuracy within the checkpoint contract" \
--deadline 08:00 --max-rounds 5 --review --max-reviews 2
python -m agentforeman overnight status CAMPAIGN_ID --project ./my-experiment
python -m agentforeman overnight report CAMPAIGN_ID --project ./my-experiment
On Windows, use .\.venv\Scripts\python.exe; on macOS/Linux, use ./.venv/bin/python if the virtual environment is not activated. The deadline is the next local 08:00. Recognized reset timestamps and structured quota responses govern waiting; an arbitrary failure is not automatically treated as quota exhaustion.
Completed runs retain source snapshots, patches, logs, metric comparisons, a SHA-256 manifest and a replay script:
python -m agentforeman verify-archive ./my-experiment/.foreman/runs/RUN_ID/archive.zip
A completed experiment can fail to improve its baseline. Completion and objective at