A lightweight, CLI-first Agent Harness framework built with TypeScript, React Ink, and Bun. Inspired by Claude Code architecture.
A pure REPL loop driven by asynchronous generators, flawlessly handling stream output, tool calls, and result concatenation without the overhead of heavy abstractions.
Utilizes React Ink to bring modern web development paradigms to the terminal. Declarative UI, state management, and seamless stream handoffs.
Keep system prompts clean and focused. Inject expert workflows, contexts, and specific toolsets into the LLM strictly on-demand.
Prevent context pollution. The agent forks invisible sub-processes to execute trial-and-error tasks, summarizing and merging only the final answers back to the main thread.