What problem does it solve? Building an AI agent from scratch requires wiring together model access, streaming, tool calling, and UI layers, which is repetitive and error-prone. This Skill provides a complete, working architecture so you can bootstrap a functional agent in minutes instead of assembling boilerplate yourself. ## Core Features & Use Cases - Standalone Agent Core: An EventEmitter-based Agent class with lifecycle hooks (stream, tool calls, reasoning, errors) that runs independently of any UI. - OpenRouter SDK Integration: Unified access to 300+ language models with items-based streaming, tool definitions via Zod schemas, and dynamic model discovery through the Models API. - Optional Ink TUI and Headless Modes: Includes a terminal chat interface built with Ink/React plus a headless example for programmatic use, HTTP servers, or Discord bots. - Use Case: You want to build a Discord support bot backed by Claude. Use this Skill to generate the agent core, register custom tools, and connect the sendSync method to Discord message events. ## Quick Start Ask the agent to scaffold a new OpenRouter-powered TypeScript agent project with tools and a terminal chat interface in a folder called my-agent.