A-02 Database Agent: a many-armed mech climbing a wall of server racks, pulling out one glowing cartridge, drawn in ink
Agents class, tool-arm mech

A-02Database Agent

Answers questions by driving a live database through MCP tools.

81.5%right answers on 184 held-out questions, up from 48.4%

Briefing

Questions about a music store, answered only through three read tools on a live SQLite server. A fifth of the albums, artists and customers in the test never appeared in training.

The base model wandered, calling more and more tools until it ran out of turns. Thirty steps of reinforcement learning took it from 48.4% to 81.5%, and taught it to commit to an answer.

Debrief
base
48.4%
step 10
69%
step 20
78.8%
step 30
81.5%
step 40
77.7%
Right answers, 184 held-out questions, greedy decoding, one run

Mission log

The job

Answer a question by looking it up in a music store's database.

What it was given
How long is the album 'Big Ones' in whole minutes, rounded down?
Before training
8 database calls.
Out of turns. No answer.

Wrong. Keeps searching and never answers.

After training: A-02 Database Agent
4 database calls.
"The album 'Big Ones' is 73 minutes long."

Right. The right answer in half the calls.

A real question the model never saw in training. Same prompt for both, one run each.

In the field

Where it fits
Ask your own database in plain wordsPoint it at an MCP server over your data (SQLite, Postgres, an internal API) and retrain on your questions.
Analytics that shows its workEvery answer comes from tool calls you can log and replay, not from memory.
A template for agent trainingA clean way to see reinforcement learning teach a small model to stop exploring and commit.
Scars

Score the skill, not the format. The first reward paid only for answer tags and scored the base model at 0% while it was finding most answers. The honest baseline is 48.4%.

A constant learning rate of 1e-4 made it call more and more tools until it ran out of turns. Half the rate with cosine decay held.

Checked outside the training run: 52.7% to 89.1%, 67 answers fixed, none broken.

Spec plate

Serial
A-02, tool-arm mech
Repo
superbird-labs/a-02-database-agent
Frame
DA-24 · Qwen3.5-2B
Task
Questions about a music store, answered through a real MCP server (SQLite, read-only)
Held-out
184 questions; 20% of albums, artists and customers never seen
Training
30 GRPO steps · one L40S · 55 min
Reward
1 for the right answer in any phrasing; a list of guesses scores 0
Also on
cetusian/octorig-2b
Next in the fleetA-03 SolverCommission a unit for your job