Skip to content

yagop/coding-agents-tutorial

Repository files navigation

coding-agents-tutorial

A 10-chapter, hands-on tutorial on building your own coding agent with the Anthropic SDK (TypeScript + Bun).

Published with VitePress at https://yagop.github.io/coding-agents-tutorial/. Each chapter is self-contained and ships standalone, runnable examples under examples/NN-slug/. Run any example directly with bun run. See OUTLINE.md for the full chapter plan.

Chapters

  1. The Claude SDK and Your First API Request
  2. Streaming Responses and Message Types
  3. Handling User Requests: REPL and Telegram Bot
  4. Context and Conversation Management
  5. Implementing Tools and Function Calling
  6. Building Tool Chains and Complex Workflows
  7. Advanced Agent Patterns

More chapters are tracked as issues and land here as they are written.

Getting started

bun install
echo 'ANTHROPIC_API_KEY=sk-ant-...' > .env
bun run examples/01-sdk-first-request/hello.ts

Releases

No releases published

Packages

 
 
 

Contributors