A CLI coding agent built in JavaScript/Node.js using OpenRouter to access Claude for conversational code editing.
- Install dependencies:
pnpm install - Get an OpenRouter API key from openrouter.ai
- Set environment variable:
export OPENROUTER_API_KEY=your_key_here - Run:
pnpm start
- Chat with Claude via CLI
- Tools: read_file, list_files, edit_file
- Asynchronous file operations
- Error handling
Start the agent and type messages. Claude can use tools to read, list, and edit files.
Example: "Create a hello.js file with console.log('Hello!')"