Skip to content
Back to skills

Build An Agent

ASecurity

This tutorial walks through building an agent in iii in three pieces: the functions the agent calls as tools, the loop that drives its think-act-observe cycle, and the memory it carries between turns. By the end you'll have a working agent worker you can extend with your own tools.

  • 18,978 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 3, 2026
development

Security analysis

A100/100

Pro scans all 9 files and shows the line behind each finding

Scanned September 3, 2026

npx -y skills add iii-hq/iii --skill build-an-agent --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Build An Agent?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Build An Agent
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/iii-hq-build-an-agent-73a9baa7/badge)](https://www.skillsdirectory.com/skills/iii-hq-build-an-agent-73a9baa7)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
<!-- generated by iii-skill-render. DO NOT EDIT (changes here are overwritten on the next render). Edit docs/0-17-0/tutorials/build-an-agent/overview.mdx. -->

# Overview


This tutorial walks through building an agent in iii in three pieces: the functions the agent calls
as tools, the loop that drives its think-act-observe cycle, and the memory it carries between turns.
By the end you'll have a working agent worker you can extend with your own tools.

## Define tools

Register the functions the agent can call as tools.

## Orchestration loop

Drive the agent's think-act-observe cycle until the task is done.

## Memory and state

Persist conversation history and intermediate state between agent turns.

Files in this skill

  • define-tools.mdx91 B
  • define-tools.mdx.skill.md179 B
  • memory-and-state.mdx95 B
  • memory-and-state.mdx.skill.md187 B
  • orchestration-loop.mdx97 B
  • orchestration-loop.mdx.skill.md191 B
  • overview.mdx690 B
  • overview.mdx.skill.md711 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.