Curated runtime skill orchestrator for AI coding assistants: plan, execute, verify.
pip install agent-foundry-runtime Copy PIP instructions
Skill and agent runtime for AI coding assistants.
Plan → execute → verify. Skills, agents, a local daemon. MIT, local, no cloud. 35 original skills, no third-party skill content.
Quick start · Catalog · Architecture · Commands · Web app
Models hallucinate. They over-comment. They reach for npm install when you asked for a one-line fix. Agent Foundry steers the model back to the actual work.
Each layer is portable. A skill body is a plain markdown file with a trigger phrase. An agent is a role definition. The orchestrator is a Python package you can pip install or run from source.
curl -fsSL https://raw.githubusercontent.com/youcisla/Agent-Foundry/main/install.sh | bash Windows (PowerShell):
irm https://raw.githubusercontent.com/youcisla/Agent-Foundry/main/scripts/install.ps1 | iex Or from npm (cross-platform, Node 18+):
npm install -g @youcisla/agent-foundry agent-foundry # auto-detect harness and install Then set an API key:
export ANTHROPIC_API_KEY=sk-... # or OPENAI_API_KEY 2. Use it In Claude Code (or any harness that accepts slash commands):
/af "build a react component" # plan + execute /plan "audit this API" # see which skills match Without a harness:
agent-foundry plan "kill generic AI slop" agent-foundry run "refactor the API design" agent-foundry doctor 3. Or browse first → youcisla-agents.vercel.app has the full catalog, an interactive knowledge graph, and one-click install.
agent-foundry mcp # stdio MCP server: plan, execute, list_skills, get_skill Registered name: io.github.youcisla/agent-foundry.
agent-foundry eval --tasks tasks.json Each task runs twice, with and without the skill, and reports the pass-rate lift. Task format: {"id", "prompt", "skill", "verify"} where verify is a shell command that receives the output on stdin. The layout matches SkillsBench v1.1 (benchflow/skillsbench), so published benchmarks can be reused.
Your prompt (/af build a react component) └─▶ Agent Foundry daemon └─▶ planner · rank_skills └─▶ executor · LiteLLM ⇄ LLM provider (Claude, OpenAI, …) └─▶ SQLite · executions.db └─▶ Response to user Interactive versions of every diagram live on the site: /graph (knowledge graph + orchestration) and /audit.
skills/ 35 disciplines (25 core + 10 optional) ─┐ feed agents/ af-planner · af-critic · af-orchestrator │ the ▼ indexer agent_foundry/ config.py ─▶ daemon.py (FastAPI) indexer.py ─▶ planner.py ─▶ loop.py ⇄ executor.py loop.py ─▶ judge.py (af-critic) ─▶ logging_db.py The daemon is lazy-started by the CLI, so there is no systemd/launchd requirement. Everything runs locally. Your data stays in ~/.config/agent-foundry/executions.db.
1. user → run_loop : /af "kill generic AI slop" 2. run_loop → planner : rank_skills(prompt, index) 3. planner → run_loop : top match (e.g. anti-slop, 0.24) 4. run_loop → run_loop : budget guard 5. run_loop → executor : build_messages(prompt, body) 6. executor → LiteLLM : POST /v1/messages 7. LiteLLM → executor : response text 8. executor → run_loop : response + cost 9. (judge=true) run_loop → af-critic : score → {corr, slop, scope, verdict} 10. run_loop → SQLite : log_execution(...) 11. run_loop → user : LoopResponse {output, plan, judge_score?} Catalog 35 skills, 3 agents. All original work under MIT. Each skill:
Every command also has an HTTP endpoint on the daemon (/plan, /execute, /loop, /loop/resume, /loop/{id}, /index, /health) for programmatic use.
AF_PROFILE=minimal ./install.sh # Skills only (no daemon) AF_PROFILE=core ./install.sh # Skills + daemon (default) AF_PROFILE=full ./install.sh # Skills + daemon + hooks Run from source (any OS):
git clone https://github.com/youcisla/Agent-Foundry.git ~/.agent-foundry cd ~/.agent-foundry && pip install -e . See INSTALL.md for the full matrix of harnesses, profiles, and platforms.
Every commit runs three gates. All green right now.
# 34 assets pass static quality checks (trigger phrase, body size, anti-patterns) python scripts/foundry-eval.py # All skills have correct frontmatter (name, description, version, author) ./scripts/validate.sh # No external-reference names in tracked files (provenance gate) bash scripts/nox.sh Current:
The nox.sh gate is the strongest guarantee: it scans every tracked file for project-handle names so that the catalog stays original work.
Browse the catalog, the knowledge graph, and the audit at youcisla-agents.vercel.app:
The site regenerates from live repo state on every commit via scripts/gen-site-data.py → Vercel build → deploy.
See docs/launch-plan.md for the full design spec.
MIT. All skills, agents, and authored artifacts are original work by the Agent Foundry Contributors. See AUTHORSHIP.md for the attribution policy.
Built by Youcisla · Contribute · Report an issue
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.




