create-agent

Bootstrap a modular AI agent with the OpenRouter SDK and optional Ink TUI.

29|9|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/OpenRouterTeam/agent-skills --skill create-agent-openrouterteam
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-agent
Source: https://github.com/OpenRouterTeam/agent-skills/tree/main/skills/create-agent
Command: npx skills add https://github.com/OpenRouterTeam/agent-skills --skill create-agent-openrouterteam

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a ready-to-use blueprint for building a modular AI agent powered by the OpenRouter TypeScript SDK. It solves the challenge of assembling a standalone agent core, model integration, and optional terminal UI to rapidly develop interactive AI agents.

Core Features & Use Cases

  • Standalone Agent Core - Runs independently, extensible via hooks
  • OpenRouter SDK - Unified access to 300+ language models
  • Optional Ink TUI - Terminal UI for interactive sessions
  • Headless & UI Usage - Demonstrates both programmatic and interface-based deployments

Quick Start

Initialize a new Node.js project, install the OpenRouter SDK, create a minimal agent.ts with the provided code, and run in headless or Ink-based UI to start chatting.

Frequently Asked Questions about create-agent

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a modular AI agent using the OpenRouter TypeScript SDK?

You can build a modular AI agent by bootstrapping a standalone agent core with the OpenRouter TypeScript SDK, utilizing an extensible hook-based architecture for model integration and real-time streaming.

How does the Ink TUI integrate with a TypeScript AI agent?

The Ink TUI integrates with the TypeScript AI agent by providing an optional terminal user interface for interactive sessions, running alongside the standalone agent core to facilitate UI-based headless or interactive interactions.

Can I run a TypeScript AI agent headless without a terminal UI?

Yes, you can run the TypeScript AI agent headless. The skill provides programmatic deployment options that operate independently of the optional Ink TUI, allowing for direct orchestration and streaming interactions.

What is the best way to add extensible hooks to an AI agent core?

The best way to add extensible hooks is using this skill's architecture, which provides a standalone agent core designed specifically for extensibility via hooks to orchestrate real-time, interactive model sessions.

Do I need specific dependencies to set up streaming with the OpenRouter SDK?

You need a Node.js environment and the OpenRouter TypeScript SDK. The skill handles streaming requirements natively through its unified integration, requiring no additional external dependencies to enable real-time interactions.