A terminal agent whose loop I can open and change.
In Claude Code the agent loop is fixed. I wanted one I could open and change. Aiter is a terminal chat and agent framework where the iteration limits, the tools and the conversation state are yours to read and change.
- Stack
- TypeScript, React, Bun
- Status
- Experimental
- Year
- 2025
How it is built
A Bun monorepo with a core runtime and a command-line tool that scaffolds apps and agents. The terminal interface is React on OpenTUI, and models come through the Vercel AI SDK, so any provider it supports can run an agent.
Tools. MCP servers connect tools over stdio, SSE and HTTP.
Agents as folders
Each agent is a directory with its own commands, tools, MCP servers and system prompt, after the file conventions of Next.js. MCP servers connect over stdio, SSE or HTTP, and an agent loads their tools dynamically.
Sessions you can read
Every conversation is saved as a JSON file. It can be resumed with a flag, edited by hand, or started from a prompt piped in from the shell, so the agent can be scripted.