Nexusmulti-provider CLI AI agent
2026. Repository.
What I ownedEverything. Solo: the provider abstraction, the three tool-use loops, the confirmation gate and the CLI.
Problem
Agent SDKs hide the loop. Nexus writes it out: three independent tool-use loops against raw REST APIs, a centralised human-in-the-loop confirmation before any file write or shell command, and a 5-iteration cap. Credentials and history stay local.
Architecture
Bun, TypeScript and Commander.js. Local-only credential and history storage.
Measured, not asserted
- Iteration cap per task
- 5
Honest limits
- Terminal tool for one user. No sandboxing beyond the confirmation step.
Stack
- TypeScript
- Bun
- Anthropic API
- Gemini API
- OpenAI API