Integrations

AgentSign works with any AI agent framework. Here's how to integrate.

Claude MCP

Add identity verification to your Claude MCP tool server.

// In your MCP server's tool handler:
async function handleToolCall(request) {
  const agentId = request.params?.agent_id;

  // Verify agent identity before granting tool access
  const gate = await fetch('https://agentsign.dev/api/mcp/verify', {
    method: 'POST',
    headers: { 'Content-Type': 'application/json' },
    body: JSON.stringify({
      agent_id: agentId,
      mcp_id: 'my-mcp-server',
      tool: request.params.name
    })
  }).then(r => r.json());

  if (gate.decision !== 'ALLOW') {
    return { error: 'Access denied: ' + gate.reason };
  }

  // Proceed with tool execution...
}

Google Gemini ADK

Verify Gemini agents before they access tools or resources.

from agentsign import AgentSign
import google.generativeai as genai

client = AgentSign(api_key="as_live_YOUR_KEY", base_url="https://agentsign.dev")

# Onboard Gemini agent
agent = client.onboard(name="gemini-agent", permissions=["search", "code"])

# Before tool access, verify
result = client.mcp_verify(
    agent_id=agent["agent_id"],
    mcp_id="gemini-tools",
    tool="code_execution"
)
print(result["decision"])  # "ALLOW"

LangChain

Add AgentSign verification as a LangChain tool or middleware.

from langchain.tools import tool
from agentsign import AgentSign

client = AgentSign(api_key="as_live_YOUR_KEY", base_url="https://agentsign.dev")
agent = client.onboard(name="langchain-agent", permissions=["search"])

@tool
def verified_search(query: str) -> str:
    """Search with identity verification."""
    gate = client.mcp_verify(
        agent_id=agent["agent_id"],
        tool="search"
    )
    if gate["decision"] != "ALLOW":
        return f"Access denied: {gate['reason']}"

    # Proceed with actual search...
    return do_search(query)

CrewAI

Give each CrewAI agent a unique cryptographic identity.

from crewai import Agent, Task, Crew
from agentsign import AgentSign

client = AgentSign(api_key="as_live_YOUR_KEY", base_url="https://agentsign.dev")

# Each crew member gets their own identity
researcher = client.onboard(name="researcher", permissions=["search", "read"])
writer = client.onboard(name="writer", permissions=["write"])

# Verify before execution
for member in [researcher, writer]:
    result = client.verify(member["passport"])
    assert result["valid"], f"Agent {member['name']} passport invalid!"

crew = Crew(
    agents=[researcher_agent, writer_agent],
    tasks=[research_task, write_task]
)

AutoGen

Verify Microsoft AutoGen agents before they collaborate.

import autogen
import requests

# Onboard each AutoGen agent
def onboard_agent(name, perms):
    r = requests.post("https://agentsign.dev/api/agents/onboard",
        headers={"Authorization": "Bearer as_live_YOUR_KEY",
                 "Content-Type": "application/json"},
        json={"name": name, "permissions": perms})
    return r.json()

coder = onboard_agent("coder", ["code", "execute"])
reviewer = onboard_agent("reviewer", ["read", "review"])

# Verify before tool access
def check_access(agent_id, tool):
    r = requests.post("https://agentsign.dev/api/mcp/verify",
        json={"agent_id": agent_id, "tool": tool})
    return r.json()["decision"] == "ALLOW"

Works with any framework

Any HTTP client can call the AgentSign API. No SDK required.

Create Free Account API Reference