Context Architecture
For software engineers building retrieval over company documents, where every person may see something different.
Two people, the same question.Two different correct answers.
One may see the contract; the other may not. Retrieval that ignores rights leaks documents. Retrieval nobody measures fails quietly: it misses the right passage, and the model answers anyway.
This course builds the context layer: hybrid search measured against a baseline, agentic search, permission filters before the prompt, connectors, memory that records its source, and a leak test that must pass every time.
One piece of one platform.
The series builds the rest.
Course 5 builds the knowledge layer, on the same codebase as the other five. See the series.
20 lessons.
6 things you keep.
A context audit
What the company knows, where it lives and who may see it, and the evidence for choosing long context or retrieval.
Retrieval that holds
Documents parsed once (tables and PDF pages included), hybrid search and reranking in Postgres, and contextual retrieval, measured against a naive baseline.
Agentic search
A read-only text mirror the agent can grep, and an agent that chooses between its search tools.
Permission-aware knowledge
Results filtered before the prompt, with OpenFGA and row-level security as separate walls.
Connectors, freshness and memory
MCP (Model Context Protocol) connectors in sync and live modes, citations a reader can check, and memory that is scoped, reviewed and defended against poisoning.
The capstone
The Larkfield knowledge layer, which gives two people two different correct answers to the same question, with citations, and passes a leak test for every person.
Hi, I'm Charafeddine.
I led AI rollouts for 4,000+ employees and have shipped 60+ AI systems. I'm an AI scientist and a professor.
You won't practice alone.
The course opens three months in the Engine Room, Cohorte's community of people who put AI to work every day.
People doing the same work.
Operators, engineers, analysts and managers, from bootcamp alumni to course buyers. Ask how someone applied a lesson, compare notes, find who has already solved your problem.
Live, every other Monday.
An open Q&A on Zoom at 18:00 Paris time with Charafeddine, who teaches the course. Bring the design decision you're stuck on, or the eval that won't pass. Can't make it? Leave your question in the thread.
The Helpdesk.
Post a real question from your work. Charafeddine answers in writing, members add what worked for them, and every answer stays searchable for the next person.
You don't. The training rewarded it for agreeing with you. … Generate in one session, judge in a separate one, and ban “is this good?” as a prompt.
Charafeddine's answer, first lines.After the three months, staying is optional: €29 a month or €249 a year. How the Engine Room works
Built for engineers who ship.
This is for you if:
What you need:
No earlier course needed: the course gives you the platform it starts from. Working Python, Docker, git and basic SQL. No retrieval background is needed.
Pay once. Keep it for life.
- 20 lessons, 5 films and 12 step-by-step screencasts
- The course code as git bundles, labs with tests and a capstone
All six courses, one platform from the model gateway to the deployed console. €797 instead of €1,182.
- Do I need the earlier courses?
- No. The course starts from a tagged version of the platform and explains it, so it stands on its own.
- How are the videos made?
- Charafeddine films the on-camera lessons. The screencasts run the course's own code and are narrated by an AI version of his voice, from scripts he wrote.
- How long does it take?
- About 1 h 37 min of video. The fast track (videos and core reading) takes about 3 h 41 min. Hands-on work adds 10 to 11 hours at the keyboard, and the capstone 3 to 5 hours.
- Is the code open source?
- No. The course code comes as git bundles under the course license. You can use it in your own and your clients' projects; you can't resell or republish the course material.
- Can my company pay for this?
- Yes. Email [email protected] for a quote and an invoice. Bank transfer accepted. For a team, see Teams.
- What's the refund policy?
- The course is final once you open it. Unopened, it is refunded in full within 14 days of purchase. If you buy the six-course series instead, you can get a refund within 14 days, as long as you haven't completed the first module.
Two people, the same question.
Two different correct answers.
Context Architecture. Course 5 of the Engineering Series. €197.
Enroll