Ask a person, safely
Interaction vertices ask for input through a declarative schema. The runtime builds the form from declared field types and never executes model-written HTML or JavaScript.
An open-source studio and native compiler for AI agent workflows. Draw the graph, then ship a runner.
Beta 2.5 · 2.5.0 · Windows and Linux
Draw the graph. Compile it to C++20. Ship a native runner.
Arestrix validates the graph, generates C++20 source and compiles it with Taskflow into parallel task DAGs. Projects, memory and logs stay on your machine; only model and MCP calls leave it, plus the Git sync you opt into.
“The graph is not interpreted. It becomes a compiled program.”
Six parts of the studio that take an agent pipeline from the canvas to a package IT can deploy.
Agent-to-agent calls
A call edge declares that an agent may invoke another agent. The runtime turns that declaration into acall_agent tool with a fixed list of targets, hard limits and a trace.
The canvas is the beginning. These are the parts that turn a drawing into a pipeline a team can run, inspect and hand to IT.
Interaction vertices ask for input through a declarative schema. The runtime builds the form from declared field types and never executes model-written HTML or JavaScript.
Output vertices copy deliverables to exports/ and open them in the Artifacts tab: SVG, CSV/TSV/XLSX, Markdown, PDF and JSON.
Run tools on the host, in Docker or in WSL2. Network policy is set per vertex, and an unavailable isolation level fails closed instead of silently falling back.
Bind local skills to a vertex, connect MCP servers over stdio or HTTP, and use native tools for files, HTTP, data, Git, SQLite, memory and time without installing a server.
arestrix-cli generates, compiles and runs the same graph without the Studio. Built for CI, servers and batch jobs, with stable exit codes and native memory reports.
arestrix-cli run graph.json --ciBilingual by design: the Studio and the documentation ship in English and Portuguese.
Project memory · opt-in
Arestrix keeps what a run learned in the project's own SQLite graph: lessons, claims, source passages and validated paths. An agent reads a token-budgeted brief before it acts, and new knowledge waits for approval.
Measured · controlled tests
Two controlled runs against the real DeepSeek API and one deterministic paired pilot. Each test holds its fixture fixed and compares memory with a control arm.
Recorded 2 November 2026 for memory v1.0.1. Controlled fixtures, not a benchmark; experimental retrieval switches remain off by default. Read the test strategy or the memory v1.0.1 notes.
Enterprise AI Gateway
An on-prem OpenAI and Anthropic-compatible proxy. Provider keys stay on the server; every runner gets a virtual key with a budget, a rate limit and a usage record.
Arestrix for teams
Arestrix is not a hosted automation service. It is software your team runs on machines you control, with artifacts you can review and a policy layer for the spend.
Graphs, generated C++ and packaging metadata are text files. Version them, diff them and sign off the exact thing that runs.
The on-prem AI Gateway issues virtual keys and enforces monthly budgets, rate limits and a usage ledger by key, project, user, provider and model.
Ship a standalone runner with an HMAC/SHA-256 manifest, then package it as MSI or MSIX for Intune/SCCM. Credentials resolve at runtime through DPAPI or Azure Key Vault.
Projects, memory, logs and databases stay on the machine or network; Git sync is opt-in. Only the model and MCP calls you configure leave it, and local models never pass through the gateway.
Most agent tools hand you a runtime you cannot inspect. Arestrix hands you the artifact: the graph, the generated C++20, the build metadata and a standalone runner. If a model provider changes tomorrow, the pipeline still belongs to you.
Read the docsStart from a template or an empty canvas. Add agents, tools, decisions, switches, subflows and feedback loops, then validate the graph before a model call. Missing models, unresolved variables and unreachable vertices are reported on the canvas.
Graph and nodesArestrix generates C++20 and opens it in Monaco. Parallel branches become Taskflow tasks; condition and switch vertices become branches; loops become Taskflow loops. An unchanged graph reuses the previous binary.
How compilation worksPress F5. Live thinking streams, node latency, token throughput, tool arguments and 429 retries arrive on the canvas and in the console. Batch runs checkpoint each item and resume from the last completed vertex.
Agents and executionShip a standalone runner with a focused progress screen, or package it as MSI/MSIX for managed Windows deployment. The package carries an HMAC/SHA-256 manifest; credentials resolve at runtime through DPAPI or Azure Key Vault.
Standalone runnerThe difference shows up at deployment: what you ship, what holds the keys and what can be verified before it runs.
| Dimension | Typical runtime stack | Arestrix |
|---|---|---|
| Execution model | An interpreted service or script, with its runtime dependencies. | Generated C++20 and Taskflow DAGs, compiled into a native binary. |
| Distribution | An interpreter, a package manager and environment setup per endpoint. | A standalone runner; optional MSI/MSIX for managed Windows deployment. |
| Secrets | Environment files, a shared config or vendor-held keys. | Runtime resolution through Windows DPAPI or Azure Key Vault. |
| Package integrity | Depends on the deployment pipeline. | SHA-256/HMAC manifest, with fail-closed verification at startup. |
| Local data | Usually server-side or hosted; prompts leave the perimeter. | Projects, memory, logs and databases stay on the machine unless you enable Git sync. |
| MCP | Community nodes or custom HTTP steps. | A native client with a persistent session per server. |
| License | Varies by product and edition. | MIT, for commercial and academic use. |
Directional summary, not a benchmark. Read the full comparison for scope and caveats.
What it costs
Arestrix costs zero dollars. It is MIT licensed, with no per-seat fee, locked features or hosted subscription. Model usage is billed by the provider or endpoint you choose.
Arestrix is free. No per-seat fee. No locked features. You pay your model provider — or nothing, if you run a local model.
No account, no hosted workspace and no credit card. The source is on GitHub.
off, consult or learn: a consult run reads a token-budgeted brief, and a learn run also records an episode and may propose lessons, claims or playbooks. Nothing becomes knowledge on its own; proposals and paths wait for validation and approval, and knowledge lives in a separate SQLite database from telemetry. In controlled DeepSeek tests, memory retrieved an answer the OFF arm missed and reduced static prompt tokens by 87% in the context-substitution run. Read how memory works and the memory v1.0.1 notes.arestrix-cli is the same generator and runtime without the UI. It supports gen, run, check, doctor, batch mode, --ci and stable exit codes. Read the CLI reference.${NAME} references, never values. The runner resolves credentials at runtime through Windows DPAPI or Azure Key Vault, scrubs secret environment variables before starting child processes, and scans for leaked key formats before export. Read the security and governance model.python CppCore/dev.py. The download section has both paths.Beta 2.5 · 2.5.0
Start with the Windows build, build from source on Windows or Linux, or run the same engine headless in CI. No account and no hosted workspace.
Per-user install under %LOCALAPPDATA%, without administrator rights. It checks WebView2, the VC++ Redistributable, Git credentials, MSVC Build Tools and provider keys.
Download the .exeExtract the archive anywhere and run start-arestrix.bat. The extracted folder becomes ARESTRIX_HOME, so the whole install can live on a removable drive.
Download the .zipGit 2.30+, Node.js 20+, Python 3.10+, CMake 3.20+ and a C++20 compiler. Clone with submodules, install the frontend dependencies and run the native build.
Read the build stepsShips with the Studio. Generate, compile and run the same graph without the UI, with --ci, batch mode and stable exit codes for servers and pipelines.
Read the CLI referenceFrom source
The build compiles the C++ backend and the frontend, then opens the Studio. Linux uses the same entry point; programs generated from a graph currently target Windows.
$ git clone --recurse-submodules https://github.com/frankalcantara/Arestrix.git$ cd Arestrix$ npm ci$ python CppCore/dev.pyEvery build ships SHA256SUMS, SBOM.json and a per-file package-manifest.json. Windows artifacts are signed by SignPath Foundation when signing is enabled. Read the changelog for the current limitations.
Open source. Local-first. MIT licensed.
Acknowledgement · independent
OpenCode is an excellent open-source AI coding agent. It runs in the terminal, IDE or desktop, works with free models or any provider, and is private by design.
We use OpenCode and recommend it strongly. It is fast, careful and pleasant to work with, and it has earned a permanent place in our workflow. If you write software with AI, start with the free models and see for yourself.
Arestrix is not affiliated with, sponsored by or endorsed by OpenCode. OpenCode has not reviewed or endorsed Arestrix. This is an independent thank-you and recommendation.