Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## [Unreleased]

### Added
- feat(runtime): add HTTP invocation methods (`invoke`, `invoke_streaming`, `invoke_streaming_async`) and `InvokeAgentRuntimeCommand` shell-exec support (`execute_command`, `execute_command_streaming`) to `AgentCoreRuntimeClient`, plus `stop_runtime_session`. Methods take `runtime_arn` and `bearer_token` per-call, matching `generate_ws_connection_oauth`. The `urllib3.PoolManager` is lazy-initialized so SigV4 URL-generation users pay no cost.
- feat(runtime): add `AgentRuntimeError` exception raised by the HTTP methods on non-2xx responses and in-band SSE error events.

## [1.6.3] - 2026-04-16

### Fixed
Expand Down
12 changes: 10 additions & 2 deletions src/bedrock_agentcore/runtime/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,18 @@
- BedrockAgentCoreApp: Main application class
- RequestContext: HTTP request context
- BedrockAgentCoreContext: Agent identity context
- AgentCoreRuntimeClient: Authentication + HTTP invocation client for deployed runtimes
- AgentRuntimeError: Exception raised by the HTTP invocation methods
"""

from .agent_core_runtime_client import AgentCoreRuntimeClient
from .agent_core_runtime_client import AgentCoreRuntimeClient, AgentRuntimeError
from .app import BedrockAgentCoreApp
from .context import BedrockAgentCoreContext, RequestContext
from .models import PingStatus

__all__ = [
"AgentCoreRuntimeClient",
"AgentRuntimeError",
"AGUIApp",
"BedrockAgentCoreApp",
"BedrockCallContextBuilder",
Expand All @@ -29,7 +32,12 @@

def __getattr__(name: str):
"""Lazy imports for A2A and AG-UI symbols so optional dependencies are not required at import time."""
_a2a_exports = {"BedrockCallContextBuilder", "build_a2a_app", "build_runtime_url", "serve_a2a"}
_a2a_exports = {
"BedrockCallContextBuilder",
"build_a2a_app",
"build_runtime_url",
"serve_a2a",
}
if name in _a2a_exports:
from . import a2a as _a2a_module

Expand Down
Loading
Loading