Elyra

A self-extensible AI coding agent for the terminal

Built different

Most coding agents lock you into one provider, one workflow, one way of thinking. Elyra is open, fast, and yours to shape.

Open

Fully open source

MIT licensed. No telemetry, no phone-home, no usage caps. Run it air-gapped, fork it, embed it. The code is yours.

Fast

30+ providers, zero lock-in

Switch between OpenAI, Anthropic, Google, Mistral, Bedrock, local models, and 25+ more with a single flag. No rewiring, no config files.

Flexible

Extend everything

Custom tools, skills, prompt templates, themes, and hooks. Build domain-specific agents on top of Elyra's runtime without forking.

Feature Elyra Claude Code Cursor GitHub Copilot
Open source
Multi-provider (30+) Limited Limited
Terminal-native
Extension system Plugins Extensions
Embeddable SDK
Session branching
No telemetry
Free (bring your own key) Subscription Subscription Subscription
Smart model routing
Codebase memory
Stack profiles
Database tools
Starter kit scaffolding

Everything you need to build with AI

A complete toolkit for autonomous coding -- from LLM abstraction to terminal rendering.

30+ LLM Providers

OpenAI, Anthropic, Google, Mistral, Bedrock, and more through a unified streaming API with cost tracking and model catalog.

Built-in Tools

Read, write, edit, bash, grep, find -- everything the agent needs for autonomous coding out of the box.

Session Management

Persistent sessions with branching, context compaction, and export. Pick up where you left off.

Extension System

Custom tools, skills, prompt templates, themes, and hooks. Shape the agent to fit how you work.

Rich Terminal UI

Differential rendering, inline images, markdown, syntax highlighting, and a full editor -- all in the terminal.

Web UI Components

Lit-based web components for building browser interfaces with chat, artifacts, and model management.

Smart Model Routing

Automatically picks cheap models for simple tasks and powerful models for complex work. Optimizes cost without sacrificing quality.

Codebase Memory

Remembers architecture, decisions, and gotchas across sessions. No more re-explaining your project every time.

Stack Profiles

Auto-detects your tech stack and loads specialized knowledge. TALL, VILT, and more -- the agent knows your frameworks.

Database Tools

Query MySQL and ClickHouse directly from the agent. Schema discovery, read-only safety, and natural language to SQL.

An ecosystem that grows with you

Install community packages or write your own. Skills, tools, prompt templates, themes, and hooks -- all pluggable.

@elyracode/stack-tall

TALL stack profile: Livewire 4, Flux UI, Alpine.js, Tailwind. Lifecycle, hydration rules, component patterns, and gotchas.

@elyracode/stack-vilt

VILT stack profile: Vue 3, Inertia.js, Laravel, Tailwind. useForm, TypeScript type sync, partial reloads, routing.

@elyracode/db-tools

Query MySQL and ClickHouse directly. Schema discovery, read-only safety mode, configurable timeouts.

@elyracode/laravel-starters

Fetch official Laravel 13.x starter kits from GitHub. React, Vue, Svelte, Livewire -- with Fortify auth, 2FA, teams, and WorkOS.

@elyracode/stack-primevue

PrimeVue 4: 80+ UI components for Vue 3. DataTable, Dialog, Forms, Toast, theming, and Laravel Inertia patterns.

Build your own

Extensions are TypeScript files. Register tools, commands, shortcuts, and hooks with the ExtensionAPI.

Terminal
# Install stack profiles
$ elyra install npm:@elyracode/stack-tall
$ elyra install npm:@elyracode/stack-vilt

# Install database tools
$ elyra install npm:@elyracode/db-tools

# Install Laravel starters
$ elyra install npm:@elyracode/laravel-starters

# Install PrimeVue component knowledge
$ elyra install npm:@elyracode/stack-primevue

# Install from git
$ elyra install git:github.com/user/my-extension

# Load a local extension for this session
$ elyra -e ./my-extension.ts

# List installed packages
$ elyra list

Read the full extensions guide →

Up and running in minutes

Install, set an API key, and start coding with AI.

1

Install

Install globally via npm, or use the install script.

2

Set an API key

Export a provider key, or use /login for subscription-based access (Claude Pro, ChatGPT Plus, Copilot).

3

Start coding

Run elyra in your project directory and describe what you want to build. The agent reads, writes, and edits code autonomously.

4

Extend

Add skills, prompt templates, custom tools, and themes. Install community packages or write your own extensions.

Terminal
# Install
$ npm install -g @elyracode/coding-agent

# Set your API key
$ export ANTHROPIC_API_KEY=sk-ant-...

# Or use OpenAI, Gemini, etc.
$ export OPENAI_API_KEY=sk-...
$ export GEMINI_API_KEY=...

# Start the agent
$ elyra
elyra
# Or use subscription-based providers
$ elyra
> /login
Select a provider:
  Anthropic Claude Pro/Max
  OpenAI ChatGPT Plus/Pro
  GitHub Copilot

Modular by design

Five packages, each independently usable. Compose what you need.

@elyracode/ai LLM streaming, model catalog, cost tracking, provider registry
@elyracode/agent-core Agent loop, tool execution, sessions, compaction, events
@elyracode/coding-agent CLI binary, built-in tools, extensions, system prompts
@elyracode/tui Terminal rendering, editor, markdown, keybindings
@elyracode/web-ui Browser UI components (Lit)

Every major LLM provider

30+ providers through 9 API protocols. Use API keys or existing subscriptions.

Anthropic
OpenAI
Google Gemini
Google Vertex AI
Amazon Bedrock
Azure OpenAI
Mistral AI
DeepSeek
Groq
Cerebras
xAI
OpenRouter
Together AI
Fireworks
Hugging Face
GitHub Copilot
Cloudflare AI
Vercel AI Gateway
Kimi For Coding
MiniMax

Help make Elyra better

Elyra is open source and MIT licensed. Here is how you can support the project.

Sponsor

Fund ongoing development and maintenance through GitHub Sponsors.

Sponsor on GitHub

Star on GitHub

Stars help others discover the project and show your support.

Star on GitHub

Report Issues

Found a bug or have a feature request? Open an issue on GitHub.

Open an Issue