|
|
1 month ago | |
|---|---|---|
| .. | ||
| .gitkeep | 1 month ago | |
| README.md | 1 month ago | |
Purpose: Store formal contracts and interfaces between agents in multi-stage orchestration workflows.
This directory contains contract definitions that govern agent interactions and handoffs:
Use descriptive, kebab-case names that identify the contract type and agents involved:
{agent-name}-contract.md
{source-agent}-to-{target-agent}-handoff.md
{artifact-type}-schema.json
{workflow-name}-protocol.md
See example contracts in this directory to understand the expected format and completeness.
A typical agent contract includes:
## Agent: {AgentName}
### Purpose
What this agent does in the workflow
### Inputs
- Required context files
- Expected artifact formats
- Dependency requirements
### Outputs
- Deliverable artifacts
- Status updates
- Handoff criteria
### Validation Rules
- Input validation criteria
- Output quality gates
- Error conditions
### Dependencies
- Upstream agents
- Required tools/services
- Context requirements
Note: This directory is part of the .tmp/ workspace and is gitignored by default. Archive stable contracts to permanent locations for reuse across workflows.