Give your AI agent access to OnTrack.
Check task status, read task sheets, download resources, follow up in task chats, and submit work. Works with OnTrack and Doubtfire, for students and teaching staff.
It is a CLI only for now. There is no MCP server, so web AI cannot connect to it directly.
🦄 Part of unicorn. Live tools answer what is there now; unicorn answers what changed.
Ask your agent (Claude Code, Codex, or anything with a terminal):
Read https://unicorn.tuuhub.com/docs/ontrack/agent-setup.md and set up ontrack for me.
Or by hand:
npm install -g ontrack
export ONTRACK_BASE_URL="https://ontrack.example.edu"
ontrack auth login
ontrack coursesSet ONTRACK_BASE_URL to your institution's OnTrack site.
Tick "Remember me" when you sign in. OnTrack only issues the renewal cookie then, and the CLI needs it to renew your session in the background.
Ask in plain language, or run the command yourself:
| Ask your agent | Command |
|---|---|
| “What are my units?” | ontrack courses |
| “Where am I with the tasks in UNIT?” | ontrack tasks UNIT |
| “Read me the task sheet for TASK.” | ontrack tasks read UNIT TASK |
| “Any new tutor feedback?” | ontrack chats UNIT |
| “Download everything for UNIT.” | ontrack courses get UNIT --dest unit.zip |
| “Submit my report for TASK.” | ontrack tasks submit UNIT TASK --file report.pdf |
UNIT is the unit's code or name as OnTrack shows it. courses, units and projects are interchangeable. TASK is the task abbreviation. Writes always show a plan and ask first.
- Install and sign in
- Units and tasks
- Task workflow
- Chats
- Downloads
- Teaching roles
- Configuration
- Troubleshooting
- Command reference
See CONTRIBUTING.md.
Live tools answer what is there now; unicorn answers what changed.
| Project | Layer | What it does |
|---|---|---|
| 🦄 unicorn | Memory | Remembers your campus sources and tells your agent what changed. Remote MCP. |
| moodle-cli | Live | Moodle. CLI, local and remote MCP. |
| edstem-cli | Live | Ed Discussion. CLI, local and remote MCP. |
| ontrack (you are here) | Live | OnTrack and Doubtfire. CLI only. |
