---
url: /design-principles.md
---
# Design principles

These principles are what Pandra holds to. The [manifesto](/manifesto.md) says what Pandra is for; this page says what kind of tool it is.

Security is a constraint, not a trade-off: no principle below justifies running code the user has not explicitly invoked or passing secrets the user has not assigned. Within that constraint, when two principles conflict, the earlier one usually wins.

## 1. UX first, progressive disclosure

Pandra's default behavior is what most users need most of the time. A new user starts without writing a config file or learning flags. Configuration files and flags exist for advanced and exceptional needs, and every customization stays possible. A better default is preferred to a new setting.

## 2. Untrusted by default

An agent is code: its instructions, skills, and MCP servers can do anything the user can. Pandra treats every agent as untrusted.

* Nothing runs unless the user runs it.
* Nothing reaches an agent unless the user gives it: secrets, access, and relaxed permissions are given on purpose, never inferred.
* Before the user trusts something new, Pandra shows what it is.
* Defaults are the safest behavior that still works unattended.

Pandra reaches good UX within these rules, through clear defaults and remembered decisions, never by relaxing them. [Trusting agents](/run/trust.md) shows how they apply.

## 3. Self-contained

Installing Pandra is enough to use all of Pandra: its own features never depend on other tools being installed. The user's own Git repository is the exception: Pandra reads it and manages its worktrees with the `git` command, which everyone with a repository has. What a particular agent or choice needs, such as a harness, the programs an agent's MCP servers run, or the client of the secret store a user picked, belongs to that agent or choice, not to Pandra. Pandra checks for it before starting and says what is missing.

## 4. Familiar first, coherent always

Pandra builds on concepts, commands, and file conventions users already know, such as `pull` and `push` from Docker, project files and lockfiles from uv and Cargo, and remote references from Go and Terraform. It has new concepts only for what is unique to it, and every borrowed idea fits one coherent model: Pandra is not a patchwork of other tools' features.

## 5. One model: the package is the unit

Everything Pandra runs is an immutable, self-contained agent package identified by its digest. Local directories, Git repositories, OCI references, and package files are only different ways to obtain a package, and every feature works in terms of packages, with no parallel paths.

## 6. Harness neutrality

Packages never contain harness-specific configuration; Pandra handles each harness's differences itself. When a harness cannot provide what an agent needs, Pandra fails before starting instead of silently degrading.

## 7. Explicit over implicit

Nothing is upgraded, fetched, assigned, or changed implicitly. Dependencies are locked to exact revisions and content digests, builds are deterministic, and changing what an agent contains or can access is always an explicit action.

## 8. Honest guarantees

Pandra states exactly what it guarantees and what it does not. For example, harness isolation is configuration isolation, not a security sandbox, and locking an MCP server definition does not lock the software it downloads. A smaller guarantee that holds is better than a larger one that does not.

## 9. Machine-friendly by default

AI agents are first-class users. Everything a person can do or see is also available to a program, in a stable, versioned form that never waits for a human.

## 10. Standards before new formats

Pandra uses open, widely adopted formats (OCI, Agent Skills, the MCP Registry, ACP) wherever they fit. Its own formats exist only where no suitable standard does, and each is versioned from the start.
