Welcome to BxAgents
What you will build, how to follow along with no account and no key, and how each lesson is organized.
On this page
Welcome to BxAgents
This is a hands-on course on BxAgents, a conventions-based AI agent framework for
BoxLang, built on ColdBox and BX AI.
The idea is simple: you describe an agent with files and folders, not a framework's API, and one command,
bxAgents build, assembles a real, runnable ColdBox application out of it.
acme-support/
βββ Agent.yml # name, model, settings
βββ instructions.md # the system prompt
βββ tools/ # @AITool functions
βββ skills/ # SKILL.md capabilities
βββ subagents/ # nested agent trees
βββ gateways/ # HTTP, MCP, web app, chat platforms
βββ schedules/ # BoxLang schedulers
βββ mcp/ # MCP servers you host
βββ interceptors/ # lifecycle hooks
βββ extensions/ # chat commands, keys and more
βββ modules/ # module dependencies
Every folder is optional except Agent.yml. Add the ones your agent needs and leave the rest empty.
What you will build
You build one agent, from the first lesson to the last: Acme support, an assistant that answers questions about orders, returns and shipping. By the end it has:
- a persona, a tool that looks up an order, a skill with the refund policy, and two models to switch between
- a researcher and a writer it can delegate to
- a web app, a terminal chat and an HTTP API in front of it
- a routine that runs on its own and saves a report, and approvals where a person has to say yes
- notes it keeps about people, accounts and tokens for who is allowed, and a vault for a secret
- a test suite that runs with no key, a backup, and a packaged
.bxaready to deploy
You need no account and no key
The agent talks to a scripted model: a small server on your machine that speaks the same protocol as a real model but only says what the course told it to. A Model That Needs No Key sets it up in five minutes, and from then on every command in the course gives the output the lesson shows. When you do have a key, swapping it in is two lines, and the last lesson shows them. What you need:
- A terminal with a Unix shell (macOS, Linux, or WSL on Windows).
- About 20 minutes per lesson if you type along. There are 29 lessons, so plan a weekend rather than an evening, and stop wherever a lesson ends: each one leaves the project working.
- No BoxLang or ColdBox experience. Installing BxAgents installs everything.
How the lessons work
Each lesson explains one thing and then has you do it. The parts of a lesson:
- Try it holds what you type. A grey block titled
Terminal 2is a command, a block titled with a path such asacme-support/Agent.ymlis a file to create, and a block titledYou seeis what the command prints. A<anything>in it stands for the part that differs on your machine (a path, a time). - Checkpoint says what
acme-support/holds now. If your project gets out of step,kit/resume.sh <lesson>puts it back to the state after that lesson, and you rebuild. - A link to the reference page for the deep dive. The course is the guided path; Conventions is the exhaustive reference you will come back to.
You will use up to three terminals: Terminal 1 runs the scripted model and stays open, Terminal 2 is where you
work, and Terminal 3 runs bxAgents serve from the web app lesson on.
Every command and every output in the course is replayed against the scripted model by a checker in the repository
(tools/course/check-course.bxs), so the text cannot drift from what the software does. The few steps that need a
person and a screen (the terminal chat, clicking in the web app) are marked as manual and shown with screenshots.
The parts of the course
- Start: what BxAgents is, installing it, the scripted model and your first project.
- The agent: Agent.yml, the persona, building and talking to it.
- Teach it: tools, skills and models and profiles.
- The web app: the web app, approvals, memory and notes and subagents.
- On its own: routines and reports and schedulers.
- Reach people: HTTP and MCP, chat platforms and MCP servers and connectors.
- Run it for a team: who is allowed, the vault, each person's settings and logs, usage and backups.
- Extend and ship: interceptors and extensions, testing, packaging and deploying and the capstone.
Next: What Is BxAgents?