PythonAdvancedApplied AI EngineerForward Deployed EngineerApplied AI Architect
Halden procurement agent: an enterprise agent pilot
The C12 pilot end to end on real libraries: a headless ERP (FastAPI + SQLite) that owns authorization, idempotency and receipts; cited RAG and an LLM wiki with lint; an MCP server with per-tool scopes; a LangGraph state graph with typed routing, confidence-based escalation and an interrupt for version-bound human approval; Langfuse tracing; evals with a regression gate; a Temporal workflow with receipt-checked retries; a FastAPI front door and Docker.
Locked
The code is part of the full course
The file map and notes are open to everyone. Get lifetime access to every template's source, the .zip download and all four tracks for a one-time $249.
Run it
shell
python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
pytest -q && python demo.py # offline: recorded fixtures, in-process ERP
cp .env.example .env # add ANTHROPIC_API_KEY to run any request
uvicorn erp.service:app --port 8001 & uvicorn mcp_server.server:app --port 8002 & uvicorn api.main:app --port 8000
python demo.py --live # or: docker compose up --buildTest it
shell
pytest -qOffline: no API key or network needed.
Taught in
- C12 Chatbot, Workflow or Agent? Choosing the Shape of an Enterprise Pilot
- C12 Comparing GPT, Claude and Gemini on the Same Business Task
- C12 No-Code Agents with n8n, and When to Move to Code
- C12 Enterprise RAG with Citations, Access Boundaries and Live Data
- C12 The LLM Wiki Pattern: Index-Based Retrieval Without Embeddings
- C12 Tools, APIs and MCP Authorization: The Model Suggests, the Service Decides
- C12 Orchestration with State Graphs
- C12 Typed Routing and Decision Models
- C12 Headless ERP and Human Approvals
- C12 Evaluation and Observability with Langfuse
- C12 Durable Execution with Temporal
- C12 Deploying and Operating the Pilot
- C12 The End-to-End Solution Walkthrough
- C12 Write It: A Rollout Proposal for the Procurement Agent