|
| 1 | +# PicoClaw — Personal AI Agent Stack |
| 2 | +# |
| 3 | +# PicoClaw is an open-source personal AI assistant (Go, MIT). |
| 4 | +# Repo: https://github.com/sipeed/picoclaw |
| 5 | +# |
| 6 | +# The launcher container provides: |
| 7 | +# - Web UI (picoclaw-launcher) on port 18800 — configure agents, channels, etc. |
| 8 | +# - Gateway HTTP server on port 18790 — webhook endpoint for chat channels |
| 9 | +# |
| 10 | +# The editor (VS Code, ttyd, etc.) is chosen separately in the dashboard |
| 11 | +# and injected into the tools container. |
| 12 | +# |
| 13 | +# First boot: open the web UI endpoint and run `picoclaw onboard` |
| 14 | +# in the terminal to configure your API key, then restart the workspace. |
| 15 | + |
| 16 | +schemaVersion: 2.2.2 |
| 17 | +metadata: |
| 18 | + name: picoclaw |
| 19 | + displayName: PicoClaw Personal AI Agent |
| 20 | + description: A personal AI agent running in your workspace. Connect to 30+ LLM providers and interact via web UI or terminal. |
| 21 | + icon: https://raw.githubusercontent.com/sipeed/picoclaw/main/web/frontend/public/favicon.svg |
| 22 | + tags: |
| 23 | + - AI |
| 24 | + - Agent |
| 25 | + - Terminal |
| 26 | + - PicoClaw |
| 27 | + projectType: AI |
| 28 | + language: Polyglot |
| 29 | + version: 1.0.0 |
| 30 | + |
| 31 | +attributes: |
| 32 | + controller.devfile.io/storage-type: per-workspace |
| 33 | + |
| 34 | +components: |
| 35 | + - name: tools |
| 36 | + container: |
| 37 | + image: quay.io/devfile/universal-developer-image:ubi9-latest |
| 38 | + memoryLimit: 1Gi |
| 39 | + memoryRequest: 256Mi |
| 40 | + mountSources: true |
| 41 | + |
| 42 | + # PicoClaw launcher container. |
| 43 | + # Runs the web UI (port 18800) and gateway (port 18790). |
| 44 | + # Config persists in the PVC at /home/user/.picoclaw. |
| 45 | + - name: picoclaw |
| 46 | + container: |
| 47 | + image: docker.io/sipeed/picoclaw:launcher |
| 48 | + mountSources: false |
| 49 | + memoryRequest: 128Mi |
| 50 | + memoryLimit: 512Mi |
| 51 | + env: |
| 52 | + - name: HOME |
| 53 | + value: /home/user |
| 54 | + - name: PICOCLAW_GATEWAY_HOST |
| 55 | + value: "0.0.0.0" |
| 56 | + endpoints: |
| 57 | + - name: webui |
| 58 | + targetPort: 18800 |
| 59 | + exposure: public |
| 60 | + protocol: https |
| 61 | + attributes: |
| 62 | + cookiesAuthEnabled: true |
| 63 | + discoverable: false |
| 64 | + urlRewriteSupported: false |
| 65 | + - name: gateway |
| 66 | + targetPort: 18790 |
| 67 | + exposure: public |
| 68 | + protocol: https |
| 69 | + attributes: |
| 70 | + cookiesAuthEnabled: true |
| 71 | + discoverable: false |
| 72 | + urlRewriteSupported: false |
| 73 | + volumeMounts: |
| 74 | + - name: picoclaw-data |
| 75 | + path: /home/user/.picoclaw |
| 76 | + |
| 77 | + - name: picoclaw-data |
| 78 | + volume: |
| 79 | + size: 1Gi |
| 80 | + |
| 81 | +commands: |
| 82 | + - id: onboard |
| 83 | + exec: |
| 84 | + label: "Configure PicoClaw (onboard)" |
| 85 | + component: picoclaw |
| 86 | + commandLine: picoclaw onboard |
| 87 | + workingDir: /home/user |
| 88 | + - id: status |
| 89 | + exec: |
| 90 | + label: "Show PicoClaw status" |
| 91 | + component: picoclaw |
| 92 | + commandLine: picoclaw status |
| 93 | + workingDir: /home/user |
| 94 | + - id: start-gateway |
| 95 | + exec: |
| 96 | + label: "Start PicoClaw gateway" |
| 97 | + component: picoclaw |
| 98 | + commandLine: picoclaw gateway --host '[::]' |
| 99 | + workingDir: /home/user |
0 commit comments