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.
Select a framework to see integration details, code examples, and setup instructions.
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.
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"
)ANS provides a REST API and SDK that works with any framework. Check the documentation or contribute an integration to the community.