launchdarkly-agent-graphs
Skill141 starsChanged 8 days agoApache-2.0View on GitHub
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.
In this repository102 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- agentcore-observability-setupSkill
- agentcore-ops-reviewSkill
- aiml-access-diagnosticsSkill
- aiml-gpu-training-cluster-investigationSkill
- analytics-opensearch-expertiseSkill
- aws-backup-coverage-reviewSkill
- aws-eks-healthdashboardSkill
- aws-eks-operations-reviewSkill
- aws-fsxn-operations-reviewSkill
- aws-health-eventsSkill
- aws-natgw-traffic-analysisSkill
- aws-routingSkill
- aws-vpc-dns-investigationSkill
- bedrock-adoption-readinessSkill
- bedrock-operation-reviewSkill
- bluebox-observabilitySkill
- bronto-dataset-discoverySkill
- bronto-error-investigationSkill
- bronto-log-searchSkill
- clickstack-investigationSkill
- cloudtrail-cost-optimizationSkill
- config-cost-optimizationSkill
- coralogix-ai-centerSkill
- coralogix-alertsSkill
- coralogix-case-analyticsSkill
- coralogix-case-managementSkill
- coralogix-casesSkill
- coralogix-dashboardsSkill
- coralogix-dataprimeSkill
- coralogix-datasetsSkill
- coralogix-data-usageSkill
- coralogix-docsSkill
- coralogix-infrastructureSkill
- coralogix-logsSkill
- coralogix-metrics-querySkill
- coralogix-ollySkill
- coralogix-rumSkill
- coralogix-service-catalogSkill
- coralogix-single-caseSkill
- coralogix-spansSkill
- coralogix-viewsSkill
- cribl-investigationSkill
- crm-production-investigation-guidelinesSkill
- database-migration-service-expertiseSkill
- database-rds-devopsSkill
- devops-agent-cost-insightsSkill
- dx-vif-resilienceSkill
- ecs-operation-reviewSkill
- eks-upgrade-readinessSkill
- elastic-csp-investigationSkill
- elastic-k8s-investigationSkill
- elastic-llm-obsSkill
- elastic-onboardingSkill
- elastic-service-reliabilitySkill
- elastic-sre-triageSkill
- enrich-with-aws-security-agentSkill
- eos-cost-analysisSkill
- firehose-operation-reviewSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 7 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 70
Verify the Full Path: Test that routing works end-to-end
- Very specific: line 82
Check existing graphs with get-agent-graphs to avoid duplicates
- Very specific: line 83
Check existing configs with get-agent-configs to see what nodes already exist
- Very specific: line 88
Use create-agent-config with resource: "config" to create each agent config
- Very specific: line 90
Verify each config exists with get-agent-configs and its configKey
- Very specific: line 128
Use get-agent-graphs with the graphKey to confirm the graph was created with the correct structure
- Distinctive: line 129
Verify edges connect the right source and target configs
- Distinctive: line 130
Check that the root config key matches the intended entry point
- Distinctive: line 149
Don't create a graph before the config nodes exist
- Distinctive: line 150
Don't forget handoff data when agents need context from predecessors
- Distinctive: line 151
Don't create overly complex graphs — start simple and add nodes as needed
- Distinctive: line 152
Don't delete a graph without understanding if it's actively used in agent workflows
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Config Agent Graphs
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.
Prerequisites
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-graphs-- browse existing graphs in the project; withgraphKey, inspect one graph's structure and edges
Optional MCP tools:
update-agent-graph-- modify edges, root config, or descriptiondelete-agent-graph-- permanently remove a graphget-agent-configs-- inspect individual configs that serve as nodescreate-agent-config(resource: "config") -- create new configs to use as graph nodes
Core Concepts
What Are Agent Graphs?
An agent graph is a directed graph where:
- Nodes are configs (each config is an agent with its own model, prompt, and tools)
- Edges define routing between configs (source -> target)
- Handoff data on edges controls how context is passed between agents
- Root config is the entry point — the first agent that receives user input
When to Use Agent Graphs
| 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 |
Graph Structure
[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 transition
Core Principles
- Design Before Building: Map out nodes and edges on paper/whiteboard first
- One Agent, One Job: Each node should have a clear, focused responsibility
- Root Config Is the Router: The entry point should understand how to dispatch
- Handoff Data Matters: Define what context flows between agents
- Verify the Full Path: Test that routing works end-to-end
Workflow
Step 1: Design the Graph
Before creating anything:
- Identify the agents (configs) needed — each is a graph node
- Map the routing: which agent hands off to which?
- Define handoff data: what context does each edge carry?
- Identify the root config: which agent receives initial input?
- Check existing graphs with
get-agent-graphsto avoid duplicates - Check existing configs with
get-agent-configsto see what nodes already exist
Step 2: Ensure Nodes Exist
Each node in the graph must be an existing config. If configs don't exist yet:
- Use
create-agent-configwithresource: "config"to create each agent config - Set up variations with appropriate models and prompts for each agent's role (
resource: "variation", or pass the first variation's fields in the same call) - Verify each config exists with
get-agent-configsand itsconfigKey
Step 3: Create the Graph
Use 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"}
}
]
}Step 4: Verify
- Use
get-agent-graphswith thegraphKeyto confirm the graph was created with the correct structure - Verify edges connect the right source and target configs
- Check that the root config key matches the intended entry point
- Confirm handoff data is present on edges that need it
Report results:
- Graph created with N nodes and M edges
- Root config set correctly
- All edges verified
Edge Cases
| Situation | Action |
| Config doesn't exist yet | Create it first with create-agent-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 with confirm: true — provide the complete new edge list |
What NOT to Do
- Don't create a graph before the config nodes exist
- Don't forget handoff data when agents need context from predecessors
- Don't create overly complex graphs — start simple and add nodes as needed
- Don't delete a graph without understanding if it's actively used in agent workflows
Other Resources
To learn more, read Agent graphs.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

