Build GeekAgent from Scratch in 7 Days
Book
Build GeekAgent from Scratch in 7 Days
Build the simplest possible Agent/Harness from scratch in TypeScript over 7 days, staying minimally viable and additive-only. The road runs from a REPL chat foundation through tool calling, file read/write, history compression, multi-session persistence, permissions and rollback, knowledge retrieval, and on to MCP and plugin extensions.
Contents
16 chapters- Foundations - Tools and Sessions
- Build GeekAgent from Scratch — Day 1 REPL Foundation
- Build GeekAgent from Scratch — Day 2 Tool Calling Loop
- Build GeekAgent from Scratch — Day 3 Bash Tool
- Build GeekAgent from Scratch — Day 4 File Tools and Registry
- Build GeekAgent from Scratch — Day 5 History Compaction
- Build GeekAgent from Scratch — Day 6 Multiple Sessions and Persistence
- Build GeekAgent from Scratch — Day 7 Lightweight TUI and Usage Panel
- Intermediate - Safety and Memory
- Build GeekAgent from Scratch — Day 8 Permissions and Rollback
- Build GeekAgent from Scratch — Day 9 Task Planning and Subagents
- Build GeekAgent from Scratch — Day 10 Project Instructions and Long-term Memory
- Build GeekAgent from Scratch — Day 11 Skills
- Build GeekAgent from Scratch — Day 12 Code Search and Web Fetching
- Build GeekAgent from Scratch — Day 13 Proactive Memory
- Build GeekAgent from Scratch — Day 14 Lightweight RAG Knowledge Base
- Extensions - Tool Connectivity