A previous release had provenance metadata, but this release does not. View details.
Bind AI personas to orchestration harnesses to produce embodied agents.
pip install persona-grata==0.0.6 Copy PIP instructions
Persona-Grata is a scaffolding utility that binds AI personas to harnesses to produce an embodied, functional agent. It helps users connect professional LLM orchestration harnesses with customized endpoints.
Install via pipx, uv, or your other favorite package management tool:
Python 3.11 or newer is required. Install the harness you intend to run separately. For keyed agents, install and initialize a supported password manager: pass, gopass, or prs. For example, on Debian/Ubuntu:
sudo apt install pass gnupg Keyless agents do not need a password manager.
persona-grata and pg are the same command. With no arguments, they list registered agents. Creation is explicit and produces one agent, not every pairing of a persona and its harnesses:
pg --setup # Configure a manager before creating a keyed agent pg --create kimi claude --name scout pg --create ollama codex --name local_code --no-token After setup, open a new shell or source your shell's startup file, then run the chosen name:
scout [arguments] Use pg --setup to configure the store's password manager. Credential verification is optional; for keyed agents, --verify requests a live check that may incur provider charges. Setup does not prove that a server or harness accepts the generated configuration.
We combine a persona (representing the mind and experience) with a harness (the mechanism used to impact the world) to yield an agent.
An agent requires not just the ability to think, but also the ability to act. A persona is that thinking part — its endpoint, models, parameters, and context. A harness supplies its toolsets and communication mechanisms. A dialect describes the wire protocol the two sides share.
Bundled presets supply configuration defaults, not a guarantee that every server implements every dialect or that every pairing has been tested against a live harness.
An agent's name is independent of its persona, harness, and directory. Several agents may use the same persona and harness. Without --name, creation uses _ as its name and places it in /store/ /. --path selects a different agent directory.
The registry maps each name to its absolute directory. Renaming an agent changes its name and wrapper, not its directory; no symlinks connect names to paths. Names are 1–64 ASCII letters, digits, and _, and cannot start with a digit. default and shell reserved words cannot be agent names.
pg # List registered agents pg scout # Show its stored agent document (read-only) pg --update scout # Regenerate an existing agent's configuration pg --update scout --name explorer pg --export explorer.cfg explorer pg --remove explorer --create, --update, --remove, --export FILE, --setup, and --get-secret NAME are separate modes. Creation accepts a persona and harness, or an agent document; existing-agent operations select one registered name. Export writes a reusable, unfinished agent document, not a token or a resolved harness settings file. --get-secret NAME prints only the fetched credential and a newline; failures, including keyless agents, use stderr and a nonzero exit status. Its stdout is intentionally sensitive.
For custom endpoints or models, write an agent document rather than defining a variant with CLI flags:
agent : name: "orion" secret: None persona : name: "orion" desc: "Orion Toolkit" mind: endpoint: "https://api.cybertron.space" model_list: ["alpha-3-on"] model_active: "alpha-3-on" harness : {} pg --create orion.cfg secret: None explicitly makes this example keyless. Remove that setting to use the store's configured manager, or supply an entry as described in the Custom Agent Guide. The shipped agents-example.yaml is also a single-agent yapyon document; copy it to a .cfg or .tmpl file before using it with the CLI.
--path is creation-only. Credential-import, verification, and wrapper flags apply to creation/update; --token and --no-token are mutually exclusive. Export selects an existing agent only, and cannot overwrite its installed /agent.cfg. See pg --help for mode-specific restrictions. Removal deletes the registered agent directory, including files you added, and its wrapper. If the directory is a symlink, only the link is removed, not its target. Shared components and password-manager entries are retained.
The root is selected by --store, otherwise AGENT_STORE_DIR, then $XDG_CONFIG_HOME/agents, then ~/.config/agents. /agent_store.cfg contains store settings and the name-to-path registry. Installed agents have /agent.cfg and /harness/. Composed components used by agents are stored in /personas/, /harnesses/, /dialects/, and /secrets/; the entire bundled template library is not copied into the store.
Documents use yapyon (version 0.6.4 or newer within the 0.6 series), not YAML: quote strings, use None / True / False, and write references as y"{persona.mind.endpoint}". Named slots such as persona compose presets; (persona.mind.model_list) copies a whole value without converting it to text. Runtime supplies the agent directory and secret backend; agent documents cannot set agent.path.
Saved documents preserve unfinished slots and expressions, but their comments and layout are normalized. Safe merges are compacted; necessary slot/composition layers remain explicit. Source that cannot be saved faithfully is refused rather than written with different semantics. See the Config Reference Manual for fields, store layout, and migration.
Tokens are held by the store's selected password manager, not copied into plaintext token files or .secret_path pointers. Generated wrappers fetch the key at launch; arrange for the manager to work without an unattended passphrase prompt. --token FILE is an input source, not a file-token backend. An explicit keyless agent neither fetches nor stores a key. If no secret setting or backend is configured at creation, keyless operation is saved and reported; configuring a backend later does not silently give that existing agent credentials. An explicit secret mapping requires a backend.
No live harness or paid-endpoint validation is implied by the bundled presets or offline tests.
Persona-Grata is released under the GNU General Public License v3.0 or later; see LICENSE.md.
Contributions generated in whole or in part with AI tools are welcome, subject to the project's AI policy.
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
These files do not have provenance metadata, despite files in a prior release including this data.
We recommend further investigation before installing these files. View details.
This file belongs to a release without provenance metadata, despite a prior release including this data.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
A previous release of these files had provenance metadata, but this release does not.
While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Nov 8, 2026 2 release files Loss of provenance
Nov 7, 2026 2 release files Loss of provenance




