Build with AI agents
An AI agent can do anything in your workspace that you can, but only with the access you give it. It acts as you, and the audit log records everything it does.
There are three ways to connect one, from the least setup to the most:
| Your agent | Use |
|---|---|
| Claude, ChatGPT or another app with MCP | The MCP server. Nothing to install. |
| A coding agent with a terminal | The CLI, with --json. |
| Your own software | The API or the SDK. |
Agents work in test
Section titled “Agents work in test”Through the MCP server and the CLI alike, an agent works in test
unless you tell it to use live. Test limits and counts are separate
from live ones, so a mistake the agent makes while trying things out
never refuses one of your real customers. Every response the agent gets
names its environment, Environment: test or Environment: live.
Test and live has more.
MCP server
Section titled “MCP server”Add https://mcp.limitry.com/mcp to your agent as a remote MCP server.
The first time it connects, you sign in through your browser and choose
one workspace and what the agent may do there. You also choose
whether it works in Test or Live by default. It can’t do
anything else. MCP server has the details and the
safeguards.
Claude Code and Codex work well with the CLI, and so does any coding agent with a terminal, such as Cursor, GitHub Copilot, Windsurf, Gemini CLI, Antigravity or OpenCode:
npm install -g @limitry/clilimitry login # you approve it in the browserlimitry workspace list --jsonlimitry workspace webhook-endpoints list --workspace acme --jsonWith --json, the agent gets exactly the JSON the API returns. Errors go
to stderr as JSON. The exit code is 0 on success and 1 on failure. A
wrong command or flag exits 2. It exits 4 when the agent isn’t logged
in, and 5 when Limitry refuses a limitry check. The CLI
lists them.
In CI, or in a sandbox with no browser to sign in with, set
LIMITRY_TOKEN to a personal access token
instead. Create it with Manage limits when the agent sets limits up,
or Check limits when it only checks. To act in
live, the agent passes --environment live, or you set
LIMITRY_ENVIRONMENT=live.
Teach your agent: the skill
Section titled “Teach your agent: the skill”The agent skill teaches an agent everything on this page: how to sign in, how to choose the workspace, every operation, the error codes, and what to leave to a person. It also explains how Limitry works, from test and live to limits, checks and reservations, and how to add Limitry to a codebase. We generate it from the API, so it never goes out of date.
The quickest way to use it is to tell your agent to read it. This works in any coding agent and needs nothing installed:
Read https://limitry.com/docs/skill/SKILL.md and follow it.To have the skill in every session, install it:
npx skills add limitry/limitry-skillsThe command installs the skill from our public
skills repository for the
agents you pick, such as Claude Code or Codex
(every agent it supports).
Run it again to update. If you use the GitHub CLI, run
gh skill install limitry/limitry-skills limitry instead.
In Claude Code, you can instead install it as a plugin that also adds the MCP server:
/plugin marketplace add limitry/limitry-skills/plugin install limitry@limitry-skillsYou can also read the files directly:
SKILL.md,
tools.md and
cli.md.
Without writing code
Section titled “Without writing code”If you don’t write code, you can still work in your workspace through the agent you already use: Claude, ChatGPT, or an agent that keeps working while you’re away. Use Limitry with your AI agent shows how, step by step.
- Add a custom connector with the address
https://mcp.limitry.com/mcp, and sign in when the agent asks. In Claude, connectors are under Customize → Connectors. In ChatGPT, custom MCP servers are added at chatgpt.com/plugins. The MCP server page has each app’s steps. Choose Live to ask about your real customers. - Download the skill and add it to the agent’s skills. In Claude and ChatGPT, skills are in the settings too. On a team plan, an owner can add the skill for everyone.
Then ask for what you need in your own words, such as “Which customers are close to their limit this month?” If the agent works while you’re away, the skill tells it to ask for your approval and carry on instead of waiting.
Docs for agents
Section titled “Docs for agents”The docs also come as plain text. /docs/llms.txt
lists every page, and /docs/llms-full.txt has
all of them in one file. The site’s
/llms.txt links to both, and to the
API, the MCP server and the skill.
What agents can’t do
Section titled “What agents can’t do”Even with full access, an agent connected through MCP can’t send your workspace’s data somewhere new or hand out access by itself, for example by creating an API key or a webhook endpoint. It can’t add credits or copy limits from test to live either. For these, the agent asks instead, and you approve or deny the request in the app. Approvals explains how. If the action creates a secret, the agent never sees it.
A coding agent that uses your own token or the command line acts as you. If you can add credits or change a webhook endpoint, so can it. Creating an API key and copying limits to live still need an approval, because the API has no direct way to do them.
| Action | Agent connected through MCP | Coding agent with your token or the command line |
|---|---|---|
| Add credits | Asks | Acts as you |
| Add, change or remove a webhook endpoint | Asks | Acts as you |
| Create an API key | Asks | Asks |
| Copy limits from test to live | Asks | Asks |