Overview

LagrangeCloud docs

LagrangeCloud runs your agents in the cloud. Build an agent in Codex or Claude Code, or describe one and have it drafted for you, then deploy it. Each agent gets an API endpoint, a Playground, a chat widget for your site, schedules and webhooks, and a trace of every run. LagrangeCloud then looks through those runs for ways to make the agent cheaper and faster, and shows you the numbers before anything changes.

How it works

  1. BuildIn Codex or Claude Code, from a folder, or from a description
  2. DeployA versioned agent with an endpoint, keys and a Playground
  3. RunCalls, the chat widget, schedules and webhooks, each in a sandbox
  4. ImproveCheaper and faster versions found in the traces, for you to approve
and again on new runs

What an agent is

An agent has three layers:

  • Logic: your instructions (AGENTS.md or CLAUDE.md), skills, scripts and data, MCP servers and the secrets they need.
  • Harness: the agent loop that runs the logic: planning, tool use, context management. Agents run on Codex, Claude Code or Lagrange, our own harness, or on a harness you bring.
  • Model: chosen per agent, or per run.

You choose the harness and model when you deploy, and can change them later without touching the logic. Every deploy is a new version on the same endpoint and keys.

Each call runs in an isolated sandbox. The agent's skills and files are unpacked, its setup commands run, then the harness works on the message. Every model call, tool call and log line is recorded as a trace you can open in the console.

The trace of a run in the console: model calls, tool calls, a subagent and context compaction on a timeline
Every run's trace, span by span

Where to start

  • Quickstart: deploy the agent in a folder from inside Codex or Claude Code.
  • Create an agent: upload a folder, describe a new agent, or start from the demo agent.
  • Call your agent: REST, streaming, OpenAI-compatible clients, browser tokens and the chat widget.
  • Improvements: how LagrangeCloud finds cheaper and faster versions of an agent.

Signing in

Open the console and sign in or create an account. Each new account gets an organisation with a default project and trial credit. API keys, secrets, agents and runs belong to a project; credit belongs to the organisation and is shared by its projects. Invite teammates under Settings → Members.