Examples
Three live applications you can try today, and focused examples that each teach one idea: routing, governance, Zero Trust, retrieval, or wrapping an application you already built with the OpenAI Agents SDK, LangGraph or CrewAI.
| Example | What it shows | Agent framework | Links |
|---|---|---|---|
| Live applicationsComplete applications on K9-AIF, running in public. Try them, then read the code. | |||
| K9Chat | A governed chat assistant on your own models: grounded answers, per-visitor document projects, every message through a rate limit, K9X Shield, Guardian and the router; streaming and an Ask API. | Native | Try it Code |
| OpenAI Agents SDK demos | One use case per page: a weather agent with every tool call checked; a squad running OpenAI agents in a set order; accounts payable where large or changed-bank payments pause for a person in K9X HIL and resume; bad invoices stopped before the model reads them. Runs on local models, no OpenAI key needed. | OpenAI Agents SDK | Try it Code Blog post |
| DAS: Defense Acquisition System | The flagship. Agents prepare the defense acquisition package and a person decides at every gate: a versioned process model citing its policy sources, every section screened, scores computed in code with an independent grader, and undecided gates failing closed. | Native | Try it Code In depth, 7 min Tour, 4 min |
| Focused examplesSmaller applications in the framework repository. Each one teaches one idea you can reuse. | |||
| Weather Assist | The same small app built twice, as plain CrewAI and wrapped by K9-AIF: the crew stays unchanged and gains governance, routing and observability at its boundary. | CrewAI | Code |
| Weather Assist (LangGraph) | The same app and governance with a LangGraph graph inside: the same adapter pattern for a different framework. | LangGraph | Code |
| Zero Trust Execution | Every agent action evaluated before it runs: identity, data sensitivity, destination and context risk, with allow, conditional or deny decisions set by policy, not code. | Native | Code |
| ACME Support Center | One architecture, several reasoning strategies (ReAct, agentic RAG, plan and execute, reflection), switched by configuration. | Native | Code |
| ACME Health Insurance | Cooperating agents for plan lookup, provider search, eligibility and claims: several agents, connectors and configuration-driven workflows in one domain. | Native | Code |
| RFP Analyzer | A large RFP through the built-in retrieval pipeline: a document squad chunks, embeds into a vector store and answers by retrieval, all governed. | Native | Code |
| Reference | |||
| Enterprise Insurance Operations Center | An earlier end-to-end reference: events on Kafka, domain orchestrators, squads for PII inspection, fraud, adjudication and compliance, Zero Trust, a custom model router and a review queue. DAS is the current flagship. | Native | Code |
| Small code samples | |||
| k9routing | Intent routing: an intent orchestrator and intent agents driven by configuration. | Native | Code |
| myapp | The smallest shape of an agent: a class, its YAML and a test. | Native | Code |
| prompt_evaluation | Evaluating prompts with a configuration and a test. | Native | Code |
No example matches. Try a framework name, or ask in the forum.
Where to start
- Weather Assist: the smallest app, and how K9-AIF wraps a framework you already use.
- Zero Trust Execution: every agent action governed before it runs.
- ACME Support Center: one architecture, several reasoning strategies.
- RFP Analyzer: retrieval over a large document.
- DAS: a complete application with a process model, screening, grading and human gates.
How to run them
Each example's README has its own setup. From the root of the k9-aif-framework repository:
./run_acme_support_center.sh
DAS and K9Chat live in their own repositories: k9aif/dow-k9x (with k9aif/k9x-hil for the gates) and k9aif/examples.
The examples are practical demonstrations, not finished products: they show how K9-AIF structures governed, modular AI applications you can extend for your own needs.
K9X