Pi coding agent type plugin for mngr
Project description
mngr-pi-coding
Plugin that registers the pi-coding agent type for mngr.
Pi is a minimal terminal coding harness (published on npm as @earendil-works/pi-coding-agent). This plugin runs it as a fully-featured mngr agent: lifecycle-aware (RUNNING vs WAITING), transcript-capturing, and resumable across restarts.
Usage
mngr create my-agent pi-coding
Pass arguments to the pi command with -- (e.g. to pick a provider/model):
mngr create my-agent pi-coding -- --provider anthropic --model claude-haiku-4-5
Pi needs a provider credential. The simplest path is to set an API key in your
environment and pass it through, e.g. mngr create my-agent pi-coding --pass-env ANTHROPIC_API_KEY,
or run pi once and use /login to populate ~/.pi/agent/auth.json (which the
plugin shares into each agent).
Tool permissions. pi runs tools -- including shell commands -- without a confirmation gate: it has no built-in approval prompts, and mngr adds none. To restrict an agent, use pi's own
--tools <allowlist>viacli_args, or run untrusted work in a sandbox.
What you get
- Per-agent isolation. Each agent gets its own pi config dir via
PI_CODING_AGENT_DIR($MNGR_AGENT_STATE_DIR/plugin/pi_coding/), so settings, sessions, and state never collide. Your~/.pi/agent/auth.json,settings.json, and resource dirs (skills,prompts,extensions,themes,agents) are shared in (symlinked locally, copied to remote hosts).auth.jsonis symlinked, so a/loginor token refresh in any agent propagates to the rest. (agentscarries subagent definitions, so an installed subagent extension works under mngr -- pi ships no built-in subagents.) - RUNNING vs WAITING.
mngr listshows whether the agent is mid-turn or idle, and stays correct when the agent runs a nestedpivia its bash tool. - Transcripts.
mngr transcript my-agentrenders the conversation. A raw pi message stream is also captured under the agent state dir. - Resume.
mngr stopthenmngr startcontinues the same pi session with full context.
These are powered by a small mngr-owned pi extension that the plugin provisions and
loads with pi -e; pi has no shell-hook surface, so its TypeScript extension API is
the lever for lifecycle, readiness, and transcript signalling.
Configuration
Define a custom variant in your mngr config (mngr config edit):
[agent_types.my_pi]
parent_type = "pi-coding"
cli_args = "--provider anthropic --model claude-haiku-4-5"
Then create agents with your custom type:
mngr create my-agent my_pi
Tunables on the pi-coding agent type:
| Setting | Default | Description |
|---|---|---|
command |
pi |
The pi command to run. |
sync_auth |
true |
Share ~/.pi/agent/auth.json into the per-agent dir. |
sync_home_settings |
true |
Share settings.json and resource dirs into the per-agent dir. |
check_installation |
true |
Verify pi is installed (and install on remote hosts when allowed). |
resume_session |
true |
Resume this agent's pi session on start, so stop/start keeps context. |
emit_common_transcript |
true |
Emit the transcript mngr transcript reads. |
emit_raw_transcript |
true |
Capture the raw pi message stream. |
auto_dismiss_dialogs |
false |
Trust the workspace without prompting (suppress pi's "Trust project folder?" dialog). Also implied by mngr create --yes. |
See the mngr agent types documentation for more details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file imbue_mngr_pi_coding-0.1.13.tar.gz.
File metadata
- Download URL: imbue_mngr_pi_coding-0.1.13.tar.gz
- Upload date:
- Size: 43.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d23fd0c1bc0854df3012ad8e9658c7680e4e13cd4179615a1c3e7542f513c94
|
|
| MD5 |
0ee7017c9f47e392619bccee1db58cb6
|
|
| BLAKE2b-256 |
4566a29662325ca5c671aa3e5f2f4e59581aa5eca8765c1b61871645d9b432e8
|
Provenance
The following attestation bundles were made for imbue_mngr_pi_coding-0.1.13.tar.gz:
Publisher:
publish.yml on imbue-ai/mngr
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
imbue_mngr_pi_coding-0.1.13.tar.gz -
Subject digest:
2d23fd0c1bc0854df3012ad8e9658c7680e4e13cd4179615a1c3e7542f513c94 - Sigstore transparency entry: 1847826052
- Sigstore integration time:
-
Permalink:
imbue-ai/mngr@de40cfadd8af49d148bbe6043950463a2515a2f9 -
Branch / Tag:
refs/tags/v0.2.16 - Owner: https://github.com/imbue-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@de40cfadd8af49d148bbe6043950463a2515a2f9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file imbue_mngr_pi_coding-0.1.13-py3-none-any.whl.
File metadata
- Download URL: imbue_mngr_pi_coding-0.1.13-py3-none-any.whl
- Upload date:
- Size: 22.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b47f61e9e1f28abcfecee91815176861a47507e327753f8d62d47e1347ed4599
|
|
| MD5 |
e20028e72568c486048cb712c0f0852b
|
|
| BLAKE2b-256 |
ca351977439101d10b015e409d614f89e940ba3741ffbaebe3ec6926e68aaacc
|
Provenance
The following attestation bundles were made for imbue_mngr_pi_coding-0.1.13-py3-none-any.whl:
Publisher:
publish.yml on imbue-ai/mngr
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
imbue_mngr_pi_coding-0.1.13-py3-none-any.whl -
Subject digest:
b47f61e9e1f28abcfecee91815176861a47507e327753f8d62d47e1347ed4599 - Sigstore transparency entry: 1847732016
- Sigstore integration time:
-
Permalink:
imbue-ai/mngr@de40cfadd8af49d148bbe6043950463a2515a2f9 -
Branch / Tag:
refs/tags/v0.2.16 - Owner: https://github.com/imbue-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@de40cfadd8af49d148bbe6043950463a2515a2f9 -
Trigger Event:
push
-
Statement type: