Get started with your agent
Give a coding agent one prompt and it takes a project from nothing to a working Meadow call: a sandbox command and a model call. This page has the prompt, the docs files made for agents, and a rules snippet for your repository.
Next step: copy the prompt below into Claude Code, Codex, Cursor, or another coding agent that can run shell commands.
To let the agent manage sandboxes, images, keys, and usage through tools, add the MCP server.
Before you start
The agent needs three things that only you can give it:
- The
mdwCLI on yourPATH. Runmdw helpto check. MEADOW_BASE_URLandMEADOW_API_KEYset in the shell the agent runs in.- One model provider key and one sandbox provider key stored with Meadow. See Provider keys. Store them yourself, in your own terminal. Do not paste a provider key into an agent chat.
Give the agent a key with the fewest scopes that work. The prompt below needs models, sandboxes, and admin. admin is needed only for the check in step 2, so you can leave it out and tell the agent that your provider keys are stored. See Authentication.
What you can install today
During the private beta nothing is on a package index. Your Meadow contact sends you the files. Clients has the detail.
The names in the “Later” column do not work today. Do not run pip install meadow: that name on PyPI belongs to an unrelated project.
Model calls need no Meadow client at all. The official OpenAI and Anthropic SDKs work with two changes, the base URL and the key. The prompt uses them.
The prompt
Copy all of it.
What a run looks like
We ran the commands of steps 2 to 6 on the hosted beta on 2026-11-28 (UTC), with a Google key, an Anthropic key, and a Daytona key stored. The Python scripts are the two snippets of step 5 with the model ID and one message filled in.
The create printed the sandbox as JSON with "status": "running" and "provider": "daytona", and the last command printed it with "status": "terminated". The SDK versions were openai 3.60.0 and anthropic 2.14.0.
Not run: the prompt as a whole inside a coding agent. The commands were run by hand, in order.
Give your agent the docs
The docs site serves files made for agents:
Since 2026-11-28 the docs site needs no login, so an agent can fetch these addresses itself. On 2026-11-28 all three answered 200 without a login: /llms.txt as text, /get-started/quickstart.md as Markdown, and /openapi.yaml as YAML.
Two other ways to hand over the docs:
- The “Copy page” button at the top of each page copies the page as Markdown. Paste it into the agent.
- Ask your Meadow contact for
llms-full.txtand the OpenAPI file, and put them in your repository where the agent can read them.llms-full.txtis every page of these docs in one Markdown file, about 400 KB. The docs site does not serve it.
Rules for your repository
Coding agents read a rules file at the start of every session. Add this block to the one your agent reads:
For a Cursor rule file, put this above the block:
The file locations come from each tool’s own docs. We have not tested how each agent loads them.
Next
- MCP server: tools for sandboxes, images, keys, and usage inside your agent.
- Use your existing tools: Claude Code and the Codex CLI with Meadow as the model endpoint.
- Run a coding agent in a sandbox: the agent itself runs inside a sandbox.
- Errors: every error type and when a retry is safe.
Operations used on this page: listProviderKeys, listModels, createSandbox, execInSandbox, createChatCompletion, createMessage, deleteSandbox, getSandbox.