---
url: /share.md
---
# Share an agent

Pandra shares agents through infrastructure you already have. The everyday way is a Git repository: push the project, and anyone who can read the repository runs the agent straight from there:

```sh
pandra run github.com/acme/agents/reviewer@v0.1.0 \
    --prompt "Review my changes."
```

To release a built package for CI, container images, or teams without Git, push it to an OCI registry, such as ghcr.io. The `version` in `pandra.toml` becomes the tag:

```sh
pandra push ghcr.io/acme/reviewer
```

If you signed in with `docker login`, Pandra uses that login. If you have not signed in to the registry, see [registry credentials](/share/publishing.md#registry-credentials).

Whichever way you share it, what runs is a package identified by its digest. The first time someone runs an agent from another source, Pandra shows what it contains and asks them to approve it. These steps share the example agent `reviewer` each way:

1. Git: `git push` sends the project, `pandra.toml`, `pandra.lock`, and `instructions.md` among its files, to the repository `github.com/acme/agents`. Others run it with `pandra run github.com/acme/agents/reviewer`.
2. OCI registry: `pandra push ghcr.io/acme/reviewer` builds the project and pushes the package `reviewer 0.1.0` as `ghcr.io/acme/reviewer:0.1.0`. Others run it with `pandra run ghcr.io/acme/reviewer:0.1.0`.
3. Package file: `pandra build -o reviewer.agent.tar` writes the package, with the same digest, to one file that you hand over. Others load it with `pandra agent load ./reviewer.agent.tar`, which stores it as `reviewer`, and run it with `pandra run reviewer`.
4. Approve: whichever way the agent came, its first run on the teammate's harness shows what it contains, such as its skill `ponytail-review` and its MCP server `context7`, and asks once for approval. After the teammate approves, the agent runs.

* [Git, registries, and package files](/share/publishing.md): share through each channel, and the credentials for private repositories and registries.
* [Pulling agents](/share/pulling.md): `pandra pull` and your store.
* [Trusting agents](/run/trust.md): what to check before you approve what you pull.
