techniques
techniques
¶
Technique wirer — injects technique manifests into cadenza context.
Reads agent technique declarations and: - Injects technique manifests as cadenzas for relevant phases - Configures MCP server access per phase - Wires A2A agent card and inbox cadenzas - Injects memory protocol and mateship skills as cadenzas
Each phase, the agent receives a technique manifest telling them what tools are available right now.
Classes¶
TechniqueWirer
¶
Wires technique declarations into per-sheet cadenza context.
Reads agent technique configs and produces: 1. Technique manifests (markdown) per phase 2. Per-sheet cadenza injections referencing technique docs 3. A2A agent card config for registration
Initialize the technique wirer.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
techniques_dir
|
Path | None
|
Directory containing technique module documents. Falls back to searching common locations if not specified. |
None
|
Source code in src/marianne/compose/techniques.py
Functions¶
wire
¶
Wire techniques for an agent, returning cadenza additions and A2A config.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
agent_def
|
dict[str, Any]
|
Agent definition with optional |
required |
defaults
|
dict[str, Any]
|
Global defaults with technique declarations. |
required |
workspace
|
str
|
Workspace path for manifest output. |
''
|
Returns:
| Type | Description |
|---|---|
dict[str, Any]
|
Dict with keys:
|