
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 分