Course 5 of 6

Context Architecture

For software engineers building retrieval over company documents, where every person may see something different.

Enroll
€197one-time · lifetime accessor the six courses for €797
20 lessons · 1 h 37 min of video · 3 months in the Engine Room
Lesson 4.1 · The model never sees a passage the person asking can't open.
Lesson 1.3 · In Anthropic's 2024 test, a basic search missed the right passage about three times as often as a careful one.
The problem

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.

The platform

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.

What you build

20 lessons.
6 things you keep.

01

A context audit

What the company knows, where it lives and who may see it, and the evidence for choosing long context or retrieval.

02

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.

03

Agentic search

A read-only text mirror the agent can grep, and an agent that chooses between its search tools.

04

Permission-aware knowledge

Results filtered before the prompt, with OpenFGA and row-level security as separate walls.

05

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.

06

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.

Charafeddine Mouzouni
Your instructor

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.

Worked withPwCLinkedIn LearningOPITAugment
Included · 3 months in the Engine Room

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.

01

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.

02

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.

03

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.

From the Helpdesk · June 2026
How do I prevent my AI from being sycophantic?
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.
Guests in the room
13 Jan 2027
Daniel Hulme · Global Chief AI Officer, WPP
Agents don't break, they misbehave.
9 Dec 2026
Aziz Aghayev · Flowlyst, trained 2,000+ leaders on AI
Most people never get past the first prompt.
2 Dec 2026
Thomas Scialom · Director, Research Scientist, Meta Superintelligence Labs
How AI agents learn to act.
25 Nov 2026
Djamel Mostefa · Led AI and data at Orange Bank and ADEO
The AI projects that actually paid off.
18 Nov 2026
Sophie Fischer · Founder, Webwinkelfacturen
Build it with AI, run it without AI.
25 Jun 2026
Stéphane Ngo · CEO and co-founder, K-AI
Why your company's AI keeps giving wrong answers.

After the three months, staying is optional: €29 a month or €249 a year. How the Engine Room works

Who it's for

Built for engineers who ship.

This is for you if:

→You're building retrieval over documents with different access rights
→You want to measure retrieval instead of eyeballing it
→You're choosing between long context, vector search and grep, and want the evidence

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.

Pricing

Pay once. Keep it for life.

€197
All future updates included.
  • 20 lessons, 5 films and 12 step-by-step screencasts
  • The course code as git bundles, labs with tests and a capstone
3 months in the Engine Room. What's inside
Enroll · €197
Company paying? Email [email protected] for a quote and an invoice.
The Engineering Series

All six courses, one platform from the model gateway to the deployed console. €797 instead of €1,182.

See the series
FAQ

Before you decide.

Anything else? Email [email protected].

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