bots-garden/sidekickspublic Fork
⑂ v1.4.0
Commits
⬇ Clone ▾
git clone https://git.rickub.com/bots-garden/sidekicks.git
git clone ssh://git@rickub.com/bots-garden/sidekicks.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Download ZIP
README.md · 24 lines · 1.1 KBmarkdown
Blame HistoryOpen raw

Add a Docker Agent (docker-agent) agent in an sbx sandbox

docker-agent is an agent sbx knows (agent: docker-agent): the sandbox needs no kit. Sidekicks starts it with docker-agent serve acp <agent.yaml>; the agent's file is workspace/agent.yaml.

Before starting it, store the key of the model's provider in sbx, never in a file: sbx secret set anthropic for the model of agent.yaml.

With the assistant: choose In an sbx sandbox and drop sbxenv.yaml: the program docker-agent is chosen from agent: docker-agent, and its arguments are serve acp …/workspace/agent.yaml, the file found in the sandbox's workspace.

  - name: docker-agent
    title: Docker Agent
    icon: "🐳"
    command: sbx
    args: [exec, -i, docker-agent-acp, docker-agent, serve, acp, /Users/me/agents/docker-agent-acp/workspace/agent.yaml]
    workspace: /Users/me/agents/docker-agent-acp/workspace
    runtime:
      type: sbx
      sandbox: docker-agent-acp
      lifecycle:
        folder: /Users/me/agents/docker-agent-acp
        create: [sbx, env, create, --force]
        stop: [sbx, stop, docker-agent-acp]
        remove: [sbx, env, rm, --force]
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Add a Docker Agent (docker-agent) agent in an sbx sandbox

`docker-agent` is an agent sbx knows (`agent: docker-agent`): the sandbox needs no kit. Sidekicks starts it with `docker-agent serve acp <agent.yaml>`; the agent's file is `workspace/agent.yaml`.

Before starting it, store the key of the model's provider in sbx, never in a file: `sbx secret set anthropic` for the model of `agent.yaml`.

With the assistant: choose **In an sbx sandbox** and drop `sbxenv.yaml`: the program `docker-agent` is chosen from `agent: docker-agent`, and its arguments are `serve acp …/workspace/agent.yaml`, the file found in the sandbox's `workspace`.

```yaml
  - name: docker-agent
    title: Docker Agent
    icon: "🐳"
    command: sbx
    args: [exec, -i, docker-agent-acp, docker-agent, serve, acp, /Users/me/agents/docker-agent-acp/workspace/agent.yaml]
    workspace: /Users/me/agents/docker-agent-acp/workspace
    runtime:
      type: sbx
      sandbox: docker-agent-acp
      lifecycle:
        folder: /Users/me/agents/docker-agent-acp
        create: [sbx, env, create, --force]
        stop: [sbx, stop, docker-agent-acp]
        remove: [sbx, env, rm, --force]
```