Choose an extension development mechanism
This page is for developers adding or changing Agent capabilities. Decide whether the deliverable is instructions, a Python function, execution policy, or an independent workflow, then choose the smallest mechanism. To use existing resources instead, read Use Skills, Use plugins, or optional service configuration.
Choose by development task
| Capability to develop | Start here | Main deliverable |
|---|---|---|
| Instructions read by the model on demand | Write a Skill | SKILL.md and related resources |
| A Python function the model can call | Tools | Python implementation and manifest tools declaration |
| Checks, state updates, or rejection around model/tool calls | Hooks | Python handlers and event declarations |
| A group of prompts, tools, Skills, and hooks enabled together | Write a plugin | .plugin.yaml and a resource directory |
| A focused task with its own prompt/tool scope, or an existing graph | Subagents | Standard YAML, or a compiled factory and declaration |
| Pause execution, ask a human, and resume using the answer | Human interaction and recovery | HITL handlers, policies, and instructions |
See the plugin and extension configuration reference for fields and defaults, and Python API for types and interfaces. Applications calling an existing Agent use application integration; runtime implementation changes start in the developer docs.
Combine mechanisms and respect boundaries
- Standalone Skills need no plugin. Home Skills compile alongside enabled-plugin Skills.
- Register tools, subagents, and plugin hooks in
.plugin.yaml; copying source files alone does not register them. - Root Agent hooks apply to the root. Subagents declare their own hooks.
plugins.enabled: []disables plugins, while standalone Skills and product-level hooks can remain active.- Naming a tool supplies neither its implementation nor access rights. Existing MCP services provide tools through connection configuration without being rewritten as Python plugin functions.
de-agent human feedback is a built-in example of the common HITL handlers and recovery contracts.
Development examples
| Example | Location |
|---|---|
| Combined tools, Skills, subagent, and hooks | common |
| Another configured model called from a tool | llm-utils |
| Python hooks in product configuration | check_input.py, check_tool.py |
For a first extension, start with the statistics tool in common. Enable the plugin and call the tool with [1, 2, 3]. Check that the trace names common__summarize_numbers and the result has a sum of 6. Then add a Skill, hook, or subagent and verify one behavior at a time. See extension lifecycle for refresh rules.
Use existing capabilities
MCP integration covers connection settings, discovery, and invocation. SemanticLayer integration covers endpoints, authentication, and interactive checks for an existing semantic service. These user settings do not require a new tool or MCP service. See scenario examples for runnable business tasks.