Skip to content

feat(agentkit): pass Runtime identity through VeADK helper - #794

Merged
yaozheng-fang merged 4 commits into
volcengine:mainfrom
dinghengda-creator:feat/agentkit-runtime-identity-helper
Aug 3, 2026
Merged

feat(agentkit): pass Runtime identity through VeADK helper#794
yaozheng-fang merged 4 commits into
volcengine:mainfrom
dinghengda-creator:feat/agentkit-runtime-identity-helper

Conversation

@dinghengda-creator

@dinghengda-creator dinghengda-creator commented Aug 1, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds optional Runtime identity passthrough from VeADK create_agentkit_app to AgentkitAgentServerApp.

  • Ordinary VeADK usage remains compatible with agentkit-sdk-python>=0.8.0; existing users are not forced to upgrade.
  • Runtime identity is opt-in. Only callers that pass identity= need an AgentKit SDK exposing the Runtime identity contract (planned for 0.8.2+).
  • When identity is requested with an older AgentKit SDK, VeADK fails closed with a clear upgrade error instead of silently running without the identity boundary.
  • Scope is AgentKit/VeADK only — this does not reuse or imply an ArkClaw implementation.
  • Upstream implementation: feat(identity): add verified Runtime OBO SDK agentkit-sdk-python#160 is merged.

Compatibility and release semantics

This VeADK PR no longer globally depends on AgentKit 0.8.2 and does not make the 0.8.2 release a merge blocker.

The AgentKit 0.8.2 package/tag is needed only before users can install and use the new Runtime identity capability through the standard package channel. Users who do not enable Runtime identity can continue using their existing compatible AgentKit SDK.

Validation

  • VeADK AgentKit integration suite: 34 passed
  • Legacy AgentKit compatibility validated with a real 0.6.2 checkout:
    • creating the app without identity succeeds
    • passing identity fails with the expected actionable error
  • Ruff format/check passed
  • git diff --check passed
  • uv lock --check --offline passed; no lock refresh required

Security boundary

VeADK only passes the identity object through after verifying that the installed AgentKit server supports the required contract. It does not store raw user tokens, exchange tokens, or expose credentials to Agent/Tool code. Identity-enabled startup fails closed when the enforcement capability is unavailable.

@dinghengda-creator
dinghengda-creator marked this pull request as ready for review August 2, 2026 01:01
@yaozheng-fang
yaozheng-fang merged commit dbc830b into volcengine:main Aug 3, 2026
7 checks passed
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