cma-blaxel-sandbox
llms.txt4 starsChanged 3 months agoMITView on GitHub
Anthropic hosts the agent loop, session state, event history, skills, budgets, and self-hosted work queue. Blaxel runs a webhook orchestrator and one tool-execution sandbox per session.
- Reads credentials
In this repositoryOne other file it gives its agents.
- AGENTS.mdAGENTS.md
The file
We split this llms.txt into the rules it gives an agent
7 rules. About 0 are common, 3 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 7
Read AGENTS.md, README.md, then .env.example.
- Very specific: line 9
Run python3 bootstrap.py --plan before any mutation.
- Very specific: line 10
Run python3 bootstrap.py only with approval for its named Anthropic and Blaxel resource changes.
- Distinctive: line 16
Default session budget: 100 US cents.
- Distinctive: line 43
Use one claimant per self-hosted environment during proof.
- Distinctive: line 44
Do not treat transcript success alone as worker attribution.
- Very specific: line 52
Every session has a hard budget unless --no-budget is explicit.
≈ “Common” is an estimate: at least 1 in 5 of the 1,484 llms.txt files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
# Claude Managed Agents on Blaxel Anthropic hosts the agent loop, session state, event history, skills, budgets, and self-hosted work queue. Blaxel runs a webhook orchestrator and one tool-execution sandbox per session. ## Fast route 1. Read `AGENTS.md`, `README.md`, then `.env.example`. 2. Install `requirements-dev.lock` with `--require-hashes`. 3. Run `python3 bootstrap.py --plan` before any mutation. 4. Run `python3 bootstrap.py` only with approval for its named Anthropic and Blaxel resource changes. 5. Prove direct dispatch before the webhook path. ## Current contract - Default model: `claude-sonnet-5`. - Default session budget: 100 US cents. - Anthropic beta: `managed-agents-2026-04-01`. - Anthropic Python SDK: `1.x`. - Anthropic CLI: `1.26.1` for local administration; workers use the SDK. - Blaxel Python SDK: `0.4.1`. - Event handling: SDK stream, `session.error` failure, complete paginated reconciliation. - Self-hosted session resources: memory stores are supported by the SDK worker; stage file and repository inputs in the application. ## Key commands ```bash python3 bootstrap.py --plan python3 example/run_session.py --direct-dispatch python3 example/run_session.py python3 example/run_session.py --direct-dispatch --scenario advisor python3 example/run_session.py --direct-dispatch --scenario skill --skill-name xlsx python3 example/demo_preview_resume.py python3 example/validate_long_session.py python3 cookbook.py status python3 cookbook.py cleanup --session sesn_... ``` ## Proof rules - `EXAMPLE: PASS` proves deterministic session behavior. - The usage receipt proves resolved model, tokens, list cost, and active time. - A matching `cma-worker-*` and `cma-run-*` process proves Blaxel attribution. - Use one claimant per self-hosted environment during proof. - Do not treat transcript success alone as worker attribution. ## Safety - Keep `ANTHROPIC_API_KEY` local. - The SDK worker prefers a session-scoped work secret, retains the environment key as fallback, and scrubs both from agent-run bash. - File tools stay under `/workspace`; bash remains a shell inside the container. - Private previews are the default. Public preview requires `--public-preview`. - Every session has a hard budget unless `--no-budget` is explicit. - Cleanup is plan-only unless `--apply` is explicit. - Cleanup targets one session, worker, and optional Volume. It waits for confirmed absence. ## Key files - `example/session_runtime.py`: streaming, pagination, budgets, errors, timeouts, receipts. - `example/run_session.py`: verified hello, advisor, skill, memory, and multi-turn scenarios. - `example/ag-ui/`: official AG-UI adapter wiring with one thread per managed session. - `orchestrator/app.py`: signed webhook, bounded dispatch, recovery, health, readiness. - `worker/Dockerfile`: quickstart and full profiles. - `cookbook.py`: status and exact cleanup. - `GUIDE.md`: production design, security, operations, and troubleshooting.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

