# Agent Forge

> Compile declarative YAML manifests into governed, containerized multi-agent architectures with HITL approval workflows.

Agent Forge is a free AI agent skill on Agensi by Youssef Fellah, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Youssef Fellah](https://www.agensi.io/creators/ind4x)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Version: 1.0
- Last updated: 2026-11-28
- Security: scan passed (2026-11-28); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/agent-forge
- Tags: ai-agents, python, langgraph, fastapi, docker, governance

## About this skill

Designing enterprise multi-agent systems often leads to fragile, hard-coded logic and zero governance. This skill provides a declarative framework to scaffold and compile deterministic architectures with built-in safety controls.

### What it does
- **Scaffold manifests** generates the directory structure for YAML and Markdown based operational specifications.
- **Enforce governance** applies Four-Eyes Segregation of Duties and role-based access across agent workflows.
- **Safety tiering** categorizes tool packs into read-only, mutating-safe, or critical-hitl tiers to prevent unauthorized actions.
- **Validate integrity** runs Pydantic schema checks and role cross-reference audits before deployment.
- **Compile deployments** transforms manifests into a containerized stack including FastAPI DMZ, LangGraph subgraphs, and HITL gateways.

### How it works
1. **Initialize** the manifest directory using the `init` command to create the base organization files.
2. **Define** the organization matrix, data sources, and workflows within YAML and Markdown artifacts.
3. **Verify** the architecture by running the `validate` command to catch logic or schema errors.
4. **Build** the final artifacts into a turnkey Docker environment with a generated dashboard and README.

### Frameworks & tools
Built for Python 3.14+ environments using `uv` or `pip`. It leverages LangGraph for finite-state workflows, FastAPI for ingress, and Docker for containerized deployment.

### Why this beats prompting it yourself
Manual prompts struggle to maintain strict state machine transitions and security boundaries across multiple agents. This skill replaces vague instructions with a compiled, deterministic engine that guarantees Four-Eyes approval gates are never bypassed.

### Use cases
- Build a legal review agent team with mandatory multi-human approval gates.
- Deploy an autonomous DevOps swarm with restricted read-only cloud access.
- Create an executive dashboard for monitoring agentic workflow state transitions.

### Known limitations
Requires Python 3.14+ for execution. Only supports built-in tool packs (dev, ops, artisan, legal) unless custom extensions are integrated via the compiler templates.

## Requires

- Python
- Git

## Known limitations

Requires Python 3.14+ and uv or pip. Deployment artifacts require Docker for containerization. Limited to built-in tool packs: dev, ops, artisan, and legal.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Agent Forge skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does Agent Forge differ from just prompting an LLM to manage multiple agents?

Agent Forge replaces fragile, hard-coded logic with a declarative YAML framework that enforces "Four-Eyes" governance and safety tiering, ensuring agents can't perform critical actions without verified human approval.

### What exactly is included in the Agent Forge skill package?

The package includes the core CLI compiler, base YAML manifest templates for organization and workflow definition, and a pre-configured Docker environment with a FastAPI gateway and LangGraph state management.

### Can I use this skill with any AI model or am I locked into a specific provider?

Yes, it is designed for Python 3.14+ environments and leverages LangGraph for workflows, making it compatible with any LLM provider (OpenAI, Anthropic, or local models) supported by those frameworks.

### How does the Safety Tiering feature prevent unauthorized agent actions?

Safety tiering allows you to categorize tools into 'Read-only', 'Mutating-safe', or 'Critical-HITL' (Human-in-the-loop) levels, programmatically preventing agents from executing high-risk tasks without a specific security clearance or manual gate.

### Is it possible to add custom tools beyond the built-in packs?

While Agent Forge comes with specialized tool packs for Dev, Ops, Legal, and Artisan roles, you can integrate your own capabilities by extending the compiler templates during the definition phase.

### How are updates handled if the underlying frameworks like LangGraph or FastAPI change?

Updates are delivered via the marketplace as new versions of the compiler and templates; simply update your local environment and run the 'validate' command to ensure your existing manifests remain compatible with new governance features.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
