Deploy your agent. Make every run count.
Run the agent you've already built in the cloud without managing infrastructure. Lagrange handles deployment and execution, then uses data from real runs to identify and test ways to improve speed, cost, and performance.
Deploy this agent to LagrangeCloud
- Read AGENTS.md, 2 skills and a script
- Added MCP servers linear and stripe
- Stored 2 keys as secrets, without printing them
- Deployed support-bot v1 to LagrangeCloud using Codex
Live https://lgr.tensorblock.co/v1/invoke/ag_5d02c7a3b81e
Where is order 42?
It shipped yesterday and arrives Friday.
Take your agent from local to live.
Deploy your existing agent with its instructions, tools, and dependencies. Lagrange handles the infrastructure, stores credentials as secrets, and gives you one place to manage and inspect executions.
Your agentCodex app, Codex CLI or Claude Code
Lagrange CloudHosted execution
Where it runsOne deploy, three ways
$ npx -y @openai/codex plugin marketplace add https://github.com/TensorBlock/lagrange-plugins
$ npx -y @openai/codex plugin add lagrange@tensorblock
Then, in your agent's folder: "Deploy this agent to LagrangeCloud"
$ codex plugin marketplace add https://github.com/TensorBlock/lagrange-plugins
$ codex plugin add lagrange@tensorblock
Then, in your agent's folder: "Deploy this agent to LagrangeCloud"
$ claude plugin marketplace add https://github.com/TensorBlock/lagrange-plugins
$ claude plugin install lagrange@tensorblock
Then, in your agent's folder: /lagrange:deploy
- Endpoint
- /v1/invoke/ag_5d02c7a3b81e
- Harness
- Codex or Claude Code
- Secrets
- 2 keys stored
- Executions
- Every run, inspectable
- From your appCall your agent through an API
POST /v1/invoke - On your websiteMake it available to users
store.example - On a scheduleRun recurring tasks automatically
0 8 * * *
Deploys exactly as you built it. API keys stay in secrets, never in chat.
LagrangeCloud hosts your agent. A harness runs its instructions and tools: Codex or Claude Code today, with our self-improving Lagrange harness coming soon.
AGENTS.md
skills/orders/SKILL.md
skills/refunds/SKILL.md
scripts/lookup_order.py
.codex/config.toml linear, stripe
.env LINEAR_API_KEY, STRIPE_SECRET_KEY
- Instructions
- AGENTS.md
- Skills
- orders, refunds
- Files
- lookup_order.py
- MCP servers
- linear, stripe
- Secrets
- LINEAR_API_KEY, STRIPE_SECRET_KEY
- Harness
- Codex in this example
Infrastructure that improves with your agent.
Learns from every run
Most agent infrastructure stays the same after deployment until someone changes it by hand. Every execution generates data that can reveal better ways to run your agent.
Proposes and tests changes
Lagrange analyzes execution traces to find ways to reduce latency, lower costs, and improve reliability, then tests each change against the current version.
You approve what ships
Review what changed, why it was proposed, and how it performed. Each accepted improvement becomes the baseline for the next round of optimization.
Example
Use a lighter model for classification
Route a straightforward classification step to a smaller model, while keeping the remaining workflow unchanged.
Current and proposed
CurrentProposed
Changes require your approval
Illustrative example, not measured Lagrange results
Each accepted improvement becomes the baseline for the next cycle.
Deploy once
01Deploy
Get your agent running
support-bot v1 liveThen on every run
02Run
Execute real tasks
APIWebsiteSchedule-
03
Trace
Capture execution data
runplanmodeltool · shellsubagentmodelmodeltool · shellverify0s60s120s v1→v2→v3→…
04Improve
Test and approve changes
v2 proposed
Try it on your agent.
Choose how you want to deploy your agent to Lagrange. Then, once it's running, Lagrange will begin collecting execution data and identifying opportunities for improvement.
$ npx -y @openai/codex plugin marketplace add https://github.com/TensorBlock/lagrange-plugins
$ npx -y @openai/codex plugin add lagrange@tensorblock
Then, in your agent's folder: "Deploy this agent to LagrangeCloud"
$ codex plugin marketplace add https://github.com/TensorBlock/lagrange-plugins
$ codex plugin add lagrange@tensorblock
Then, in your agent's folder: "Deploy this agent to LagrangeCloud"
$ claude plugin marketplace add https://github.com/TensorBlock/lagrange-plugins
$ claude plugin install lagrange@tensorblock
Then, in your agent's folder: /lagrange:deploy
Pay for what you use.
$0.05/ sandbox hour
- Free credits to get started
- Model tokens billed separately at list price