git clone https://github.com/BlockRunAI/runcode
cd runcode
npm install
npm run buildnpm run dev # Watch mode — recompiles on save
npm start # Run the agent- TypeScript strict mode
- ESM modules only
- Node >= 20
- Fork the repo
- Create a feature branch
- Make your changes
- Run
npm run buildto verify compilation - Submit a PR with a clear description
RunCode uses @blockrun/llm for model access and x402 payments. The agent loop is in src/agent/, tools in src/tools/, and the terminal UI uses Ink (React for terminals).
Apache-2.0