Advanced Topics

Once you've mastered the fundamentals, these advanced topics unlock Amplifier's full power. From multi-agent orchestration to custom kernel modules, this section covers expert-level capabilities. Dive deep into sophisticated patterns for building production-grade AI applications.

Section Contents

Page Description
Custom Bundle Creating custom behavior packages
Custom Recipe Building declarative workflows
Custom Tool Extending Amplifier capabilities
MCP Integration Model Context Protocol integration

Quick Tips

  • Recipes for repeatability - Codify multi-step workflows as recipes
  • Agent specialization - Create focused agents rather than general-purpose
  • Module contracts - Follow kernel protocols for reliable extensions
  • Session hygiene - Clean up and repair sessions proactively
  • Monitor everything - Observability is essential at scale

Advanced Patterns

Recipe-Driven Workflows

name: code-review
steps:
  - agent: zen-architect
    mode: REVIEW
    input: "{{file_path}}"
  - agent: security-guardian
    input: "{{previous_output}}"
  - agent: result-validator
    criteria: "{{acceptance_criteria}}"

Multi-Agent Collaboration

┌─────────────┐
│ Orchestrator│
└──────┬──────┘
       │
  ┌────┴────┐
  │ Spawn   │
  ▼         ▼
┌───┐     ┌───┐
│ A │     │ B │  Parallel execution
└─┬─┘     └─┬─┘
  │         │
  └────┬────┘
       │
  ┌────▼────┐
  │ Combine │
  └─────────┘

Where to Start

Automating workflows? Begin with Custom Recipe for declarative orchestration.

Extending Amplifier? See Custom Bundle for creating custom behavior packages.

Building tools? Start with Custom Tool to extend Amplifier's capabilities.

Complexity Budget

Advanced features add power but also complexity. Apply judiciously:

Feature Use When
Recipes Repeatable multi-step workflows
Multi-agent Tasks benefit from specialization
Custom modules Core behavior needs modification
Session management Long-running or resumable work

Next Steps

For day-to-day development workflows, see Dev Setup. For foundational concepts, revisit Concepts.