Framework Integrations

Drop-in SDK patterns for LangChain, OpenAI, CrewAI, and AutoGen — or zero-code MCP Gateway middleware with automatic policy and audit.

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

SDK examples wrap your agent logic with check_policy before execution and log_action after success. Prefer zero-code? Use the MCP Gateway tab — add NeurionOcta to your MCP client config and every tool call is governed automatically.