mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-16 06:02:46 +00:00
834 B
834 B
Examples Instructions
Docker Isolation
- Docker examples must behave like standalone sandboxes.
- Do not bind mount host files or host directories into Docker example containers.
- If an example needs tools, skills, or MCP servers, install them inside the container during setup.
Testing Examples (ACP v1)
Examples should be validated against v1 endpoints:
- Start the example:
SANDBOX_AGENT_DEV=1 pnpm start - Pick a server id, for example
example-smoke. - Create ACP transport by POSTing
initializeto/v1/acp/example-smoke?agent=mock(or another installed agent). - Open SSE stream:
GET /v1/acp/example-smoke. - Send
session/newthensession/promptviaPOST /v1/acp/example-smoke. - Close connection via
DELETE /v1/acp/example-smoke.
v1 reminder:
/v1/*is removed and returns410 Gone.