TinyPilot
An agent protocol that makes a small model choose how to respond: answer, use a tool, ask, abstain, or recover.
- Model
- Qwen3.5-2B
- Protocol
- TPAL, a JSON action protocol
- Dataset
- 100,000 synthetic examples: 90,000 train, 5,000 validation, 5,000 test
The idea
Most agents treat every request as a command to run. TinyPilot makes the choice explicit. Using TPAL, a JSON action protocol, the agent picks a path: answer directly, use a tool, ask a clarifying question, say it isn't confident, abstain, or recover after a tool fails.
- Request
- Choose an action
- Tool or answer
- Verify
How it works
The Python runtime has a command-line and a Gradio interface, tool definitions, an evidence ledger, a verifier, state handling, and confidence signals. A request missing a needed detail, like a location, should lead to a question. A tool error should lead to recovery or an honest failure.
The dataset
I generated 100,000 synthetic examples for choosing a route, covering direct answers, tool use, tool-then-answer, clarification, low confidence, abstention, and repair after a failed tool. Every record passed the package's structural checks.
It is synthetic and not yet human-reviewed, so it can repeat templates. Next I want people to label a smaller sample and test the model on requests that don't share the training templates.