A minimal TypeScript and Ink starter for connecting an agent to a terminal interface.
- Node.js 18 or newer
npm installCopy the example environment file and add your OpenRouter API key:
cp .env.example .envOPENROUTER_API_KEY=your_openrouter_api_key_herenpm run devEdit the asynchronous respond function in src/index.ts to connect your own agent. The terminal UI lives in src/tui/.
To compile and run the built project:
npm run build
npm start