autogen
AutoGen Integration
Installation
pip install "nomotic[integrations]"Basic Integration
from nomotic import GovernanceRuntime, RuntimeConfig
from nomotic.integrations.autogen import NomoticAutoGenAdapter
runtime = GovernanceRuntime(RuntimeConfig.from_preset("strict"))
adapter = NomoticAutoGenAdapter(runtime)
governed_tools = adapter.wrap_tools(tools, agent_id="autogen-agent")
assistant = AssistantAgent(
name="assistant",
llm_config={"tools": governed_tools},
)Related
Last updated

