
Raxol
io.github.DROOdotFOO由 GitHub 账号 DROOdotFOO 发布v2.6.1更新于 Oct 24, 2026
Elixir/OTP runtime where every UI component auto-exposes MCP tools; stdio server: mix mcp.server
概览
Elixir/OTP 应用运行时,其 UI 组件自动通过 stdio 暴露 MCP 工具,让助手操作并检查运行中的 Raxol 应用。
- 可以做什么
- 操作交互组件:点击按钮、向文本输入框输入和清空内容、读取其值,使用 click、type_into 等自动生成的工具,焦点透镜每次只保留约 15 个相关工具。以结构化数据检查组件树,而不是抓取渲染后的像素。运行脚本化的代理会话,串联操作并对组件状态做断言,测试辅助示例即如此。用 mix mcp.server 在 stdio 上启动服务器以接入编辑器;支持 Agent Client Protocol 的编辑器通过单独的 ACP 命令连接代理。
- 适用场景
- 当你基于 Raxol 运行时开发或测试 Elixir 应用,并希望助手操作其 UI 组件或运行代理驱动的会话检查时使用。它不是面向无关应用的通用工具服务器。
- 运行要求
- 本地安装 Elixir/OTP 并引入 raxol 依赖(或生成新项目),在 Unix/macOS 上还需 C 工具链(make 和 cc)编译 termbox2 NIF;Nix 可提供完整工具链。服务器以本地 stdio 进程运行,用 mix mcp.server 启动。未声明认证或环境变量。
安装
在 SourceWeft 中
- 打开 控制台中的 Raxol,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
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.
来源:README.md,提交 d1b7b72
工具
0版本历史
1- v2.6.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分