Skip to main content

FrameworkAdapterProtocol

Defined in the protocols module.
AI Agent Contract for YAML-driven multi-framework execution backends.

Properties

str
No description available.
str
No description available.
bool
No description available.
bool
No description available.

Methods

is_available()

Return True when this framework’s optional dependencies are installed.

resolve()

Pick a concrete adapter variant (e.g. autogen v0.2 vs v0.4).

setup()

Framework-specific pre-run hooks (observability, SDK init, etc.).

run()

Execute the framework with shared agents.yaml configuration.

arun()

Async execution; default implementations may offload sync run().

cleanup()

Release resources after execution.

resolve_alias()

Return the concrete adapter name to dispatch to.

Source

View on GitHub

praisonaiagents/frameworks/protocols.py at line 9