Skip to content

The featherweight book

docs for

Build something with featherweight, step by step. A short chapter at a time, you grow one small project, an incident report assistant, from a single typed agent to a chat and a pipeline on workers. Read it in order, or jump in through the map.

New to featherweight? Start with what it is. Writing a chapter? See the style.

Contents

Part 0: Start here

  1. What featherweight is
  2. The map
  3. The philosophy
  4. How to read this book

Part 1: Your first agent

  1. Install and set up
  2. A typed agent
  3. Running it
  4. What happened
  5. Failures and check_output
  6. Choosing a model

Part 2: Abilities

  1. Tools
  2. MCP
  3. Skills
  4. Sub-agents

Part 3: Jobs and pipelines

  1. What a job is
  2. Status and events
  3. Results and the result store
  4. Resume

Part 4: Chat

  1. A streaming agent
  2. In the browser
  3. Stopping and the conversation
  4. Attaching a file

Part 5: In production

  1. Submit and a worker
  2. Several workers
  3. Background jobs
  4. Observability
  5. Who is asking
  6. Approvals

Part 6: Bring your own storage

  1. Postgres
  2. A result store
  3. A job queue
  4. A database
  5. An observer

Part 7: Reference

  1. The guides
  2. The specs
  3. The glossary
  4. The finished project

Beside the book


Start: What featherweight is →