Pre-alpha · Linux · MIT

Controlled execution
for AI agents

Give agents enough access to complete the task — never unlimited access to the machine. Scopra runs commands in an approved workspace, inside a rootless container, with limits, and never stores what ran.

curl -fsSL https://scopra-six.vercel.app/install.sh | sh

Linux · rootless Podman 4.0+ · systemd user session — the script verifies the release's SHA-256, then opens an interactive installer. Nothing changes until you confirm.

Free and open source · MIT, no pricing model

No telemetry · no account, no phone-home

Local-first · decisions run on your machine

Why Scopra

Least authority by default

An agent gets a workspace, not a shell. Network is off, the mount is read-only unless asked otherwise, the environment is empty, and every run is bounded.

Local enforcement

The decision and the sandbox live on the machine that runs the command. A cloud service can narrow authority; it cannot broaden it.

Structured, not stringly

A request is an executable plus arguments. No shell strings, no PTY, no native fallback, and a canonical hash that binds to the exact action.

Honest about data

The run journal records metadata only: which workspace, which state, how many bytes. Never the command line, never the output.

Fail closed

An unusable registry, journal, socket, or containment setup refuses the operation. Scopra never degrades into something less safe.

Small by construction

One Go module, no external dependencies, two binaries, and a static documentation site with no JavaScript at all.

How it works

  you / an agent
        │  scopra run …
        ▼
  ┌─────────────┐   authenticated    ┌─────────────┐
  │   scopra    │   Unix socket      │   scoprad   │
  │  (Mariner)  │ ─────────────────▶ │    (Mio)    │
  └─────────────┘                    └──────┬──────┘
                                            │ rootless Podman
                                            ▼
                                     ┌─────────────┐
                                     │   Hollow    │
                                     │   sandbox   │
                                     └─────────────┘

Mariner is the CLI: it resolves a workspace, builds the request, streams output, and returns the command's own exit status.

Mio is the daemon: it revalidates the workspace immediately before use, runs exactly one container, and records metadata about the result.

Hollow is the boundary: rootless Podman, no network, no capabilities, no-new-privileges, a read-only root, one bind mount, and explicit limits.

Quick start

  1. Check the host

    ./bin/scopra doctor --sandbox-image alpine@sha256:<digest>

    Doctor is read-only. It reports the platform, state directory, workspace registry, registered workspaces, Mio's endpoint, and whether rootless Podman meets the requirements.

  2. Start Mio

    ./bin/scoprad --sandbox-image alpine@sha256:<digest>

    The image must already be in local storage and pinned by digest. Mio never pulls.

  3. Run something

    ./bin/scopra workspace add ~/src/project
    ./bin/scopra run --workspace <id> -- uname -a
    ./bin/scopra logs

Status

Scopra is pre-alpha. This table is the same one the README keeps, and it is deliberately unflattering.

AreaState
Protocol, IPC, workspace registry, journal, CLItested
Hollow runner and scopra runtested against a fake Podman
Real rootless Podman container executionnot verified
Real systemd user sessionnot verified
Policy, grants, approvals, audit chainnot implemented
Enrollment, relay, cloud control plane, dashboardnot implemented

Security, stated plainly

  • Any process running as you can use the socket — exactly as it can already run commands.
  • A local run is your own action. It grants nothing and approves nothing.
  • Containment is Hollow's container, not systemd's sandbox.
  • The journal is not an audit trail: it is owner-only, bounded, and you can delete it.
  • No telemetry, no account, no license key, no feature gate.

Those limits are documented rather than hidden. The threat model, risk register, and security architecture are part of the repository, and every design decision has an ADR.

To report a vulnerability, follow the security policy. Please do not open a public issue.

Install, every way

The one-liner above is the short version. These are the same installer with the choices spelled out; every flag reaches scopra install unchanged.

  1. Interactive

    curl -fsSL https://scopra-six.vercel.app/install.sh | sh

    The default: a live preflight, a directory field, an optional digest-pinned image, a systemd user-service question, progress, and a summary. If rootless Podman is missing it can install it for you, showing every command first. The install itself never runs sudo and never edits your shell profile.

  2. Scripted, no interface

    curl -fsSL https://scopra-six.vercel.app/install.sh | sh -s -- --yes

    The same install with one line per step, for configuration management and CI. The flags are the answers, so nothing has to be typed.

  3. Pin a version

    curl -fsSL https://scopra-six.vercel.app/install.sh | SCOPRA_VERSION=v0.1.0-alpha.8 sh

    /releases/latest.txt names the current tag. Set SCOPRA_VERSION to repeat an exact install; every tag keeps its own directory of archives.

  4. Choose the directory, skip the service

    curl -fsSL https://scopra-six.vercel.app/install.sh | sh -s -- --dir ~/.local/bin --no-service

    --dir defaults to $XDG_BIN_HOME when it is absolute, otherwise ~/.local/bin. --no-service skips the systemd unit, then the installer checks Podman in the current process context where you will start scoprad.

  5. Pin the sandbox image

    curl -fsSL https://scopra-six.vercel.app/install.sh | sh -s -- --sandbox-image debian@sha256:<digest>

    Mio never pulls an image, so the digest must already be in local storage. Without one, the binaries are installed and every run is refused with containment_unavailable.

  6. Verify the download yourself

    version=$(curl -fsSL https://scopra-six.vercel.app/releases/latest.txt)
    base="https://scopra-six.vercel.app/releases/$version"
    curl -fsSLO "$base/scopra_linux_amd64.tar.gz" -O "$base/checksums.txt"
    grep " scopra_linux_amd64.tar.gz$" checksums.txt | sha256sum -c -
    tar xzf scopra_linux_amd64.tar.gz && ./scopra install

    Same bytes, same check, without the bootstrap script. Use arm64 on ARM. The checksum proves the archive is the published one; it does not prove who published it.

  7. Build from source

    git clone https://github.com/SynergyFlowLabs/scopra
    cd scopra && make bootstrap && make test
    go build -o bin/scopra ./cmd/scopra
    go build -o bin/scoprad ./cmd/scoprad

    Go 1.26.9, one module, no external dependencies. The install guide has the requirements, the exact files an install writes, and troubleshooting.

Start reading