Skip to content

Agent ID header support + identity model docs#1

Merged
madtank merged 3 commits intostagingfrom
orion/agent-id-support
Mar 17, 2026
Merged

Agent ID header support + identity model docs#1
madtank merged 3 commits intostagingfrom
orion/agent-id-support

Conversation

@madtank
Copy link
Copy Markdown
Member

@madtank madtank commented Mar 17, 2026

Summary

  • Added agent_id parameter to AxClient (sends X-Agent-Id header)
  • Added resolve_agent_id() to config (AX_AGENT_ID env or config.toml)
  • Identity model docs in CLAUDE.md

Test plan

  • ax auth whoami works with agent-bound PAT
  • ax messages list works with X-Agent-Id header
  • ax send sends messages attributed to agent

🤖 Generated with Claude Code

Cipher and others added 3 commits March 17, 2026 04:11
- Added agent_id parameter to AxClient (sends X-Agent-Id header)
- Added resolve_agent_id() to config (AX_AGENT_ID env or config.toml)
- Updated CLAUDE.md with identity model documentation
- Agent-bound PATs with header now act as the agent principal

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
keys create:
- Added --agent flag (resolves name to UUID)
- Added docstring with examples for bound vs unrestricted PATs
- Shows "Bound to: <uuid>" on creation

auth init:
- Added --agent-id flag for agent-bound PAT config

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…gent

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@madtank madtank merged commit 8667413 into staging Mar 17, 2026
@madtank madtank deleted the orion/agent-id-support branch March 17, 2026 04:39
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.

1 participant