Skip to content

API Reference parrot.self_.cli

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot.self_.cli

View source

parrot self — manage the parrot-managed runtime (~/.parrot) (FEAT-633, spec §3 M3).

Registered lazily as "self" in parrot.cli._lazy_commands; LazyGroup resolves the module attribute named self (cli/init.py:99-100), aliased at the bottom.

Function add

Install COMPONENT's packages (+ post-install step) into the managed venv.

add(component: str, here: bool) -> None

Parameter Type Default Description
component str
here bool

Function doctor

Diagnose the managed runtime, host configs, toolkit requirements and SDD readiness.

Exit 1 only when a non-informational check in the selected scope fails.

doctor(sdd_scope: bool, runtime_only: bool) -> None

Parameter Type Default Description
sdd_scope bool
runtime_only bool

Function env

Print the venv the launcher resolves, the rule that picked it, and versions.

env(init_credentials: bool) -> None

Parameter Type Default Description
init_credentials bool

Function migration

Manage packaged PostgreSQL schemas in this Python environment.

migration() -> None

Attribute self

Function self_group

Manage the parrot-managed runtime (~/.parrot).

self_group() -> None

Function uninstall

Remove ~/.parrot/{bin,venv,python}; wikis, library, skills, brains and parrot.db are kept.

uninstall(yes: bool) -> None

Parameter Type Default Description
yes bool

Function update

Upgrade the base runtime (ai-parrot + ai-parrot-tools) in the managed venv.

update(version: str | None) -> None

Parameter Type Default Description
version str | None

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally