Agents

Compose specialized agents from modular traits and orchestrate parallel workflows.

Updated Mar 10, 2026
One-click install
npx skills add https://github.com/davdunc/Alvin --skill agents-davdunc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Agents
Source: https://github.com/davdunc/Alvin/tree/main/Packs/pai-agents-skill/src/skills/Agents
Command: npx skills add https://github.com/davdunc/Alvin --skill agents-davdunc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires yaml, handlebars.

What problem does it solve?

Dynamic agent composition enables on-demand creation and orchestration of specialized agents from modular traits. This solves the challenge of scaling cognitive workloads by providing diverse perspectives, voices, and capabilities tailored to specific tasks.

Core Features & Use Cases

  • Dynamic agent composition from templates of expertise, personality, and approach traits.
  • Custom agents with unique voices and prompts via AgentFactory; supports parallel agent orchestration.
  • Voice mapping to TTS voices with a registry and fallbacks; supports named agents and dynamic agents.
  • Parallel execution workflows: CreateCustomAgent, ListTraits, SpawnParallelAgents.
  • Workflow routing: The skill routes to appropriate workflows automatically, enabling seamless agent creation and orchestration.

Quick Start

Ask me to spin up a custom agent with traits like 'research, skeptical, thorough' and a task like 'assess threat model' to see it in action.

Frequently Asked Questions about Agents

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a custom AI agent with specific personality traits?

You can create a custom AI agent by defining modular traits for expertise, personality, and approach. The system uses an AgentFactory to dynamically compose these traits into a unique agent with a tailored prompt and mapped voice for your specific task.

Can I run multiple agents in parallel for different workflow tasks?

Yes, you can run multiple agents in parallel using the SpawnParallelAgents workflow. This orchestration executes specialized tasks concurrently with proper subagent_type handling to ensure safe and efficient parallel task execution across your workflows.

What are agent traits and how do they shape prompt construction?

Agent traits are modular components defining expertise, personality, and approach. The system enforces trait-based prompt construction by combining these selected traits to dynamically generate the behavioral instructions and voice mapping for your custom agent.

How do I map a custom agent to a specific voice for text-to-speech?

Voice mapping assigns a specific text-to-speech voice to your agent using a voice registry with fallbacks. This supports both named agents and dynamically created agents to ensure consistent audio output during parallel orchestration.

Do I need YAML and Handlebars to build custom agents?

Yes, the dynamic agent composition system relies on YAML and Handlebars dependencies. These tools structure the trait templates and manage the prompt construction logic required to spawn and orchestrate your specialized agents effectively.

What is the best way to scale cognitive workloads using dynamic agent composition?

Dynamic agent composition scales cognitive workloads by orchestrating multiple specialized agents in parallel. By assembling custom agents from modular traits, you gain diverse perspectives and capabilities tailored to specific tasks without manual prompt engineering.