Skills
Chapter 1 of 50
Create and manage agent graphs — directed graphs of configs connected by edges with handoff logic.
3 minutes · 627 words · 15 sections
You’re using a skill that will guide you through creating and managing agent graphs in LaunchDarkly. Your job is to design the graph topology, create it with the right edges and handoffs, and verify the routing between config nodes.
This skill requires the remotely hosted LaunchDarkly MCP server to be configured in your environment.
Required MCP tools:
create-agent-graph – create a new graph with nodes and edgesget-agent-graph – inspect a graph’s structure and edgeslist-agent-graphs – browse existing graphs in the projectOptional MCP tools:
update-agent-graph – modify edges, root config, or descriptiondelete-agent-graph – permanently remove a graphget-ai-config – inspect individual configs that serve as nodescreate-ai-config – create new configs to use as graph nodesAn agent graph is a directed graph where:
| 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]Each edge has:
key – unique identifier for the edgesourceConfig – the config key that routes FROMtargetConfig – the config key that routes TOhandoff (optional) – data/instructions passed during the transitionBefore creating anything:
list-agent-graphs to avoid duplicatesget-ai-config to see what nodes already existEach node in the graph must be an existing config. If configs don’t exist yet:
create-ai-config to create each agent configget-ai-configUse create-agent-graph with:
projectKey – the project containing the configskey – unique identifier for the graphname – human-readable display namedescription (optional) – explain the graph’s purposerootConfigKey – the entry-point config keyedges – array of connections between configs{
"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 to confirm the graph was created with the correct structureReport results:
| Situation | Action |
|---|---|
| Config doesn’t exist yet | Create it first with create-ai-config before referencing in a graph |
| 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 update-agent-graph — provide the complete new edge list |
To learn more, read Agent graphs (opens in a new tab).
Install this repository
npx skills add launchdarkly/ai-tooling/plugin marketplace add launchdarkly/ai-toolingSkills install per repository, not per chapter — the CLI has no documented per-skill form, so we do not print one.
Create and manage agent graphs — directed graphs of configs connected by edges with handoff logic. Use when building multi-agent workflows where configs route to each other.
The verbatim description from this skill’s front matter — the string an agent matches on to decide whether to load it.
skills/agentcontrol/agent-graphs/SKILL.mdmain, last pushed 9 August 2026.SKILL.md, not by matching a directory convention. 8 distinct layouts observed: skills/agentcontrol/*/SKILL.md, skills/experiments/*/SKILL.md, skills/feature-flags/*/SKILL.md, skills/metrics/*/SKILL.md, skills/observability/*/SKILL.md, skills/onboarding/*/SKILL.md, skills/onboarding/sdk-install/*/SKILL.md, skills/*/SKILL.md.h1 and no skipped levels:.claude-plugin/marketplace.json by LaunchDarkly, declaring 1 plugin. It is read for editorial metadata only — never as the skill index, which is always the repository tree./launchdarkly/ai-tooling.md, and each chapter at its own .md URL.