NexAgentLens
IDE for AI Agents
A VS Code extension that visualizes AI agent workflows defined in YAML and enhances prompt markdown files with token awareness and validation.
Workflow Visualization

Workflow Errors Visualization

Prompt Viewer

Prompt Errors Viewer

Features
- YAML Workflow Visualization — Open any
*.agent.yaml file to see a graph of workflow steps rendered with React Flow
- Prompt Markdown Enhancement — Open any
*.prompt.md file to see role detection, token estimation, and validation
- Validation Engine — Detects duplicate IDs, missing references, cycles, guardrail violations, and more
Usage
- Install the extension
- Open a
.agent.yaml or .prompt.md file
- The AgentLens panel opens automatically in a side panel
YAML Spec (v1)
agent:
name: my-agent
steps:
- id: step1
type: llm
max_tokens: 1000
next: step2
- id: step2
type: tool
Prompt Spec
## System
You are a helpful assistant.
## User
Tell me a joke.
## Tools
- search
| |