Skip to content

Document agent name customization for the Claude Code plugin#2760

Merged
anastasiaguspan merged 2 commits into
mainfrom
weave-claude-code-agent-name-89
Jun 15, 2026
Merged

Document agent name customization for the Claude Code plugin#2760
anastasiaguspan merged 2 commits into
mainfrom
weave-claude-code-agent-name-89

Conversation

@rgao-coreweave

Copy link
Copy Markdown
Contributor

Summary

Documents the customizable agent_name setting and WEAVE_AGENT_NAME environment variable added in wandb/weave-claude-code#89. This lets users rename the top-level agent shown in Weave's Agents view instead of the hardcoded claude-code default.

Changes to weave/guides/integrations/agents/claude-code-harness.mdx:

  • Configure the plugin: add a config set agent_name example, a WEAVE_AGENT_NAME env var export, and a short explanation (default claude-code, can't be empty, whitespace trimmed).
  • Trace tree: note that the root invoke_agent claude-code span uses the configurable top-level agent name, and that subagents keep their own type names.
  • Weave skills: add agent_name to the /weave:weave-config set examples.

Notes

  • Edits target the harness doc, which tracks the current weave-claude-code CLI (matching the PR repo's naming, the Agents view, and the invoke_agent span names).
  • The older weave/guides/integrations/claude_code.mdx page documents a differently-named weave-claude-plugin incarnation and was left untouched. Worth a follow-up if that page is still meant to be current.

Adds docs for the agent_name setting and WEAVE_AGENT_NAME env var
introduced in wandb/weave-claude-code#89, which lets users rename the
top-level agent shown in Weave's Agents view (default: claude-code).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mintlify

mintlify Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
wandb 🟢 Ready View Preview Jun 12, 2026, 6:02 PM

@github-actions

github-actions Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

📚 Mintlify Preview Links

🔗 View Full Preview

📝 Changed (1 total)

📄 Pages (1)

File Preview
weave/guides/integrations/agents/claude-code-harness.mdx Claude Code Harness

🤖 Generated automatically when Mintlify deployment succeeds
📍 Deployment: 919cac8 at 2026-06-12 18:11:32 UTC

@github-actions

github-actions Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

🔗 Link Checker Results

All links are valid!

No broken links were detected.

Checked against: https://wb-21fd5541-weave-claude-code-agent-name-89.mintlify.app

@rgao-coreweave rgao-coreweave changed the title Document customizable agent_name for Claude Code plugin Document agent name customization for the Claude Code plugin Jun 12, 2026
@rgao-coreweave rgao-coreweave marked this pull request as ready for review June 12, 2026 18:06
@rgao-coreweave rgao-coreweave requested a review from a team as a code owner June 12, 2026 18:06
…nt-name-89

# Conflicts:
#	weave/guides/integrations/agents/claude-code-harness.mdx
@anastasiaguspan anastasiaguspan merged commit 930d49a into main Jun 15, 2026
7 checks passed
@anastasiaguspan anastasiaguspan deleted the weave-claude-code-agent-name-89 branch June 15, 2026 18:12
ngrayluna pushed a commit that referenced this pull request Jun 15, 2026
## Summary

Documents the customizable `agent_name` setting and `WEAVE_AGENT_NAME`
environment variable added in
[wandb/weave-claude-code#89](wandb/weave-claude-code#89).
This lets users rename the top-level agent shown in Weave's Agents view
instead of the hardcoded `claude-code` default.

Changes to `weave/guides/integrations/agents/claude-code-harness.mdx`:

- **Configure the plugin**: add a `config set agent_name` example, a
`WEAVE_AGENT_NAME` env var export, and a short explanation (default
`claude-code`, can't be empty, whitespace trimmed).
- **Trace tree**: note that the root `invoke_agent claude-code` span
uses the configurable top-level agent name, and that subagents keep
their own type names.
- **Weave skills**: add `agent_name` to the `/weave:weave-config set`
examples.

## Notes

- Edits target the harness doc, which tracks the current
`weave-claude-code` CLI (matching the PR repo's naming, the Agents view,
and the `invoke_agent` span names).
- The older `weave/guides/integrations/claude_code.mdx` page documents a
differently-named `weave-claude-plugin` incarnation and was left
untouched. Worth a follow-up if that page is still meant to be current.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants