Skip to main content

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:

  1. Sonar — Primary research
  2. Sonar Pro — Deep research
  3. Adversarial — Actively tries to disprove claims
  4. Gemma 4 — Claim decomposition and confidence calibration

Returns per-claim verdicts (supported/refuted/unverifiable) with confidence scores (0.00-1.00).

Links

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

langchain_agentoracle-0.2.0.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

langchain_agentoracle-0.2.0-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

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

Hashes for langchain_agentoracle-0.2.0.tar.gz
Algorithm Hash digest
SHA256 1a4b4bf57e5cd79f84d2a3b5a91d166f2562d628225af7b9443ba8cc2576f08e
MD5 c6c8897c3db2c70eae8bd8ba83835695
BLAKE2b-256 14f0f937cadb62c5c3081e1e8438632e7f7cd286f498127bb8ac5529e7ed1911

See more details on using hashes here.

File details

Details for the file langchain_agentoracle-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_agentoracle-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 75aaf5d9c4ddd0abe0cf6c7f10ee2e3a032a48358f54df986ecdff0372e16d60
MD5 468f373379c72fdcb46e404d359ce6b9
BLAKE2b-256 366ccc38b70d641f3d259da122794b1f8f4efbc5dc224f863dc03ad457499b56

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page