Learn K9-AIF, one building block at a time
Each module explains one part of the framework: what it is, the video, its features and how to extend it. Then the labs put it together, from a generated scaffold to your own changes. The exam tests exactly this.
Lessons open one module at a time, each checked against the framework source; the other cards show what they will cover.
Part 1 · The framework
How an application built on K9-AIF is structured.
Basics refresher
- Object-oriented analysis and design, in plain words
- Classes, inheritance and abstract base classes
- One function that works with many classes
- Factories: picking the class from config
Building blocks: TOGAF in one page
- What a building block is, told with a cup of coffee
- The foundation, the plan and the building code
- ABB and SBB: the recipe and your cup
- How K9-AIF uses the same words
Events and Kafka in one page
- Events, topics, producers and consumers
- Consumer groups: who gets which event
- How K9-AIF uses Kafka, and who may publish
- The messaging configuration
ABB and SBB
- Architecture building blocks: the framework's contracts (
BaseAgent,BaseOrchestrator…) - Solution building blocks: your implementations of them
- Why new capability extends a contract and never edits it
- Factories: how components are built and wired from config
Router
- Routes incoming events to the right orchestrator by event type
- Owns the domain topics: one of only two components that touch Kafka
- The ingress gate: screening and identity at the front door
- Extending
BaseRouterfor your domain
Orchestrator
- Owns a domain and controls how its squads run
- Knows only squads, never individual agents
- Zero Trust and Shield checks on what comes in
- Publishing results; extending
BaseOrchestrator
Squad
- A team of agents defined in YAML
- How context is enriched as it passes from agent to agent
- Synthesis: when a squad combines its agents' results
- Config files: squads YAML and how it is loaded
Agent
- Agent types:
BaseAgent, validation loop, critic-actor, planning loop, intent, retrieval, rules, MCP, context synthesizer - Agent YAML and config
- Every model call through
llm_invoke() - Governance by construction: why an agent can't skip its checks
Governance and security
- k9x Shield: the checks on every input and output
- Zero Trust: signed identity instead of claimed roles
- Human-in-the-loop: when an agent stops for a person
- The secure lifecycle, from design to watch
Tools (MCP)
- What a tool is, and MCP in one paragraph
- The K9-AIF MCP classes
- Connecting an agent to an external MCP server
- Serving your own tools, and governing every call and result
Introduction to K9X Studio
- From a design to a runnable, governed application
- Open a template, generate the scaffold, run it as it is
- Tweak it, then inspect it and learn the code
- What is in a scaffold, including CLAUDE.md and SKILLS.md
Part 2 · Labs
Hands-on, step by step, on your own machine.
Run your first K9-AIF application
- Open the Customer Service AI template in K9X Studio
- Generate the scaffold
- Set it up with
./setup.sh, run it with./run.sh - Read what each layer did
Change it, check it, understand it
- Find every layer in the project
- Change an event, an agent and a squad, with no Python
- Break the layering on purpose and catch it with
k9aif inspect
Advanced
- Your own building block (ABB contract + SBB)
- A human-in-the-loop round trip
- Live context with streams and k9x Origin
Developer Advanced · The K9X tools
Coming with the Developer Advanced level; not part of the Foundation exam.
K9X Studio in depth
- From a process spec (BPMN, process specification, evaluation plan) to a governed architecture
- The traceability matrix and the visual canvas
- Generating a runnable scaffold
K9X Inspector
- The conformance rules every solution follows
k9aif inspecton your code, and on every push- Reading a finding and applying its fix
K9X SATAN and Sentinel
- Attacking your own application with target profiles
- Reading the report: blocked, finding, inconclusive
- How new attacks become new controls
Enterprise Repository and Continuum
- The record of what the enterprise has, from day one
- The curated catalog of reusable building blocks
- Harvesting, and the AI Center of Excellence
Welcome back, learner
Pick up where you left off. Your progress, quiz results and certificates are on My learning.
Continue learning →Register to start the courses
Register once, then log in any time to continue where you left off, take the module quizzes and, at the end, the Foundation exam: 50 questions, 35 to pass, unlimited attempts.
Register to start →