• ORPHAN
  • ACTIVE
  • GAP
  • HUMAN

How to find unreachable handlers with your agent

Connect this MCP to your agent to clean up your event registry. It finds the dead weight in your workflow graphs.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How do I find unreachable handlers in my LlamaIndex workflow?

Your agent uses the audit_event_coverage tool to map your event registry against your actual graph structure. It flags any handlers that are registered but have no path to be triggered. You'll get a list of orphan handlers to prune or fix.

Where each issue lands.

The cleanup results.

Your agent organizes its findings into these specific categories.

ORPHAN

Unreachable handlers

Your agent identifies handlers that exist in your registry but have no incoming event paths. These are your primary targets for deletion.

ACTIVE

Connected handlers

Your agent confirms which handlers are properly wired into the graph. This validates that your core logic is actually reachable.

GAP

Missing event paths

Your agent spots where an event is emitted but no handler is listening. This helps you find broken logic or missing steps.

HUMAN

Manual review needed

Your agent flags ambiguous connections where the graph structure is too complex to verify automatically. You decide if these are intentional or errors.

The workflow

What your agent does when the audit starts.

Your agent performs a structural analysis of your workflow code and registry.

  1. Map the registry

    Your agent pulls a full list of all registered event handlers from your LlamaIndex configuration.

    audit_event_coverage
  2. Trace the graph

    Your agent follows each event emission through the workflow graph to see where they lead.

    audit_event_coverage
  3. Identify orphans

    Your agent compares the registry against the reachable paths to find handlers that are effectively dead code.

    audit_event_coverage
  4. Report coverage

    Your agent summarizes the reachability of your entire event system.

    audit_event_coverage

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute LlamaIndex Workflow Router tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to kick off the audit.

Starting points

Swap out the bracketed text with your specific workflow file paths or registry names.

LlamaIndex Workflow Router Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_DOryu7oRIeVxPAf1TztMjE6JQfzqSODIZNromZGe/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, LlamaIndex Workflow Router capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "llamaindex-workflow-event-router-validator-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_DOryu7oRIeVxPAf1TztMjE6JQfzqSODIZNromZGe/mcp"
    }
  }
}
Copy into chat04
  • 01

    Run an audit on my workflow registry in ./src/workflows/main.py to find orphan handlers.

  • 02

    Check the event coverage for my LlamaIndex graph and tell me which handlers are unreachable.

  • 03

    Analyze the event registry in my current project and list all handlers that have no incoming event paths.

  • 04

    Find all registered handlers in my workflow that aren't being triggered by any active events.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect LlamaIndex Workflow Event Router Validator once, then ask.

Link the MCP to your client. Your credentials stay encrypted, and you can start auditing your workflows immediately.

Connect LlamaIndex Workflow Event Router Validator to your agent

FAQ

How this task behaves.

  • 01

    Can your agent delete the orphan handlers for me?

    No. Your agent only identifies and reports the unreachable handlers. You have to manually remove them from your code.

  • 02

    Does this work with any LlamaIndex workflow?

    Yes, as long as your workflow uses the standard event registry that the tool can scan.

  • 03

    Will your agent change my workflow logic?

    No. Your agent is read-only. It analyzes your existing graph and registry without making any changes to your files.

  • 04

    How does it know a handler is unreachable?

    It uses the audit_event_coverage tool to trace the path from each event emission to its intended handler.

  • 05

    Can it find handlers that are registered but have typos in their event names?

    Yes, if the typo prevents the event from matching a registered handler, your agent will flag that handler as unreachable.

  • More questions about LlamaIndex Workflow Event Router Validator? The Connector page answers them. See everything the LlamaIndex Workflow Event Router Validator Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from LlamaIndex Workflow Router to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    LlamaIndex Workflow Router plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect LlamaIndex Workflow Router to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.