Part 2: Core — Tools, Cost, Sessions, Research
Part 2: Core — Tools, Cost, Sessions, Research
Chapters 04–07: Add code navigation tools, cost tracking, session logging, and web research capabilities.
TUTOR WITH THEFOCUS.AI
Copy this prompt into Claude, ChatGPT, or any external AI assistant. It points the assistant to the course instructions and links it to your student profile to track your progress and customize observations.
Please tutor me in this lesson using the following context.
First, read the instructions at: https://courses.thefocus.ai/llms.txt
My Student ID is: <none>
The lesson markdown source is at: https://courses.thefocus.ai/build-ai-coding-agent/02-core/04-tools.md
You are not enrolled yet. Enroll to generate a Student ID to track lesson completions and store learning notes.
Active Student ID ...
Part 2: Core
Now that you have a working agent, you’ll add the tools that make it genuinely useful for software development. You’ll also add cost tracking (so you don’t blow your budget) and session logging (so you can debug what happened).
| Chapter | What You’ll Do |
|---|---|
| 04 · Tools | Add navigation, editing, and verification tools |
| 05 · Cost & Context | Track model pricing, usage, and context window |
| 06 · Sessions | JSONL logging and slash commands |
| 07 · Research | Web search and URL-to-markdown tools |
What You’ll Have After Part 2
- Tools for reading, writing, and editing files with precision
- A
search_filestool powered by ripgrep - Cost tracking per turn and per session
- JSONL session logs in
.session_logs/ - Web search via Tavily API
- URL downloading converted to markdown
Your agent is now a complete coding assistant.