Skip to content

feat(studio): agent Workflow tab (config graph + YAML) - #769

Draft
marcusds wants to merge 1 commit into
mainfrom
studio-agent-workflow-tab/mschwab
Draft

feat(studio): agent Workflow tab (config graph + YAML)#769
marcusds wants to merge 1 commit into
mainfrom
studio-agent-workflow-tab/mschwab

Conversation

@marcusds

Copy link
Copy Markdown
Contributor

Summary

Adds a Workflow tab to the agent side panel that visualizes a managed NAT agent's workflow. Standalone (managed agents only), off main, no backend changes.

What it shows

  • Workflow type + model badge(s).
  • A simple graph: root workflow node → the tools wired in via workflow.tool_names, each showing the function name + _type. Functions declared but not wired are called out separately.
  • The agent's config as YAML, with credential-like values (api_key/token/secret/password/...) redacted so secrets aren't rendered to anyone who can view the agent.

Files

  • summarizeAgentWorkflow.ts (+ test) — read model over the stored config.
  • redactSecrets.ts (+ test) — deep-mask credential keys before rendering.
  • AgentWorkflowContent.tsx — the tab content.
  • AgentPanel/types.ts + index.tsx — the Workflow tab wiring.

Testing

Unit tests for summarizeAgentWorkflow + redactSecrets; typecheck (our files) + lint clean.

Note: extracted from a larger external-agents PR so it can land independently. That PR extends this tab to render external agents' A2A cards.

CI: web-typecheck may fail on pre-existing intake/eval-session errors on main — untouched by this branch.

🤖 Generated with Claude Code

Add a Workflow tab to the agent side panel that visualizes a managed NAT
agent's workflow: the workflow type + model, a simple graph (root workflow
node → wired tool nodes, with declared-but-unwired tools called out), and the
config as YAML with credential-like values (api_key/token/secret/...) redacted.

- summarizeAgentWorkflow: read model over the stored config
- redactSecrets: deep-mask credential keys before rendering
- AgentWorkflowContent + the "Workflow" tab wiring

Standalone (managed agents); no backend changes.

Signed-off-by: mschwab <mschwab@nvidia.com>
@github-actions github-actions Bot added the feat label Jul 17, 2026
@github-actions

Copy link
Copy Markdown
Contributor
Suite Lines Covered Line Rate Branch Rate
Unit Tests 25534/32751 78.0% 62.6%
Integration Tests 14732/31400 46.9% 19.2%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant