registry
Class info¶
Re-exported classes¶
| Class | Module | Description |
|---|---|---|
| BaseDistribution | aclientp.registry.model | Base class for agent distribution methods. |
| BinaryDistribution | aclientp.registry.model | Distribution via a pre-built binary archive. |
| DistributionUnion | aclientp.registry.model | Container that holds the possible distribution variants for an agent. |
| NpxDistribution | aclientp.registry.model | Distribution via npx / bunx. |
| Registry | aclientp.registry.model | Top-level ACP registry response. |
| RegistryAgent | aclientp.registry.model | A single agent entry in the ACP registry. |
| UvxDistribution | aclientp.registry.model | Distribution via uvx. |
🛈 DocStrings¶
ACP Registry - fetch and query agent entries from the ACP registry.
BaseDistribution
¶
Bases: BaseModel, ABC
Base class for agent distribution methods.
Source code in src/aclientp/registry/model.py
BinaryDistribution
¶
Bases: BaseDistribution
Distribution via a pre-built binary archive.
Source code in src/aclientp/registry/model.py
DistributionUnion
¶
Bases: BaseModel
Container that holds the possible distribution variants for an agent.
Source code in src/aclientp/registry/model.py
NpxDistribution
¶
Registry
¶
RegistryAgent
¶
Bases: BaseModel
A single agent entry in the ACP registry.
Source code in src/aclientp/registry/model.py
prepare
async
¶
Resolve this agent to a runnable command list.
Source code in src/aclientp/registry/model.py
UvxDistribution
¶
fetch_agent
async
¶
fetch_agent(agent_id: str) -> RegistryAgent | None
Fetch a single agent by ID from the registry or built-in agents.
Source code in src/aclientp/registry/fetch.py
list_agents
async
¶
list_agents() -> list[RegistryAgent]
List all agents from the ACP registry, including built-in agents.