Framework Integrations

Drop-in integration patterns for LangChain, OpenAI Assistants, CrewAI, AutoGen, and raw REST API calls.

from neurionocta import NeurionOctaClientfrom langchain.agents import AgentExecutorclient = NeurionOctaClient(api_key="nid_...")agent_did = client.register_agent(org_id, "LangChain Sales Bot", ["read:data", "send:email"])# Wrap your existing tool callsdef governed_tool(tool_name: str, input: str) -> str:    policy = client.check_policy(agent_did, tool_name)    if not policy["allowed"]:        raise Exception(f"Blocked: {policy['reason']}")    result = your_tool.run(input)    client.log_action(agent_did, tool_name, {"input": input})    return result

Each example wraps your existing agent logic with check_policy before execution and log_action after success. Install the Python SDK with pip install neurionocta to get started.