
Raxol
io.github.DROOdotFOOPublished by GitHub account DROOdotFOOv2.6.1Updated Oct 24, 2026
Elixir/OTP runtime where every UI component auto-exposes MCP tools; stdio server: mix mcp.server
Overview
Elixir/OTP app runtime whose UI components auto-expose MCP tools over stdio, letting an assistant drive and inspect a running Raxol app.
- What you can do
- Drive interactive components: click buttons, type into and clear text inputs, read their values through generated tools such as click and type_into, with a focus lens narrowing to roughly 15 relevant tools per interaction. Inspect component trees as structured data rather than scraping rendered pixels. Run scripted agent sessions that chain actions and assert on component state, as shown in the test helper example. Start the server on stdio with mix mcp.server for editor integration; editors speaking the Agent Client Protocol reach an agent through a separate ACP command.
- When to use it
- Use it when you build or test an Elixir application on the Raxol runtime and want an assistant to interact with its UI components or run agent-driven session checks. It is not a general-purpose tool server for unrelated apps.
- Requirements
- A local Elixir/OTP installation with the raxol dependency (or a generated project), plus a C toolchain (make and cc) to compile the termbox2 NIF on Unix/macOS; Nix can supply the full toolchain. The server runs as a local stdio process started with mix mcp.server. No authentication or environment variables are declared.
Installation
In SourceWeft
- Open Raxol in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
Raxol
Recursively, axol. Forever FOSS.
[CI] [Hex] [Frame bytes per keystroke] [Keystroke cost]
Write one app. Render it to a terminal, a browser, an SSH session, or an agent.
Your application is a single TEA module (init, update, view) running as an OTP GenServer. Raxol renders that module to four surfaces from one codebase:
The interesting part is the runtime. Your app gets crash isolation per Component, hot code reload without restart, distributed clustering with CRDTs, and an agent surface where LLMs interact with structured Component trees instead of scraping pixels. Those are BEAM properties, from a VM built for systems that can't go down, can't lose state, and hot-swap code while running.
Bubble Tea, Ratatui, and Textual are excellent renderers. A2UI and AG-UI define agent-UI wire formats. Raxol is the runtime that renders all four surfaces from one source module. See Why OTP for the framework comparison, and Why Raxol for how the runtime compares to Python agent stacks like Hermes and Omnigent.
Agents
Raxol is a runtime for agents as much as for humans. Every interactive Component automatically exposes MCP tools (Button gives click, TextInput gives type_into/clear/get_value), and a focus lens filters to roughly 15 relevant tools per interaction. Where A2UI and AG-UI define how agents talk to UIs at the wire level, raxol generates the UI and the agent surface from one Component tree: same source, two projections.
mix mcp.server starts the MCP server on stdio for Claude Code integration. Editors that speak the Agent Client Protocol reach a Raxol agent through raxol acp --agent <app>[:<id>]. See Editor ACP.
Agent sessions sit on the Harness, the agent-session engine: a durable event journal (Raxol.Agent.Journal), a typed event contract (Raxol.Agent.Contract), and surface state that is a pure fold over the event stream (Raxol.Harness.Projection). See Harness architecture.
The agent packages live in raxol-agent and install from Hex: raxol_agent (sessions, teams, tools, skills), raxol_payments (wallets, ledger-enforced spending limits, HTTP 402 auto-pay) and raxol_agent_client_protocol (the editor-to-agent wire protocol). See Packages.
raxol_gateway gives an agent or app many chat platforms behind one adapter contract: process-per-chat sessions, DM pairing for authorization, and /handoff to move a conversation across platforms with its history intact.
Install
Or generate a new project:
With Nix, nix develop drops you into a shell with the full BEAM and NIF toolchain (no local Elixir install required):
Try it
Nothing to install: raxol.io runs the same catalog in a
browser, one LiveView per demo. That surface is this repo's web/ app; see
web/README.md to run it yourself. In a terminal:
The flagship demo is a live BEAM dashboard with scheduler utilization, memory sparklines, and a process table:
See examples/README.md for the full learning path, including agent examples, swarm demos, and the REPL.
Headless environment (CI, containers, agents)? The whole build-and-test path needs no tty:
Prerequisites, the quality gate, and constrained-sandbox notes are in Development.
Performance
Full frame in 5.0ms on Apple M1 (Elixir 1.20 / OTP 29), 31% of the 60fps budget.
Measured 2026-08-07 at fce2465bb with mix run bench/suites/comparison/framework_comparison.exs (full mode). The ingest row is the whole emulator path (parse plus state application), not the standalone ANSI lexer, which handles plain text in under a microsecond (mix raxol.bench parser).
Unix/macOS backend uses a termbox2 NIF; Windows uses a pure Elixir driver (usable, not yet tuned). See the benchmark suite.
Documentation
Start with the documentation index, or jump to:
Development
Working from source needs Elixir/OTP (versions in mise.toml) and a C
toolchain: the termbox2 NIF compiles with make and cc (on Debian/Ubuntu,
apt-get install build-essential). nix develop provides all of it in one
shell. Every command below runs headless: no terminal is required for the
build, the test suite, or the golden checks.
SKIP_TERMBOX2_TESTS=true excludes the tests that need a real local terminal
(pty lifecycle, timing-sensitive suites); CI sets the same variable. Plain
mix test without the exclude flags also runs integration suites that need
external services (the workflow checkpoint tests want PostgreSQL via
RAXOL_WORKFLOW_PG_URL), so stick to the command above unless you have
them. In sandboxes where HOME is read-only, point MIX_HOME and
HEX_HOME at a writable directory before running mix.
Origin
Raxol started as two converging ideas: a terminal for AGI, where AI agents interact with a real terminal emulator the same way humans do; and an interface for the cockpit of a Gundam Wing Suit, where fault isolation, real-time responsiveness, and sensor fusion are survival-critical. The Gundam thing sounds like a joke. Then you look at the constraint set and it's exactly what OTP was built for: systems that can't go down, can't lose state, and have to hot-swap components while running.
The longer vision is Raxol: The Terminal For My Gundam.
Built with Raxol
Xochi is a private cross-chain DEX (intent-based swaps across 6 chains, sub-3s settlement, stealth addresses by default, ZKSAR compliance proofs) whose entire trading surface is raxol. One Component tree projects four ways: an SSH trader terminal, a LiveView web UI, a solver-agent surface for Riddler's sub-2ms solver, and an ops cockpit running sensor fusion on solver health. The solver executes behind a dedicated fail-closed stack (buyer-pre-signed intents, ledger-enforced spend gates, deployment guards that refuse to run unconfigured), kept deliberately off the MCP surface, so no fund-moving action is reachable as a generic tool call.
foglet-bbs by Brendan Turner is an SSH-only retro bulletin board (bbs.foglet.io, ssh bbs.foglet.io) that stress-tested raxol's SSH path into shape.
License
MIT. See LICENSE.md.
Source: README.md at commit d1b7b72
Tools
0Version history
1- v2.6.1LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts