create-agent

Installation
Summary

Bootstrap a modular AI agent with OpenRouter SDK, extensible hooks, and optional terminal UI.

  • Standalone agent core runs independently of any UI, with event-based hooks for streaming responses, tool calls, reasoning, and errors
  • Items-based streaming model emits complete, progressively updated items by ID rather than accumulating chunks, enabling efficient React state management and concurrent output handling
  • Supports 300+ language models via OpenRouter with dynamic model discovery; use openrouter/auto for automatic selection or query the models API by author, context length, and pricing
  • Optional Ink TUI provides a beautiful terminal interface; agent also works headless for HTTP APIs, Discord bots, or programmatic use
  • Built-in tool system with Zod schemas; add tools at runtime or define custom ones for calculator, time, web search, file operations, and image generation
SKILL.md

Build a Modular AI Agent with OpenRouter

This skill helps you create a modular AI agent with:

  • Standalone Agent Core - Runs independently, extensible via hooks
  • OpenRouter SDK - Unified access to 300+ language models
  • Optional Ink TUI - Beautiful terminal UI (separate from agent logic)

Architecture

Related skills
Installs
2.6K
GitHub Stars
26
First Seen
Jan 31, 2026