mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-20 15:01:26 +00:00
documentation cleanup and docs.json addition
This commit is contained in:
parent
ab3ff01b0e
commit
a0cafac0d4
6 changed files with 16 additions and 9 deletions
|
|
@ -56,13 +56,13 @@
|
||||||
"deploy/local",
|
"deploy/local",
|
||||||
"deploy/e2b",
|
"deploy/e2b",
|
||||||
"deploy/daytona",
|
"deploy/daytona",
|
||||||
"deploy/agentcomputer",
|
|
||||||
"deploy/vercel",
|
"deploy/vercel",
|
||||||
"deploy/cloudflare",
|
"deploy/cloudflare",
|
||||||
"deploy/docker",
|
"deploy/docker",
|
||||||
"deploy/modal",
|
"deploy/modal",
|
||||||
"deploy/boxlite",
|
"deploy/boxlite",
|
||||||
"deploy/computesdk"
|
"deploy/computesdk",
|
||||||
|
"deploy/agentcomputer"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -68,6 +68,13 @@ icon: "rocket"
|
||||||
server --no-token --host 0.0.0.0 --port 2468
|
server --no-token --host 0.0.0.0 --port 2468
|
||||||
```
|
```
|
||||||
</Tab>
|
</Tab>
|
||||||
|
|
||||||
|
<Tab title="Agent Computer">
|
||||||
|
```bash
|
||||||
|
export COMPUTER_API_KEY="ac_live_..."
|
||||||
|
# Agent auth usually stays inside your managed-worker image or default machine source.
|
||||||
|
```
|
||||||
|
</Tab>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
|
||||||
<AccordionGroup>
|
<AccordionGroup>
|
||||||
|
|
@ -173,7 +180,7 @@ icon: "rocket"
|
||||||
|
|
||||||
<AccordionGroup>
|
<AccordionGroup>
|
||||||
<Accordion title="Configuring token">
|
<Accordion title="Configuring token">
|
||||||
Tokens are usually not required. Most sandbox providers (E2B, Daytona, etc.) already secure networking at the infrastructure layer.
|
Tokens are usually not required. Most sandbox providers (E2B, Daytona, Agent Computer, etc.) already secure networking at the infrastructure layer.
|
||||||
|
|
||||||
If you expose the server publicly, use `--token "$SANDBOX_TOKEN"` to require authentication:
|
If you expose the server publicly, use `--token "$SANDBOX_TOKEN"` to require authentication:
|
||||||
|
|
||||||
|
|
@ -298,7 +305,7 @@ icon: "rocket"
|
||||||
Configure in-memory, Rivet Actor state, IndexedDB, SQLite, and Postgres persistence.
|
Configure in-memory, Rivet Actor state, IndexedDB, SQLite, and Postgres persistence.
|
||||||
</Card>
|
</Card>
|
||||||
<Card title="Deploy to a Sandbox" icon="box" href="/deploy/local">
|
<Card title="Deploy to a Sandbox" icon="box" href="/deploy/local">
|
||||||
Deploy your agent to E2B, Daytona, Docker, Vercel, or Cloudflare.
|
Deploy your agent to E2B, Daytona, Docker, Vercel, Cloudflare, or Agent Computer.
|
||||||
</Card>
|
</Card>
|
||||||
<Card title="SDK Overview" icon="compass" href="/sdk-overview">
|
<Card title="SDK Overview" icon="compass" href="/sdk-overview">
|
||||||
Use the latest TypeScript SDK API.
|
Use the latest TypeScript SDK API.
|
||||||
|
|
|
||||||
|
|
@ -98,9 +98,9 @@ await sdk.destroySandbox(); // provider-defined cleanup + disposes client
|
||||||
| `sandbox-agent/docker` | Docker container |
|
| `sandbox-agent/docker` | Docker container |
|
||||||
| `sandbox-agent/e2b` | E2B sandbox |
|
| `sandbox-agent/e2b` | E2B sandbox |
|
||||||
| `sandbox-agent/daytona` | Daytona workspace |
|
| `sandbox-agent/daytona` | Daytona workspace |
|
||||||
| `sandbox-agent/agentcomputer` | Agent Computer managed worker |
|
|
||||||
| `sandbox-agent/vercel` | Vercel Sandbox |
|
| `sandbox-agent/vercel` | Vercel Sandbox |
|
||||||
| `sandbox-agent/cloudflare` | Cloudflare Sandbox |
|
| `sandbox-agent/cloudflare` | Cloudflare Sandbox |
|
||||||
|
| `sandbox-agent/agentcomputer` | Agent Computer managed worker |
|
||||||
|
|
||||||
Use `sdk.dispose()` to disconnect without changing sandbox state, `sdk.pauseSandbox()` for graceful suspension when supported, or `sdk.killSandbox()` for permanent deletion.
|
Use `sdk.dispose()` to disconnect without changing sandbox state, `sdk.pauseSandbox()` for graceful suspension when supported, or `sdk.killSandbox()` for permanent deletion.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,12 +21,12 @@ const faqs = [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
question: "Can I run this locally or does it require a sandbox provider?",
|
question: "Can I run this locally or does it require a sandbox provider?",
|
||||||
answer: "Both. Run locally for development, deploy to E2B, Daytona, or Vercel Sandboxes for production.",
|
answer: "Both. Run locally for development, deploy to E2B, Daytona, Vercel, or Agent Computer Sandboxes for production.",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
question: "Does it support [platform]?",
|
question: "Does it support [platform]?",
|
||||||
answer:
|
answer:
|
||||||
"The server is a single Rust binary that runs anywhere with a curl install. If your platform can run Linux binaries (Docker, VMs, etc.), it works. See the deployment guides for E2B, Daytona, and Vercel Sandboxes.",
|
"The server is a single Rust binary that runs anywhere with a curl install. If your platform can run Linux binaries (Docker, VMs, etc.), it works. See the deployment guides for E2B, Daytona, Vercel, and Agent Computer Sandboxes.",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
question: "Can I use this with my personal API keys?",
|
question: "Can I use this with my personal API keys?",
|
||||||
|
|
|
||||||
|
|
@ -83,7 +83,7 @@ export function FeatureGrid() {
|
||||||
<h4 className="text-base font-normal text-white">Runs Inside Any Sandbox</h4>
|
<h4 className="text-base font-normal text-white">Runs Inside Any Sandbox</h4>
|
||||||
</div>
|
</div>
|
||||||
<p className="text-zinc-500 text-sm leading-relaxed">
|
<p className="text-zinc-500 text-sm leading-relaxed">
|
||||||
Lightweight static binary. One curl command to install inside E2B, Daytona, Vercel Sandboxes, or Docker.
|
Lightweight static binary. One curl command to install inside E2B, Daytona, Vercel Sandboxes, Docker, or Agent Computer.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
const integrations = ["Daytona", "E2B", "AI SDK", "Anthropic", "OpenAI", "Docker", "Fly.io", "AWS Nitro", "Postgres", "ClickHouse", "Rivet"];
|
const integrations = ["Daytona", "E2B", "AI SDK", "Anthropic", "OpenAI", "Docker", "Fly.io", "AWS Nitro", "Postgres", "ClickHouse", "Rivet", "Agent Computer"];
|
||||||
|
|
||||||
export function Integrations() {
|
export function Integrations() {
|
||||||
return (
|
return (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue