Handbook · English

AI Agent Engineer Handbook

From prompt and context to agent and harness: four engineering layers, plus real job descriptions and an interview bank.

Chinese is the default edition of this site. This page is the English portal. Long chapters, the job-description notes, and all 92 interview answers have English siblings beside the Chinese files.

Content updated 2026-05-31 · MIT · GitHub

Start with prompt engineering Interview questions A–K Knowledge map 中文

Prompt→Context→Agent→Harness

This page is the site portal. Use it to enter the four chapters, the interview bank, and the translations. The knowledge map is a separate review picture of the same material. It does not replace this portal.

Four engineering layers

One long essay per layer, with a table of contents and a chapter switcher. The historical merged draft is overview. The current text is the four chapters below.

01 · PROMPT

Prompt engineering

How to make one call reliable: training stack, decoding, CoT, ReAct, evaluation.

02 · CONTEXT

Context engineering

What the model should see this turn: RAG, long context, memory, MCP.

03 · AGENT

Agent engineering

How a multi-step task actually finishes: patterns, frameworks, failures, permissions.

04 · HARNESS

Harness engineering

Strong constraints and a self-healing loop, plus four pillars and a maturity model.

Hiring and review

JOB DESCRIPTIONS

China, US, and EU roles

Excerpts from real postings, the requirements that repeat, and the limits of the evidence. Chinese quotations stay in Chinese.

A–K · 92 QUESTIONS

Questions and answers

Each question has a difficulty and a source URL, from fundamentals and RAG through agents, evaluation, and safety.

MAP

Knowledge map

The four layers, the question bank, the translations, and the glossary on one review map. It does not replace this portal.

V1 ARCHIVE

Survey (historical)

The merged edition from before the four chapters were split. Kept for comparison. It is not the current text.

Classic essays

The notes in this repo are unofficial Chinese translations. The English original is the authority. These cards open the Chinese study note, which links to the original.

ANTHROPIC · 中文译稿

Building Effective Agents

Chinese study note. Original: anthropic.com/engineering/building-effective-agents

ANTHROPIC · 中文译稿

Multi-agent research system

How we built our multi-agent research system

ANTHROPIC · 中文译稿

Harnesses for long-running agents

Effective harnesses for long-running agents

OPENAI · 中文译稿

Harness engineering

Harness engineering: leveraging Codex in an agent-first world