TheFocus.AI TheFocus.AI
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

Agent Integration

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.

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).

ChapterWhat You’ll Do
04 · ToolsAdd navigation, editing, and verification tools
05 · Cost & ContextTrack model pricing, usage, and context window
06 · SessionsJSONL logging and slash commands
07 · ResearchWeb search and URL-to-markdown tools

What You’ll Have After Part 2

  • Tools for reading, writing, and editing files with precision
  • A search_files tool 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.


Chapter 04 →