Loading...
Loading...
Create and manage agent graphs — directed graphs of AI Configs connected by edges with handoff logic. Use when building multi-agent workflows where configs route to each other.
npx skill4agent add launchdarkly/agent-skills aiconfig-agent-graphscreate-agent-graphget-agent-graphlist-agent-graphsupdate-agent-graphdelete-agent-graphget-ai-configcreate-ai-config| Scenario | Example |
|---|---|
| Multi-step workflows | Triage agent -> Specialist agent -> Summary agent |
| Routing by intent | Router agent decides which specialist handles the request |
| Escalation chains | L1 support -> L2 support -> Human handoff |
| Pipeline processing | Extract -> Transform -> Validate -> Store |
[Root Config] --edge--> [Config A] --edge--> [Config C]
\--edge--> [Config B]keysourceConfigtargetConfighandofflist-agent-graphsget-ai-configcreate-ai-configget-ai-configcreate-agent-graphprojectKeykeynamedescriptionrootConfigKeyedges{
"projectKey": "my-project",
"key": "support-triage-graph",
"name": "Customer Support Triage",
"description": "Routes customer queries to the appropriate specialist agent",
"rootConfigKey": "triage-agent",
"edges": [
{
"key": "triage-to-billing",
"sourceConfig": "triage-agent",
"targetConfig": "billing-specialist",
"handoff": {"category": "billing", "priority": "normal"}
},
{
"key": "triage-to-technical",
"sourceConfig": "triage-agent",
"targetConfig": "technical-specialist",
"handoff": {"category": "technical", "priority": "normal"}
}
]
}get-agent-graph| Situation | Action |
|---|---|
| Config doesn't exist yet | Create it first with |
| Circular routing | Allowed but warn user — ensure there's a termination condition in the agent logic |
| Single-node graph | Valid but unusual — consider if a graph is actually needed |
| Updating edges | Use |