K9-AIF and your agent framework
K9-AIF doesn't replace the agent framework you use. It adds the architecture and the governance around it, and it runs on its own when you need no other framework.
Two different questions
An agent framework answers: how do agents collaborate to complete a task?
K9-AIF answers: how do we design and operate agent systems that can scale, evolve, and remain governable over time?
The first is the execution layer. The second is the architecture around it. In most real systems K9-AIF defines the architecture, and an agent framework implements parts of it.
What each one handles
| Your agent framework | K9-AIF, around it |
|---|---|
| How an agent reasons and plans | One path for every request: Router, Orchestrator, Squad, Agent |
| Calling tools | A policy check before and after every agent step, and on tool calls and results |
| Handing work between agents | The K9 Model Router: only models cleared for the request |
| Prompts and memory | Human review through K9X HIL, a record of every decision, and k9aif inspect to keep the code matching the design |
How each framework runs under K9-AIF
| Framework | How it fits | Example |
|---|---|---|
| K9-AIF native | Nothing else needed. Router, Orchestrator, Squad and Agent, with governance, model routing and human review built in. The default. | Examples |
| OpenAI Agents SDK | Agents defined in YAML. Run each one as a step in a squad, in the order you set, or let the SDK hand off between them. Every tool call, result and model reply is checked, and the K9 Model Router picks each model. | OpenAI demos |
| Claude Agent SDK | An adapter wraps the SDK session. It can call only the tools you list, and every tool result is screened before Claude sees it. | |
| LangGraph | Your compiled graph runs unchanged, wrapped as an orchestrator. Governance runs at its boundary. | Weather Assist Lang |
| CrewAI | Your crew runs unchanged, wrapped as an orchestrator. Governance runs at its boundary. | Weather Assist |
Another framework? These four adapters ship with K9-AIF. For any other framework, build your own adapter: it extends the same base class (BaseAdapter), so it gets the same governance at its boundary.
Whichever you choose, the routing, the governance and the human review are the same. You can mix them in one application: one domain native, another on an existing crew.
Where frameworks shine, and where systems outgrow them
Agent frameworks are very good for rapid prototyping, experimenting, and building task-oriented workflows. They are essential to the ecosystem, and K9-AIF does not replace them.
As systems grow, other needs appear: governance across every agent, consistent observability, clear boundaries between components, and work that spans many teams. These are not flaws. They are simply outside the scope of most frameworks.
Already have an agentic application?
Keep it. OpenAI and Claude SDK agents move their prompts, tools and subagents into K9-AIF agent definitions and keep running on their SDK. A LangGraph graph or a CrewAI crew is wrapped as it is and runs as an orchestrator under K9-AIF. Either way, the application gains the same routing, checks and audit trail as a native one.
K9-AIF does not aim to replace how agents are built. It defines how agent systems should be structured.
Next: For your role
K9X