Problem
The current YAML pipeline format requires verbose system prompts for each crew member. For a crew of 8 experts, this makes the YAML file very long and hard to maintain.
Suggested syntax
Add role and backstory shorthand fields that get composed into a system prompt:
steps:
- id: security-expert
role: "Application Security Engineer"
backstory: "10 years in appsec, OWASP Top 10 specialist"
prompt: "Review this code for security issues: {code}"
Which internally generates:
system: "You are a Application Security Engineer. Background: 10 years in appsec, OWASP Top 10 specialist."
This matches the CrewAI mental model (role + backstory + goal) and makes crew YAML files much more readable.
The TypeScript agent() function already supports this pattern — this is about bringing it to YAML.
Labels
enhancement, yaml, crew
Problem
The current YAML pipeline format requires verbose system prompts for each crew member. For a crew of 8 experts, this makes the YAML file very long and hard to maintain.
Suggested syntax
Add
roleandbackstoryshorthand fields that get composed into a system prompt:Which internally generates:
This matches the CrewAI mental model (role + backstory + goal) and makes crew YAML files much more readable.
The TypeScript
agent()function already supports this pattern — this is about bringing it to YAML.Labels
enhancement, yaml, crew