Open sourceApache-2.0

The AI agent your terminal has been waiting for.

Research, code, debug hardware, run CI pipelines, and delegate to other agents - without leaving your terminal. One binary, on your machine or in CI.

Quick install

$curl -fsSL https://sven.swedishembedded.com/install.sh | sh
sven - research modeyour default model
sven
sven
agent mode
your sven account
❯ sven
⬡ sven
❯ Analyze the auth module and suggest improvements
⚙ read_file src/auth/mod.rs
⚙ grep "unsafe" src/auth/
⚙ run_terminal_command cargo clippy -p auth
● Found 3 issues in the auth module:
1. Missing rate limiting on login attempts
2. Token expiry not enforced in refresh path
3. Plaintext fallback in legacy compat layer
Shall I fix all three? [y/n]
⬡ sven·researchready
1
Command to install
macOS and Linux; Windows coming soon
1
Binary
TUI, headless, and CI in one
3
Ways to a model
Your sven account, your own key, or a local model
0
Runtimes to install
No Node.js, no Python
🍎macOS Universal🐧Linux x86_64🐧Linux aarch64⧖Windows (coming soon)⚙Written in Rust◈MCP Compatible

One session. Entire lifecycle.

Everything happens here.

Stop bouncing between browser tabs, your IDE, a debugger, CI dashboards, and team chat. Sven collapses the entire development lifecycle into a single terminal session - and ships as one binary with no configuration required.

Terminal-First TUI

A full-screen, keyboard-driven interface that stays out of your way. Vim-style navigation, live streaming output, five operating modes. No browser, no Electron - just your terminal.

Headless & CI-Ready

The same session you run locally runs identically in CI. Reads from stdin, writes to stdout, exits with meaningful codes. No changes required when you move from laptop to pipeline.

Learn more

Native GDB Integration

An agent that connects to real hardware. Start debug servers, set breakpoints, inspect memory and registers - all from the same session where you wrote the code.

Learn more

Teams of Agents

Start a team of agents with sven team: work sits on a shared task board and each member claims a task, executes it in its own git worktree, and reports back.

Markdown Workflows

Write multi-step automation in plain Markdown. H2 headings become steps, YAML frontmatter controls behavior, and template variables make workflows reusable. Version-control your process.

Verified Harnesses

Write an agent workflow as YAML with the checks that decide success: tests, builds, any command you trust. A task passes when its gates pass, failures are repaired or reported, and every run can be resumed and replayed.

Learn more

Work From the Browser

Run sven rc in your project and drive it from your sven account in any browser. The session runs on your machine with your tools; the machine only connects out, nothing listens.

MCP and Your Editor

Connect external MCP servers, sign in to them with OAuth, or serve sven's own tools to another MCP host. Use it inside editors that speak the Agent Client Protocol.

Learn more

30+ Model Providers

OpenAI, Anthropic, Google, Azure, AWS Bedrock, Groq, Ollama, and more. One config line to switch. No rewiring your workflow, no new tools to learn.

Interactive TUI

Stay in the zone.

Sven's keyboard-driven TUI keeps your hands on the keyboard and your mind on the problem. Five modes - research, plan, chat, agent, and sdlc - let you dial in exactly how much autonomy sven has. Watch it work live, steer mid-task, or let it run unattended while you think.
  • Vim-style navigation: j/k to scroll, / to search, q to quit
  • Cycle modes live with F4 - from research and plan to full agent access
  • Streaming output: tool calls, thinking, and responses appear as they happen
  • Session resume with --resume: pick up any conversation right where you left off
  • Skills system: encode domain knowledge as files, loaded on demand
  • Persistent memory: sven remembers project-specific facts across sessions
Sven TUI interactive session showing chip logo, conversation, and tool calls
Sven GDB embedded debugging session with hardware breakpoints and memory inspection
Embedded Debugging

Debug hardware without switching tools.

Sven has native GDB integration. You wrote the firmware in sven - now debug it there too. Sven auto-detects your configuration from .gdbinit, launch.json, or openocd.cfg, connects to your device, and diagnoses issues autonomously - no switching to a separate debugger, no context lost.
  • Full GDB lifecycle: start server, connect, run, interrupt, stop - all from sven
  • Auto-detects config from .gdbinit, .vscode/launch.json, openocd.cfg, CMakeLists.txt
  • Supports JLink, OpenOCD, pyOCD, and any GDB-compatible server
  • Set breakpoints, inspect variables, read registers and memory in a conversation
  • Hardware-in-the-loop testing: run a test suite against real hardware, get a report
  • Understands Zephyr, FreeRTOS, and bare-metal firmware equally well
Sven workflow file running in a CI pipeline with step-by-step output
CI/CD Integration

Same session, same binary, now in your pipeline.

What you prototype interactively runs identically in CI - no rewriting, no adapting, no second tool to maintain. Markdown workflow files are the source of truth for both local and automated runs. Sven auto-detects GitHub Actions, GitLab CI, CircleCI, and more - and adapts its output format accordingly.
  • Markdown workflows: ## Step headings, YAML frontmatter, {{variable}} templating
  • Output formats: conversation, compact, json, jsonl - pipe between agents
  • Auto-detects CI: GitHub Actions, GitLab, CircleCI, Travis, Jenkins, Azure, Bitbucket
  • Meaningful exit codes: 0 = success, non-zero = failure, always machine-readable
  • GitHub Actions integration: official composite action for one-line CI setup
  • Headless mode: --headless "task" writes to stdout and exits - no TTY needed

Get started

One command to install.

A single binary. No Node.js. No Python. No Docker. Install it, sign in to your sven account and start working: the models come with the account.

1Install (macOS or Linux; Windows coming soon)

$ curl -fsSL https://sven.swedishembedded.com/install.sh | sh
# Installs to ~/.local/bin, no sudo

2Sign in to your sven account

$ sven auth login
# Approve in the browser; no API key needed

3Run

$ sven
# Opens the TUI

Supports SVEN_VERSION, SVEN_INSTALL_DIR, and SVEN_NO_SUDO env vars for customization.

🍎macOS Universal🐧Linux x86_64🐧Linux aarch64⧖Windows (coming soon)

Already have a key from another provider, or a local model server? sven runs with those too: providers.