Skip to content

Conversation

@ziye122
Copy link

@ziye122 ziye122 commented Nov 11, 2025

#33880

(Replace this entire block of text)

Description

Add AgentRuntime to manage agent metadata (via AgentMetadata) and runtime state (via AgentState), analogous to ToolRuntime. This includes:

  • Immutable metadata (name, model, type, etc.) with serialization support.
  • Dynamic state tracking (call count, status, errors) with lifecycle hooks (on_call/on_complete).
  • Unit tests covering core logic (metadata serialization, state updates, lifecycle).

Issue

Closes #33880

Dependencies

None

@ziye122 ziye122 changed the title feat(agents): implement AgentRuntime with metadata and state tracking… feat(agents): Implement AgentRuntime with metadata and state tracking Nov 11, 2025
@github-actions github-actions bot added feature and removed feature labels Nov 11, 2025
@ziye122 ziye122 changed the title feat(agents): Implement AgentRuntime with metadata and state tracking feat(core): Implement AgentRuntime with metadata and state tracking Nov 11, 2025
@github-actions github-actions bot added feature and removed feature labels Nov 11, 2025
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.

Add AgentRuntime

1 participant