This is preview documentation. The official release is not yet available.
Java
agentscope-extensions-aistio adapts AgentScope Java Agent objects. Its contract includes context, messages, session commands, abort and task queries. The underlying Agent still determines whether a specific operation can execute.
Optional extensions include SessionHistorySource for history, AgentRuntimeSource for Workspace/Subagent inventory and runtime details, and AgentTaskStarter for dispatched work. HarnessAgentTaskStarter can consume platform definitions through a Workspace factory. The adapter advertises agent-task only when a task starter is configured; creating a bridge alone does not create a work executor.
Built-in Python adapters
Automatic selection calls
can_handle(target) and chooses the first match in registration order. Supply adapter= explicitly for unsupported wrappers or ambiguous matching.
The current built-in Python adapters do not implement handle_agent_task. They provide observation and their implemented session capabilities, without automatic Issue/Team dispatch support. External and Hosted integrations are different even when names overlap: Claude Agent SDK integration is separate from running Claude Code CLI through Runtime Host.
Implementing a custom adapter
Subclass
FrameworkAdapter and pass it to aistio.instrument(..., adapter=your_adapter), or register it with register_adapter(). The base class derives capabilities from overridden methods; empty implementations must not be used to claim support.