Skip to main content

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

Metadata

Release files for langchain-agentoracle 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for langchain-agentoracle 0.2.0
File Size Uploaded Provenance
langchain_agentoracle-0.2.0.tar.gz 7.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for langchain-agentoracle 0.2.0
File Interpreter ABI Platform
langchain_agentoracle-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 15.6 kB

Release files / langchain_agentoracle-0.2.0.tar.gz

Download URL langchain_agentoracle-0.2.0.tar.gz
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1a4b4bf57e5cd79f84d2a3b5a91d166f2562d628225af7b9443ba8cc2576f08e
BLAKE2b-256 checksum
How to use checksums
14f0f937cadb62c5c3081e1e8438632e7f7cd286f498127bb8ac5529e7ed1911
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / langchain_agentoracle-0.2.0-py3-none-any.whl

Download URL langchain_agentoracle-0.2.0-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
75aaf5d9c4ddd0abe0cf6c7f10ee2e3a032a48358f54df986ecdff0372e16d60
BLAKE2b-256 checksum
How to use checksums
366ccc38b70d641f3d259da122794b1f8f4efbc5dc224f863dc03ad457499b56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Security for langchain-agentoracle 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page