LangChain integration for AgentOracle — trust verification tools for AI agents
Project description
langchain-agentoracle
LangChain integration for AgentOracle — trust verification tools for AI agents.
Installation
pip install langchain-agentoracle
Quick Start
from langchain_agentoracle import AgentOracleVerifyTool, AgentOracleEvaluateTool
# Free preview verification
verify = AgentOracleVerifyTool()
result = verify.invoke("GPT-5 was released in March 2026")
# Full multi-source evaluation ($0.02 USDC via x402)
evaluate = AgentOracleEvaluateTool()
result = evaluate.invoke({
"content": "Bitcoin reached $100K in 2025. Ethereum moved to proof-of-stake in 2022."
})
Use with LangChain Agents
from langchain_openai import ChatOpenAI
from langchain.agents import AgentExecutor, create_openai_tools_agent
from langchain_agentoracle import AgentOracleVerifyTool, AgentOraclePreviewTool
llm = ChatOpenAI(model="gpt-4")
tools = [AgentOracleVerifyTool(), AgentOraclePreviewTool()]
# Agent can now verify claims before acting on them
Tools
| Tool | Description | Price |
|---|---|---|
AgentOracleVerifyTool |
Quick claim verification via /preview | Free (10/hr) |
AgentOracleEvaluateTool |
Full 4-source verification with per-claim analysis | $0.02 USDC |
AgentOraclePreviewTool |
Research preview with confidence scoring | Free (10/hr) |
How It Works
AgentOracle uses 4-source verification:
- Sonar — Primary research
- Sonar Pro — Deep research
- Adversarial — Actively tries to disprove claims
- Gemma 4 — Claim decomposition and confidence calibration
Returns per-claim verdicts (supported/refuted/unverifiable) with confidence scores (0.00-1.00).
Links
- API: agentoracle.co
- npm SDK: agentoracle-verify
- GitHub: TKCollective/x402-research-skill
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file langchain_agentoracle-0.2.0.tar.gz.
File metadata
- Download URL: langchain_agentoracle-0.2.0.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a4b4bf57e5cd79f84d2a3b5a91d166f2562d628225af7b9443ba8cc2576f08e
|
|
| MD5 |
c6c8897c3db2c70eae8bd8ba83835695
|
|
| BLAKE2b-256 |
14f0f937cadb62c5c3081e1e8438632e7f7cd286f498127bb8ac5529e7ed1911
|
File details
Details for the file langchain_agentoracle-0.2.0-py3-none-any.whl.
File metadata
- Download URL: langchain_agentoracle-0.2.0-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75aaf5d9c4ddd0abe0cf6c7f10ee2e3a032a48358f54df986ecdff0372e16d60
|
|
| MD5 |
468f373379c72fdcb46e404d359ce6b9
|
|
| BLAKE2b-256 |
366ccc38b70d641f3d259da122794b1f8f4efbc5dc224f863dc03ad457499b56
|