Sign inSign up

dblock247/sbx-kit-pi:v1.0.0

Manifest digest

sha256:11b97bb82fac0ea9b200d1ee70964767fa5d90ba064192abda433a1c6a360110

Last pushed

about 18 hours by dblock247

Type

Sandbox Kit

Manifest digest

sha256:11b97bb82fac0ea9b200d1ee70964767fa5d90ba064192abda433a1c6a360110

yaml
schemaVersion: "2"
kind: sandbox
name: pi
displayName: Pi
description: The Pi coding agent.
sandbox:
    image: dblock247/sbx-template:latest
    entrypoint:
        - pi
    resources:
        memory: 4096m
permissions:
    network:
        allow:
            - pi.dev:443
            - auth.openai.com
            - api.openai.com
            - chatgpt.com
            - registry.npmjs.org
            - builds.dotnet.microsoft.com
            - download.docker.com
            - dot.net
            - raw.githubusercontent.com
            - github.com
            - aka.ms
            - ci.dot.net
            - mcp.exa.ai
            - github.com
            - api.github.com
            - api.individual.githubcopilot.com
            - emqx.elbee.dev
            - api.nuget.org
environment:
    variables:
        AI_AGENT: pi
        DOCKER_SANDBOXES_DOCKER_SIZE: 10g
        DOTNET_ROOT: /home/agent/.dotnet
        IS_SANDBOX: "1"
        OPENSRC_HOME: /home/agent/.opensrc
        PI_CODING_AGENT: "true"
        PI_CODING_AGENT_DIR: /home/agent/.pi
        PI_SKIP_VERSION_CHECK: "0"
        PI_TELEMETRY: "0"
        PI_TRUE_COLOR: "1"
setup:
    install:
        - command: |-
            npm install -g @earendil-works/pi-coding-agent @angular/cli
            pi install npm:@dietrichgebert/ponytail --no-approve
            pi install npm:pi-subagents --no-approve
            pi install npm:pi-web-access --no-approve
            pi install npm:pi-intercom --no-approve
            npm install -g opensrc
          user: "1000"
          description: Install Pi coding agent & extensions
    startup:
        - command:
            - sh
            - -c
            - pi
            - update
            - --all
          user: "1000"
          description: Updating Pi Agent and Extension