Skip to content

Components

What ai_stp components are and how they get into a setup.

Components

Components are the building parts of a setup. Each has a kind, a version, provenance, compatibility constraints and a passport.

One kind does not stand in for another. An MCP server stays an mcp, and the instructions for using it stay the content of an instruction or a skill.

Choosing quickly

If you need toKindWhy
Add rules, memory or a working styleinstructionit is textual policy for the agent or the harness
Describe a repeatable agent workflowskilla skill holds the procedure, its material and its helper scripts
Connect an external tool to the agentmcpMCP gives the agent a managed interface to a service or a local tool
Act on a harness eventhooka hook is bound to the lifecycle and needs care
Give a person or an agent a named commandcommanda command makes a repeatable entry point clear and checkable
Add a role or a specialised subagentagentan agent describes an area of responsibility and its limits
Extend the harness itself with a packageplugina plugin installs a native harness extension
Pin parameters and modessettinga setting holds configuration, without secrets and without behaviour

The component matrix

KindWhat it holdsWhat ai_stp checksThe typical risk
instructionMarkdown, rules, memory, constraintsprovenance, version, compatibility, scoperules that are too broad or contradict each other
skillSKILL.md, assets, scripts, referencesstructure, compatibility, executable helpershidden side effects in scripts
mcpthe MCP server description and how it startssource, permissions, no secrets in the passportexternal access to data or tools
hookthe event, the action, the conditionsthe event, the target, recovery, confirmationstate changed automatically
commanda slash or CLI command and its argumentsthe name, the scope, the help, command conflictsan ambiguous or dangerous shortcut
agentthe role, its instructions, its limitsthe role's boundaries, compatibility, permissionsa subagent with authority that is too wide
plugina native harness extensionthe package, the version, the source, the install routesupply chain and post-install behaviour
settingparameters, modes, preferencesallowed values, and that there are no secretsleaked private data, or configuration drift

How a component gets into a setup

=== "1. Passport"

A component is described by a passport: kind, version, source,
compatibility, constraints and check results. The passport is what the CLI,
the catalog and the agent can all read.

=== "2. Candidate"

`ai_stp` draws candidates from the public catalog, the local registry, or
the user's exactly pinned objects. The trust line decides whether an object
may be shown and installed automatically.

=== "3. Setup graph"

The setup compiler builds the component graph and checks that versions, the
harness, dependencies and constraints are consistent with one another.

=== "4. Provider"

Only the harness's public provider writes the target's final state. Before
anything changes there is a plan, a digest and a backup.

??? warning "Why files cannot simply be copied into a target" Harnesses differ in formats, directories, safety rules and lifecycle. Copying directly breaks provenance and rollback. So ai_stp builds a checkable plan first, and only then hands the applying to the provider.

Versions

A published component version is immutable and has the form X.Y. If the content changes, there is a new version.

Compatibility

A component can fit one harness and be inadmissible for another. Mechanical compatibility constraints apply before any reasoning by the agent.

More on the statuses: supported harnesses.

ai_stp