SolveLang
A readable, explainable workflow language and local-first analysis toolkit for AI-assisted business and coding workflows.
Start the SolveLang MCP server — Solve Context tools for your AI coding agent — straight from npm, no install:
npx --yes @solvelang/mcp-server@0.5.0
Current verification — 2026-11-30
MCP v0.5.0 is published on npm and GitHub; main protection is enforced.
Older checkpoints below are historical.
SolveLang is an early-stage language and tooling project for describing business workflows in a form that humans can read, engineers can review, and organizations can audit. The repository also contains local-first audit/graph tooling, Codex/Claude MCP integration, and the separate Solve Context context-selection product layer.
It is not another Zapier, no-code builder, or managed automation platform. Its purpose is to make workflow intent explicit: deterministic rules, AI-assisted decisions, tool access, approvals, expected outputs, failure behavior, and reviewable evidence.
Services
SolveLang is the open-source language and toolchain in this repository. SolveLang the service sells four things; three are live today, and the fourth is live and is labeled as one. The full list also lives on the site: Services. Problem-by-problem guides live in the Solutions documentation.
Runner Minutes — live
Prepaid GitHub Actions runner minutes. Buy a pack on the SolveLang site, connect GitHub once (install the app, pick your repositories, accept), and queued jobs in those repositories run automatically on fresh SolveLang-provisioned Linux machines — one machine per job, destroyed when the job ends.
- Metering is per second, measured from each job's own GitHub start and finish timestamps, with a 10-second minimum per job.
- Spot capacity serves first at 1x. If Spot cannot start a job in time, guaranteed on-demand capacity starts it instead, and those minutes draw at 2x — always shown as a separate line in your usage.
- Three pools: Standard (2-vCPU class), High-Power (16-vCPU class — the Speed lane, with a guaranteed start and a colocated cache), and Premium (96-vCPU class).
- Jobs pick their pool by
runs-on label: [self-hosted, solvelang-runners-standard], [self-hosted, solvelang-runners-high-power], or [self-hosted, solvelang-runners-premium]. Label routing: label a pull request solvelang and its jobs route to SolveLang runners.
- Pause or resume serving at any time from your account. Balances expire 12 months after purchase and are always visible. Linux runners for private repositories.
Prices (USD, tax included — the price shown is the full amount charged):
| Standard minutes |
Price |
High-Power minutes |
Price |
| 5,000 |
$20 |
1,000 |
$80 |
| 25,000 |
$100 |
2,000 |
$140 |
| 100,000 |
$400 |
3,000 |
$192 |
|
|
4,000 |
$236 |
|
|
5,000 |
$275 |
|
|
6,000 |
$306 |
|
|
7,000 |
$336 |
|
|
8,000 |
$360 |
|
|
9,000 |
$382.50 |
|
|
10,000 |
$400 |
Speed Lane Cache: a 10 GB colocated cache beside the high-power machines, $2 per month. Premium minutes: $0.50 per minute at every pack size — 5,000 for $2,500 up to 100,000 for $50,000. Buying happens only through the site's own embedded checkout: Buy runner minutes.
Language, toolchain, and Live Center — live
The SolveLang language and the solvec CLI (below), the browser workspace, Workflow Intelligence Studio, the Repository Audit / Solve Graph / Server Audit surfaces, and Solve Context over MCP. A customer account adds the Live Center: a live view of your pull requests, the merge queue, checks, runners, and your minutes balance. The Team Context Index gives a team a shared context index for its repositories — $8 per seat per month; billing counts active members only, and the owner counts as a seat. The Weekly CI Health Digest publishes a digest of your CI health in your account every Monday at 06:00 EST.
API access plans — live
Monthly weighted-credit API plans: Developer $49/month (1,000 credits, 2 API keys), Pro $199/month (10,000 credits, 3 keys), Business $699/month (50,000 credits, 5 keys). Full comparison: API pricing.
Merge governance (Process Solution) — live
Governed merge automation for busy repositories: it builds the exact tree that will land, tests the combined tree once, and lands it only on FULL GREEN, with a written reason for every merge and block. Process Solution is live — the full governed cycle (plan, combined tree, battery, land) is proven end-to-end in production, with the landed tree verified identical to the tested tree and every decision written to the audit log. There is no public price and no self-serve signup yet. How it works: Process Solution. The service is described here only; its source is not in this repository.
Free tools — live, no signup
Three checks that run on any public repository today, each grading its findings verified / failed / unverified: Repo Security Scan, CI Bill Check (per-minute vs per-second pricing of a repo's real Actions runs), and Change Impact Receipts.
SolveLang Verification — proven on our own repositories
An installable GitHub check that posts a graded Change Impact Receipt — verified / failed / unverified — as a check run with a receipt comment, and writes every run to an audit log. Proven end-to-end on our own repositories on 2026-11-26: a deliberately defective pull request was caught in enforce mode, and clean pull requests passed. Opening to outside repositories next. There is no public price and no self-serve signup yet.
Why SolveLang exists
Business processes often live in one of three places:
- visual automation canvases that are fast to build but difficult to review and maintain,
- application code that is powerful but hides process intent behind implementation detail,
- prompts and agent configurations that can be hard to audit, test, or govern.
SolveLang explores a middle layer: readable, source-controlled definitions and evidence that can be validated, explained, tested, and eventually adapted to different execution environments.
The long-term goal is not to replace every workflow engine. SolveLang may be most valuable as a specification, analysis, context and explanation layer that works alongside established platforms.
Current maturity
SolveLang is an open-source workflow intelligence product with a versioned local runtime, browser Studio, and production API/account infrastructure. General managed workflow execution remains gated. This README was reconciled on 2026-09-15 against repository state. Live GitHub state always wins if that checkpoint becomes stale.
The repository contains a working Rust lexer, parser, AST, interpreter, CLI, diagnostics, implementation-backed 0.1 language specification, explicit local modules, browser/WASM tooling, Workflow Intelligence Studio, bounded Repository/Server Audit surfaces, Self-Driving safety/execution contracts, a substantially implemented Solve Context layer, and a separately deployed production customer-account/API/Admin/TOTP foundation.
It does not yet provide a stable 1.0 language contract, production managed workflow execution or enabled paid priority, a generally activated support/provider service, verified marketplace distribution, enterprise orchestration, or a general integration marketplace.
Public claims should use these labels.
Working today
- Rust lexer, parser, AST, and interpreter prototype
- CLI commands for running, validating, checking, linting, formatting, tokenizing, and inspecting ASTs
- conservative source-located semantic checks with
solvec check
- conservative source-located workflow warnings with
solvec lint
- variables, reassignment, conditions, loops, functions, arrays, objects, JSON helpers, and pure collection/text helpers
- legacy relative-file compatibility includes plus explicit local modules with exports, namespace imports, named imports, live read-only bindings, and deterministic local graph validation
- source-located parser and runtime diagnostics, including imported/module provenance
- deterministic local execution
- hardened execution modes that deny network, file, environment, and agent capabilities
- a local-first Workflow Intelligence Studio with deterministic analysis
- a bounded browser-safe
/run preview backed by the pinned audited WASM handoff; native solvec remains canonical and this is not managed execution
- bounded read-only Repository Audit / Solve Graph and Server Audit product surfaces
- a pure Rust evaluator core and deny-all WASM wrapper with shared conformance and deterministic limits
- repository-safe Self-Driving Observe/Suggest, patch/preflight, single-use execution-plan/finalization, GitHub-write and PostHog safety contracts; live provider activation and production rollout remain separately gated
- Solve Context plan/pack/retrieve tools, content-addressed retrieval, Claude ↔ Codex handoff, lossless JSON/log/diff compaction, changed-path + supplied-graph ranking, pinned real-source regressions and strict agent-measurement record/report contracts
- repository-qualified connected-support code with native IMAP/SMTP plus optional Gmail, durable event/action state, safe cutover/recovery, account controls and monitoring preparation; live activation remains separate
- production API access, customer password accounts, private Admin/TOTP infrastructure, live API subscription billing, and live Runner Minutes purchasing on the account pages
- repository examples, tests, schemas, documentation, and launch-readiness controls
Experimental
- HTTP GET and POST helpers
- file read/write helpers
- environment-variable access
agent, instruction, tool, and ask syntax
- local AI fallback behavior
- optional OpenAI-backed responses
- Studio-to-
.solve draft generation
- Solve Context selection/compaction quality beyond the committed regression fixtures
- paid-priority, provider-execution, support-provider activation and managed-execution foundations that remain gated/off in production
Experimental means implemented but unstable, narrow, provider-dependent, not yet broadly distributed, or not suitable for production promises.
Repository validation includes hosted CI plus path-specific Rust/RustSec, WASM, MCP and trusted self-hosted lanes. CI-runner availability is not a released-platform support claim. SolveLang Runner Minutes is a live service (see Services): prepaid, per-second-metered GitHub Actions runner capacity sold on the SolveLang site, separate from this repository's own CI.
Planned / projected
Projection means direction, not a promised date or unsupported completion percentage.
- broader independent/blinded Solve Context evaluation and separately authorized real Claude/Codex baseline-vs-context measurements
- managed-workspace installation and public Plugin Directory evidence for the published MCP package
- maintain the enforced required checks and resolved-review-thread policy on
main
- a separately reviewed stable 1.0 language contract
- broader type checking
- local package metadata and any future package ecosystem beyond the implemented explicit local-module subset
- additional AI providers and production integrations
- runtime adapters for established orchestration platforms
- full hosted Rust runtime / managed workflow execution only after its own product and safety gates
- owner-authorized public version selection/publication and exact-platform release artifacts beyond current Linux x86_64 evidence
- enterprise governance, durability, and observability
See ROADMAP.md for the current active queue and completion gates.
Quick start
Requirements
Install and run
git clone https://github.com/saiidz/solvelang.git
cd solvelang/solvec
cargo run -- validate ../examples/support_triage.solve
cargo run -- check ../examples/support_triage.solve
cargo run -- run ../examples/support_triage.solve
Inspect tokens or the parsed AST:
cargo run -- tokens ../examples/hello.solve
cargo run -- ast ../examples/hello.solve
Build a release binary:
cargo build --release
./target/release/solvec run ../examples/hello.solve
Solve Context and MCP usage
Distribution truth
MCP @solvelang/mcp-server@0.5.0 is published on npm and GitHub, verified on 2026-11-30. It distributes the tagged release source; later main changes require separate distribution. Managed-workspace marketplace installation and public Plugin Directory listing remain unverified. v0.2.0 is historical.
Use current repository source
To evaluate current-main MCP/Solve Context behavior from a source checkout:
git clone https://github.com/saiidz/solvelang.git
cd solvelang/packages/mcp-server
npm ci
npm run build
SOLVELANG_WORKSPACE_ROOT=/absolute/path/to/workspace node dist/src/index.js
Current source exposes read-only Solve Context tools including:
solvelang_context_plan
solvelang_context_pack
solvelang_context_retrieve
solvelang_context_handoff
solvelang_context_handoff_validate
solvelang_context_compact_structured
solvelang_context_expand_rle
solvelang_context_capabilities
The MCP server remains local/read-only by default for these context operations. A hosted remote endpoint, provider proxy, repository write path or production deployment is a separate authority boundary.
Run Solve Context evaluations
From packages/mcp-server:
npm run eval:context
npm run eval:context:repository
npm run eval:context:independent
npm run test:context-agent-eval-cli
The first command is synthetic. The repository/independent suites use pinned source snapshots. None of them is a real Claude/Codex token-savings result.
To summarize separately collected approved real-agent records:
cat approved-agent-run-records.json | npm run eval:context:agent-records
The summarizer itself performs no provider/network call and uses no credentials. Real records must use the same fixture/provider/model/agent/record class, outcome basis and required-evidence denominator across baseline and Solve Context arms. Public percentage/comparative claims remain disabled until the full acceptance matrix is complete.
Example workflow
// Support ticket triage for a founder-led team.
let ticket = {
customer: "Acme Labs",
topic: "billing",
priority: "urgent",
plan: "pro"
}
print("Support triage")
print("Customer: " .. ticket.customer)
if ticket.priority == "urgent" {
print("Action: escalate to founder today")
} else {
print("Action: add to normal support queue")
}
if ticket.topic == "billing" {
print("Owner: finance operations")
} else {
print("Owner: support operations")
}
This example is intentionally deterministic. It demonstrates readable business rules without pretending that every decision requires AI.
Run it with:
cd solvec
cargo run -- run ../examples/support_triage.solve
Explicit local modules
SolveLang 0.1 supports local modules while keeping the older flattened include form as a distinct compatibility mechanism.