Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>NexAgent LensNew to Visual Studio Code? Get it now.
NexAgent Lens

NexAgent Lens

NexAgent Labs

| (0) | Free
Visualize AI agent workflows from YAML and enhance prompt markdown files with token awareness and validation.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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 Graph

Workflow Errors Visualization

Workflow Graph

Prompt Viewer

Workflow Graph

Prompt Errors Viewer

Workflow Graph

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

  1. Install the extension
  2. Open a .agent.yaml or .prompt.md file
  3. 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
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft