
Remit
io.github.mrpacstar2-ossv0.1.0Updated Oct 3, 2026
Checked language for AI-written agent workflows: limits, cost and data flows known before running.
Overview
Lets an assistant write, check, format and test Remit programs, a statically checked language for agent workflows, before they run.
- What it does
- Remit is a small statically checked language for agent workflows, programs that call tools and models. Its MCP tools give an assistant the guide or full spec, a checker that returns errors plus an authority manifest, canonical formatting, an authority diff showing whether an edit widened what a program may do, complete example programs, and offline fixture test runs. The checker reports which capabilities a program can use, the maximum number of calls and worst-case spend, and whether untrusted or private data can reach sensitive parameters such as payment details or email recipients.
- When to use it
- Worth adding when an assistant is expected to author or edit agent workflows and you want limits, cost and data flows known before anything runs. Useful for reviewing agent-written changes to confirm they do not widen authority, and for offline fixture testing of a workflow.
- Requirements
- The manifest declares a remote streamable HTTP endpoint and no authentication, environment variables or headers. The README also documents a local stdio mode started with the remit command, which needs a Python environment with the package and its mcp extra installed, plus pytest and pydantic for the quick start.
Installation
In SourceWeft
- Open Remit in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Other MCP clients
Add this to your client's mcpServers config.
{
"mcpServers": {
"remit": {
"type": "http",
"url": "https://77-68-52-20.sslip.io/mcp"
}
}
}README
Remit
Know what an AI-written program can do before it runs.
Remit is a small, statically checked language for agent workflows, meaning programs that call tools and models. It is meant to be written and edited by AI agents. Before a program runs, the checker reports:
- which capabilities it can use, from a host-controlled list;
- at most how many times it can call each one, and its worst-case spend;
- whether untrusted data (documents, web pages, model output) or private data can reach sensitive parameters, such as payment details or email recipients. Each such flow is rejected outright, or sent to a human for approval bound to the exact arguments.
A runtime broker then enforces the same rules and records a replayable trace.
For AI agents
-
MCP server, local:
remit mcp(stdio). -
MCP server, hosted:
remit mcp --http, with optional API keys and usage metering. -
Tools:
-
Quick guide: docs/AI_GUIDE.md.
-
Full specification: docs/LANGUAGE_SPEC.md.
-
llms.txt: site/llms.txt, plus site/llms-full.txt.
Claude Code configuration example:
Quick start
Evidence
docs/BENCHMARKS.md compares Remit with a Python baseline that uses the same runtime, so runtime features are not credited to the language. Samples are small, use one model family and include no human trials.
- Safety:
- Of 17 unsafe program mutations, 14 were rejected before running. Python on the same runtime executed 8 of them.
- Asked to make unsafe changes, Haiku 4.5 agents shipped executable unsafe code 0/6 times in Remit and 6/6 in Python. Sonnet 5.5 refused in both languages.
- Review: every agent-written feature change (20 of 20) was mechanically shown not to widen authority.
- Ease:
- Agents modified programs (15/15 against 14/15) and built a new workflow from a spec (5/5 against 5/5) equally well in both languages, so there is no penalty for a language the models had never seen.
- Agents that only had the MCP server built correct programs 5/5.
- Recovery: crash-and-resume behaviour is identical in both, as expected, since it is a runtime property.
Status
This is a research prototype.
- Implemented and tested: the parser, checker, interpreter, broker, CLI (
check,build,run,test,fmt,replay,approve,resume,diff,ask,mcp), the MCP server and five example apps. - Not implemented: an OS sandbox (run it inside your own isolation), modules, concurrency and a language server. See LANGUAGE_SPEC §13.
Deploying the website and hosted MCP server is covered in deploy/PUBLISHING.md.
Licence: Apache-2.0.
Source: README.md at commit 2f8eed4
Tools
0Version history
1- v0.1.0LatestOct 3, 2026
