Skip to content

resource

Your Python AI Agent Learner Workspace

Save the shop tools and agent loop you construct, run the selected checks and compare with supplied implementations. Keep the ownership of each component explicit.

Chapter 2 explains how to save tool schemas, handlers and dispatch in profrod_sovereign_agent_ch02_pydantic_shop_tools_learner.py. Chapter 3 adds the owned model/tool loop and adapter in profrod_sovereign_agent_ch03_agent_loop_learner.py. The included files are completed comparison implementations; work in your own checkout and retain your attempts before replacing them with a comparison.

The Chapter 3 checkpoint loads these files, so changing their essential behavior changes the executable result. The live adapter still uses supplied bounded HTTP transport. Later reference checkpoints import other supplied runtime components. See code ownership and the construction roadmap before treating these two files as a finished nineteen-chapter agent.

Keep building with Prof Rod

Found this material through a colleague, classroom or shared download? Get the complete book at profrod.ai/book and join the Prof Rod learner community. Bring one result, one question or one failure you learned from. Share this resource with another learner and keep its source links with it so they can find the full course and future updates.

SOURCE PROVENANCE

Derived from github.com/profrodai/sovereign-agent/blob/5b825f3a58461bce8aba1173acf0b6d175c44b64/book/textbook/learner/profrod-sovereign-agent-textbook-learner-guide.md