pyphi.mcp.agents#
Delivery of the PyPhi agent skills to the coding agents installed on a machine.
A skill is matched against the task before the model acts. The skills shipped under
pyphi/mcp/skills/ are copied out of the package into each agent’s own skills
directory. The IIT Expert plugin, which covers the theory, is installed through
each agent’s own plugin commands.
Nothing here imports the optional mcp dependency.
Module attributes
Agent name mapped to the directory probed under the home directory and the name shown to the user. |
|
Written inside every installed skill directory, holding the PyPhi version that wrote it. |
|
Skills whose |
|
Skills earlier versions of PyPhi installed and this one no longer ships. |
|
Agents whose skills directory Cursor also reads, so writing to Cursor's own directory as well would load every skill twice there. |
|
the |
|
Seconds each plugin command may take; adding the marketplace clones it. |
|
Agent name mapped to the commands that install the plugin, run in order. |
|
Agent name mapped to the command that removes the plugin. |
|
Agent name mapped to the file, under its probe directory, in which the agent records the plugins it has installed. |
|
Cursor installs plugins from its settings rather than a command line. |
Functions
|
Return targets named explicitly rather than found by probing. |
|
Ask |
|
Write every shipped skill into |
|
Return what |
|
Return what |
|
Return a target for every agent whose probe directory exists. |
|
Offer the skills, install them where accepted, and report what happened. |
Whether a question can be put to a person. |
|
|
Say how to remove the plugin, which PyPhi installs but does not own, from each agent whose plugin registry lists it. |
|
Offer the IIT Expert plugin and install it through each agent's commands. |
|
Delete the skills written by |
|
Delete the installed skills and report what was removed. |
|
Return the explicit targets where any were given, the detected ones otherwise. |
Return the names of the skills shipped with this PyPhi. |
Classes
|
A skills directory to write to. |