Framework Integrations | ANS - Agent Name Service
IntegrationsDeveloper Tools

ANS for Every Framework

Whether you're building with LangChain, CrewAI, n8n, or other agent frameworks — ANS provides trust verification as a native integration. Pick your framework and see how to add verifiable agent identity in minutes. This site outlines a forward looking concept for ANS.

Choose your framework

ANS integrates with your existing tools

Select a framework to see integration details, code examples, and setup instructions.

LangChain / LangGraph

LangChain provides a flexible framework for building agent chains. ANS integrates as a custom tool that agents can invoke to verify external services before interaction.

Custom Tool Integration15 min setup

Setup Steps

  1. 1Install the ANS LangChain integration package
  2. 2Register ANS verification as a custom tool in your agent
  3. 3Configure trust policies (minimum tier, score thresholds)
  4. 4Agents automatically verify before external API calls

Code Example

LangChain / LangGraph Integrationpython
from langchain.agents import initialize_agent, Tool
from langchain.llms import OpenAI
from ans_langchain import ANSVerificationTool

# Initialize ANS verification tool
ans_tool = ANSVerificationTool(
    min_tier="silver",
    min_score=50,
    policy="warn"  # or "block"
)

# Create agent with ANS verification
tools = [
    ans_tool,
    # ... your other tools
]

agent = initialize_agent(
    tools=tools,
    llm=OpenAI(temperature=0),
    agent="zero-shot-react-description",
    verbose=True
)

# Agent will automatically verify before calling external services
result = agent.run(
    "Book an appointment with joes-barber.com for Thursday 2pm"
)

Benefits

  • Seamless integration with existing LangChain workflows
  • Automatic verification before external API calls
  • Policy-based trust enforcement (warn vs block)
  • Works with LangGraph for complex multi-agent scenarios

Don't see your framework?

ANS provides a REST API and SDK that works with any framework. Check the documentation or contribute an integration to the community.