Back to Workshops
Workshop Free with sign-in

Build a Coding Agent with Tools, Skills and PydanticAI

April 21, 2026
ai-agents llm-engineering agent-systems tooling-architecture

We build a coding agent from scratch, starting with tool calls and an agentic loop. We add a skills system that loads reusable instruction files on demand, and the final version runs on PydanticAI.

The agent can read and write files, run shell commands, and search the codebase. It loads specialized skills too, all inside a structured Django project template.

We combine and update two earlier sessions here: Building a Coding Agent and Skills.md from Scratch.

What we cover:

  • Tool calls with the OpenAI Responses API: from no tools to a full agent loop
  • Building a coding agent with five core tools (read, write, tree, bash, search)
  • Skills: reusable instruction files loaded by the agent on demand
  • Porting the same agent to PydanticAI

This workshop was originally delivered at MLCon 2026 Amsterdam. There is no video recording available.

The agent you will build

The architecture of the final agent:

flowchart LR USER["User"] RUNNER["Runner ToyAIKit / OpenAI Responses"] LLM["LLM gpt-5.4-mini"] TOOLS["Tools read_file, write_file see_file_tree execute_bash_command search_in_files"] SKILL["SkillTool"] LOADER["SkillLoader"] SKILLS["SKILL.md files"] USER -->|prompt| RUNNER RUNNER -->|model call| LLM LLM -->|tool call or response| RUNNER RUNNER -->|execute tool| TOOLS RUNNER -->|load skill| SKILL SKILL --> LOADER LOADER -->|read| SKILLS RUNNER -->|answer| USER

The agent runs inside a Django project template. It has five core tools for interacting with the filesystem and shell. A skills tool loads extra instructions from SKILL.md files when the agent decides they're relevant.

We build it in four parts:

  • Understand tool calls with the OpenAI Responses API.
  • Build the coding agent with five core tools.
  • Add the skills system.
  • Port the same agent to PydanticAI.

Links

These workshops and resources are related:

Sign in to access this workshop

This workshop is free — you just need an account. Sign in or create one in seconds.

Sign In
Already have an account? Sign in
or sign up with

By creating an account, you agree to our Terms of Service and Privacy Policy.

By signing up free, you'll receive community updates. You can unsubscribe at any time.