ai-platform/roadmap
All pages

Start here

  1. How to use this roadmap
  2. Two kinds of role
  3. Read code, write it rarely
  4. Target profile
  5. Eight principles
  6. Work on a real product

Phases

  1. 01Direct coding agents and read their code
  2. 02Learn how models behave and what they cost
  3. 03Build retrieval that finds the right evidence
  4. 04Build tool servers with MCP
  5. 05Design agent workflows that survive failure
  6. 06Run agent workloads on AWS
  7. 07Trace every step an agent takes
  8. 08Build evals that catch regressions
  9. 09Run agents reliably in production
  10. 10Secure agents and the code they write
  11. 11Build an internal AI platform
  12. 12Get teams to adopt the platform
  13. 13Build Forge, the capstone platform
  14. Elective: Kubernetes

After the phases

  1. Staff skills
  2. 12-month plan
  3. A typical week
  4. Show your work
  5. Tools to know
  6. What to skip
  7. Final checklist

Phase 3 · Months 2 to 4

Build retrieval that finds the right evidence

Treat retrieval as a system

Retrieval-augmented generation (RAG) is more than a vector database. A production retrieval system handles ingestion, parsing, chunking, metadata, indexing, ranking, authorisation, freshness, deduplication, and evaluation. Ask whether the system retrieved the evidence that a correct answer needs. The fact that the model produced an answer tells you little.

Learn the retrieval basics

Learn embeddings, similarity search, hierarchical navigable small world (HNSW) indexes, keyword search with the BM25 ranking function, hybrid search, metadata filters, query rewriting, reranking, and chunking. Start with Postgres, pgvector, and Postgres full-text search, because you can follow the whole architecture in one place. Move to a dedicated search engine only when your data needs one.

Learn when agents should search with tools

Agents also find context by taking actions. Coding agents mostly search with grep, file reads, and tool calls instead of embeddings, and they often do better that way. Learn when tool-based search beats a vector index. Also learn the other ways to manage context: compacting long sessions, giving subagents their own isolated context, persistent memory files, and short tool outputs. Some platform job postings call this work a "context engine".

Keep the index fresh and permission-aware

Make ingestion idempotent. Give every source a stable ID, a content hash, a version, and access-control metadata. Re-index only what changed, and remove deleted documents. Apply access control during retrieval, not after it. If Alice cannot read a document, the document must never reach her candidate context. Learn tenant isolation, row-level security, and how to pass a user's identity through the system.

Build two retrieval systems

On your product, build a labelled set of real queries with the documents each query should retrieve. Measure recall at k, and separate retrieval failures from generation failures. For Forge, index a repository with its docs, decision records, issues, and pull requests. Answer questions such as "Why does service X use this database?" with citations. Compare vector search, hybrid search, and tool-based search on the same questions.

You are done when

When an answer is wrong, you can tell whether retrieval or generation caused it. You can show retrieval metrics, explain your chunking choices, prove that permission filtering works, and update the index without a full rebuild. You can argue when an agent should search with tools instead of a vector index.

Exit checklist

0 of 6 done