rig
rig is a single-binary AI agent framework that integrates any OpenAI-compatible LLM directly into the terminal. It reads and edits code files, runs tests, executes multiple tool calls concurrently, delegates long-running tasks to sandboxed background workers, schedules recurring jobs on cron, and supports custom Python plugins. The agent learns facts across sessions without prompt degradation due to persistent caching, and sessions can be paused and resumed over SSH from any device. rig is MIT-licensed, requires no runtime dependencies, and works with local models (llama.cpp, Ollama) or cloud endpoints (OpenRouter, OpenAI-compatible APIs).
rig is an AI agent, integrating with llama.cpp, llama-swap, Ollama and OpenRouter. InnovaAI rates it 4.7 of 10 for agency adoption, best for Tech Lead / CTO, Developer and Project Manager roles.
Agency Audit
rig is a single-binary AI agent framework that turns any OpenAI-compatible LLM into a coding assistant capable of reading, editing, and testing codebases autonomously. It runs locally or self-hosted, supports concurrent tool execution, background workers, cron scheduling, and Python plugins. For technical agencies with in-house development teams, rig eliminates manual handoffs between developers and AI by embedding the agent directly in the terminal workflow, reducing context-switching and accelerating repetitive coding tasks like test runs, refactoring, and documentation updates.
5recommended
30/mo
Open source, so the cost is your hosting
Moderate
Illustrative scenario. Not a guarantee. Net capacity is not modeled: the software is open source, and hosting costs depend on your setup. Hours saved come from the service estimate; implementation, taxes, and unprovided usage charges are excluded.
- Tech Lead / CTO handling automated test execution and failure triage
- Developer handling codebase refactoring and boilerplate generation
- Project Manager handling background task scheduling and monitoring
- Your development team is small (1-2 engineers) or works on non-code projects; the setup and maintenance overhead of managing a local model and agent framework outweighs the time savings.
- Your agency outsources all development work to contractors or freelancers and does not maintain an in-house codebase that would benefit from persistent, session-aware automation.
- Your team relies exclusively on cloud LLMs (OpenAI, Anthropic) and lacks the infrastructure or appetite to run local models; rig's core value proposition (caching, offline resumption, self-hosted control) is lost.
Internal Adoption Path
Open source, so the cost is your hosting
30 hr/mo
5 seats × 6 hr each
$2,250/mo
modeled at $75/hr labor rate
Open source, so the cost is your hosting
Illustrative scenario. Not a guarantee. Subscription cost and net capacity are not modeled: the software is open source, and hosting costs depend on your setup. Implementation, taxes, and unprovided usage charges are excluded.
Platform Features
Core capabilities of rig
Autonomous codebase reading and editing
rig reads and modifies code files directly from the terminal without requiring manual file selection or copy-paste. Developers and tech leads save time on context-gathering and can delegate refactoring, test fixes, and documentation updates to the agent in a single command.
Concurrent tool execution with ordered results
Multiple file reads, grep searches, and test commands run in parallel and return results in call order, collapsing what would be sequential terminal commands into a single round trip. Developers avoid context-switching delays when gathering information before asking the agent to act.
Sandboxed background workers with cron scheduling
Long-running tasks like full test suites, nightly audits, or health checks delegate to isolated worker processes that keep a transcript. Project managers and tech leads schedule recurring jobs on real cron without blocking interactive development, and can resume or inspect worker output asynchronously.
Session resumption over SSH from any device
Developers can pause an agent session on their workstation and resume it from a phone or tablet over SSH, preserving the agent's learned facts and task state. This unblocks asynchronous work and reduces friction for distributed or mobile-first teams.
Single-file Python plugins for custom tools
Teams extend rig with domain-specific tools (linters, deployment scripts, security checks) by writing a single Python file with a description, schema, and handler. Tech leads codify team standards without maintaining a fork or waiting for upstream updates.
Local-first model support with persistent caching
rig works with llama.cpp, Ollama, OpenRouter, and any OpenAI-compatible endpoint, and caches 99% of tokens across sessions. Teams running local models avoid cloud API costs and vendor lock-in while maintaining full offline capability and data privacy.
What Makes rig Different
Unique advantages vs similar tools in this niche
Single binary with no runtime dependencies and a few-hundred-line agent loop
vs Heavier agent frameworks requiring Node, Python, or container runtimesThe homepage states '417 lines is the whole agent loop, batch included' and 'no Go, no sudo'.
99% token cache hit rate across thousands of real turns
vs Agents that resend full context each turn and inflate costThe homepage claims '99% of every token served from cache, over thousands of real turns'.
Self-updating binary via rig -update
vs Manual reinstall or package-manager upgradesThe homepage shows 'rig -update keeps the runtime current' and 'updates itself in place'.
Value Equation
Outcome-likelihood-time-effort assessment for rig
Value math requires real pricing
The Value Equation (dream outcome × likelihood ÷ time × effort) feeds directly into ROI math. rig has no published pricing, so we hold this section until real numbers are available.
Contact rigPricing
rig platform cost to your agency
Open source
rig is open source and free to self-host. Your agency's cost is the hosting it runs on.
Reality Check
rig requires your team to adopt terminal-based workflows and maintain familiarity with the agent's task-board syntax and session-resumption patterns. Payoff is highest for teams already running local or self-hosted models; teams relying solely on cloud APIs will see less operational advantage since rig's caching and offline-resume benefits depend on persistent local infrastructure.
Moderate effort: standard configuration with some customization needed
How This Accelerates White-Label Services
Who It's For
- ✓agencies-with-in-house-development-teams
- ✓technical-agencies-running-local-or-self-hosted-models
- ✓teams-automating-repetitive-coding-and-testing-tasks
Acceleration Steps
- 1Create your account and complete setup wizard
- 2Configure read and edit codebases autonomously from the terminal
- 3Connect llama.cpp
- 4Launch your first client project
Academy for rig
Work through it in order: the course for this service first, then the modules behind it.
Course for this service
Rig Agency Implementation, Productized AI Code Automation
Learn how to package Rig's autonomous codebase reading, concurrent tool execution, and background worker scheduling into retainer services for development teams. This course covers client onboarding workflows, custom Python plugin development for agency-specific tasks, and pricing models for ongoing code maintenance and test automation delivered through the agent.
Open the courseNo Academy modules are published for this service yet. Browse the full Academy
Why this category matters
The commercial case before the tooling.
Core concepts
The mental model you need to price and scope the work.
- Wiring Premium SplitConcept
Wiring Premium Split separates what an AI agent does from what it takes to make that agent work inside one client's business. The agent layer is commodity: Vendasta, Lindy, and Gumloop each ship pre-built or near-pre-built workers that an agency can deploy in days. The premium sits in the connection work: mapping the agent to a client's CRM fields, calendar rules, approval thresholds, and review cycle. Agencies that bill for the agent alone compete on price, and Forrester argues that falling AI costs are removing price as a differentiator, so clients will ask whether a tool delivers measurable outcomes. Agencies that bill for the wiring and its ongoing upkeep can sustain retainers, because each client's configuration is specific and costly to move. Example: a lead-capture agent that writes to a client's CRM with the wrong pipeline stage mapping can cost more in cleanup than the agent saves. Price the wiring, audit it monthly, and treat the agent itself as replaceable.
- Agent Blast RadiusConcept
Blast radius measures how much client damage one agent's credentials can cause before a person notices. A finished agent arrives with access to a client's inbox, CRM, calendar, or payment rails, and the agency inherits whatever scope that connection grants. Agencies that size scope before deployment treat each connector as a permission budget: read-only for research agents, draft-only for outreach, and approval-gated for anything that moves money or changes a live system. Lindy reads and drafts across Gmail, Outlook, and Slack, so a single broad grant reaches the whole inbox. Gumloop deployments into Slack and Gmail carry the same exposure. Federal investigators reported an open-source hacking tool breaching networks in under three hours, which leaves little window for detection. A retainer that promises client-side automation should price scope review into the setup fee rather than treat it as an afterthought.
- Agent Commodity DecayConcept
Agent Commodity Decay tracks how fast the agent itself loses pricing power while the client-specific wiring keeps its value. When an agent ships as a prebuilt product, such as the six pre-built roles in Vendasta's white-label workforce or Lindy's inbox triage and scheduling, any agency can license a comparable one within a quarter. Forrester's November 2026 argument that falling AI costs remove the last excuse for weak tools points the same way: price stops differentiating and problem fit decides what survives. Agencies should therefore price the decaying layer near zero and bill for the parts that do not decay, such as CRM field mapping, approval thresholds, and the review cycle with each client. A practical test is to estimate how many weeks a competitor would need to copy a deployment. If the answer is under four, the deployment is a commodity, and the retainer has to rest on the client-specific layer beneath it.
Decision and risk
How to judge the fit, and the ways it goes wrong.
- AI Agents Rule: Price the Client Wiring, Not the AgentEvaluation Rule
Buy the agent only after you have mapped how its output enters each client's CRM, calendar, and review step, and bill that mapping work as its own retainer line.
- AI Agents Rule: Set Autonomy Limits Before Any Agent Touches Client AccountsEvaluation Rule
Grant each agent read-only access and an approval gate on every external action until it has completed several review cycles with an error rate the client has signed off on in writing.
- Resell Packaged AI Agents vs Wire Agents Into Client SystemsDecision Framework
IF the client's gap is one generic workflow, such as lead capture, review requests, or booking, THEN resell a packaged agent under the agency's own brand, the model white-label platforms like Vendasta and Pickaxe are built for. IF the agent's value depends on the client's CRM, calendar, and approval chain, THEN treat the agent as a replaceable component and bill the integration and review cycle on retainer.
- The Wiring Gap Trap: Why Agencies Stall When AI Agents Stay Unconnected to Client SystemsFailure Pattern
- Why Agencies Lose Retainer Margin on Resold AI Agents When Vendor Seat Pricing Outruns Client ValueFailure Pattern
Delivery system
Blueprints and procedures for running it as a service.
- Client Agent Wiring Sprint (7-10 days)Implementation Blueprint
A fixed-scope sprint that connects a pre-built AI agent to a client's CRM, calendar, and review cycle so it runs inside the client's real workflow from day one. The agency sells the integration, governance, and ongoing tuning around a commodity agent, which is where the recurring retainer comes from.
- Data Readiness Gate (Onboarding)Operating Procedure
- Client Output Review Cycle (Delivery)Operating Procedure
- Agent Escalation Handoff (Handoff)Operating Procedure
13 modules selected for rig
Frequently Asked Questions
Answers about pricing, setup, implementation
rig is a lightweight AI agent framework that runs as a single binary and turns any OpenAI-compatible LLM into a coding assistant. It reads and edits codebases autonomously, runs tests, executes tool calls concurrently, delegates long-running tasks to sandboxed workers, schedules recurring jobs on cron, and supports custom Python plugins. Sessions persist across device boundaries and can be resumed over SSH, and the agent learns facts across turns without prompt degradation.
rig is distributed under the MIT license and is free to download, install, and use. There is no per-seat pricing, subscription, or commercial license required for internal adoption by agencies.
Tech leads and CTOs benefit by embedding the agent directly in their development workflow and avoiding vendor lock-in through local model support. Developers save time on repetitive coding tasks like test runs and refactoring. Project managers and operations staff reduce handoff friction by keeping agent coordination in the terminal. Founders of technical agencies lower operational costs by automating internal coding work without cloud API fees.
Conservative estimate is 4-8 hours per developer per month, depending on the volume of repetitive coding tasks (test runs, boilerplate refactoring, documentation updates) that the team delegates to the agent. Teams running local models and scheduling background workers see higher savings because they avoid context-switching and API latency. Actual payoff depends on adoption discipline and the team's willingness to frame work as agent-delegable tasks rather than manual coding.
Yes, rig supports any OpenAI-compatible endpoint, including OpenAI, Anthropic (via OpenRouter), and other cloud providers. However, rig's core advantages (persistent caching, offline resumption, data privacy, cost control) are most pronounced when running a local model like llama.cpp or Ollama. Cloud-only teams will still benefit from concurrent tool execution and session resumption, but will not recoup the setup overhead as quickly.
Installation takes 2-5 minutes (one curl command). Configuration requires editing three JSON files to specify your model endpoint, token budgets, and optional worker settings, which takes 10-20 minutes for a tech lead. Onboarding developers to the terminal workflow and task-board syntax typically takes 1-2 hours of hands-on training. Total time to production for a 5-person dev team is roughly 4-6 hours.