Skip to main content

🛡️ ProofCore Protocol

The Cryptographic Notarization & Evidence Layer for the AI & M2M Economy

TON Blockchain Python OpenAPI 3.1 llms.txt License: MIT

"Don't trust ProofCore. Verify the proof yourself."

🌐 Website • 📖 OpenAPI Spec • 🤖 llms.txt • 📱 Telegram Bot


⚡ The Problem & The Solution

In the era of autonomous AI agents, digital trust is broken:

  • Denial of Generation: AI outputs can be secretly altered or deleted.
  • Fabricated Hallucinations: Screenshots of LLM predictions and contract audits can easily be faked.
  • Centralized Vulnerability: Traditional notarization APIs require manual API keys, subscriptions, and trusting a single server's timestamp.

ProofCore is a high-throughput, Zero-Auth M2M Protocol that cryptographically commits digital outputs into The Open Network (TON) Blockchain via Merkle Tree batching. It delivers mathematical Proof-of-Existence (PoE) and verifiable provenance without storing private user keys.

┌────────────────┐     POST /api/v0.1/seal     ┌────────────────┐
│ Autonomous AI  │ ──────────────────────────> │   ProofCore    │
│ Agent / LLM    │ <────────────────────────── │   API Gateway  │
└────────────────┘    Instant Citation Badge   └───────┬────────┘
                                                       │
                                            SHA-256 Merkle Batching
                                                       │
                                                       ▼
                                            ┌────────────────────┐
                                            │   TON Blockchain   │
                                            │ (Immutable Anchor) │
                                            └────────────────────┘

🚀 Developer Integrations & SDK

Zero-Auth Cryptographic Notarization API for AI Agents & Autonomous Systems The easiest way to interact with the TON Blockchain and seal your data is to use our official Python package.

📦 Installation

pip install proofcore

(For specific AI frameworks, use pip install proofcore[langchain] or pip install proofcore[crewai])


🤖 1. LangChain Agent Integration

from langchain_openai import ChatOpenAI
from langchain.agents import initialize_agent, AgentType
from proofcore.langchain import ProofCoreSealerTool, ProofCoreVerifierTool

llm = ChatOpenAI(model="gpt-4o")
# Tools for both sealing output and verifying other agents' claims
tools = [ProofCoreSealerTool(), ProofCoreVerifierTool()]

agent = initialize_agent(tools, llm, agent=AgentType.OPENAI_FUNCTIONS, verbose=True)
response = agent.run("Verify the authenticity of report for deal '4eea9784-2371-4505-8f2f-0b4c5a15a9ec' with content 'Vault audit...'")
print(response)

🕵️ 2. CrewAI Integration

from crewai import Agent
from proofcore.crewai import ProofCoreCrewTool, ProofCoreCrewVerifyTool

# Drop-in tools for CrewAI pipelines
auditor = Agent(
    role="Smart Contract Auditor",
    goal="Audit code, seal proofs on TON, and verify counterparty claims.",
    tools=[ProofCoreCrewTool(), ProofCoreCrewVerifyTool()]
)

🐍 3. Pure Python (The Lazy Way)

No frameworks? ProofCore is a Zero-Auth API. No API keys or registration required.

import proofcore

# Step 1: Seal content & get instant Ed25519 attestation
deal = proofcore.seal(
    content="Autonomous System Prediction: BTC > $150k before Q4 2026.",
    agent_id="python-script-v1",
    title="Market Forecast"
)
print(f"Deal ID: {deal['deal_id']}")
print(f"Badge: {deal['citation']}")

# Step 2: Programmatic M2M Verification (Agent-to-Agent)
result = proofcore.verify(
    deal_id=deal['deal_id'],
    content="Autonomous System Prediction: BTC > $150k before Q4 2026."
)
print(f"Is Authentic: {result['valid']}")
print(f"Ed25519 Signature Valid: {result['checks']['signature_valid']}")
print(f"TON Blockchain Status: {result['anchor']['status']}")

🎨 4. Hugging Face Spaces & Gradio (UI Component)

Building an AI demo on Hugging Face? Add our drop-in UI component to instantly give your space a Web3 verification badge.

First, add proofcore[ui] to your requirements.txt. Then use the NotarizedOutput class:

import gradio as gr
from proofcore.gradio import NotarizedOutput

def generate_text(prompt):
    return f"AI generated response for: {prompt}"

with gr.Blocks() as demo:
    gr.Markdown("# My Secure AI Generator")
    inp = gr.Textbox(label="Prompt")
    
    # Drop-in replacement for gr.Textbox
    out = NotarizedOutput(label="AI Output (Anchored on TON)")
    
    btn = gr.Button("Generate & Notarize")
    
    # 1. Generate text -> 2. Process and Seal
    btn.click(fn=generate_text, inputs=inp, outputs=out.textbox).then(
        fn=out.process, inputs=out.textbox, outputs=out.outputs
    )

demo.launch()

🛡️ How to Verify the Proof Offline?

ProofCore is built on the philosophy: "Don't trust us. Verify it yourself."

The get_proof() method returns all the data required for independent verification. You can easily reconstruct the Merkle Tree and compare the resulting root against the public TON Blockchain without ever trusting our servers.

Check out the full OpenAPI Specification and Mathematical Algorithm at proofcore.org/openapi.json.

Metadata

Release files for proofcore 0.1.8

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

Source distribution (sdist)

Source distribution for proofcore 0.1.8
File Size Uploaded Provenance Actions
proofcore-0.1.8.tar.gz 8.3 kB Without provenance Details for proofcore-0.1.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for proofcore 0.1.8
File Interpreter ABI Platform Actions
proofcore-0.1.8-py3-none-any.whl Python 3 none any Details for proofcore-0.1.8-py3-none-any.whl

Total release size: 18.1 kB

Release files / proofcore-0.1.8.tar.gz

Download URL proofcore-0.1.8.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
fb54dc60c991c546961bdbefe7b99aff075e99ea38a0ae4dfe8a78a545ca9134
BLAKE2b-256 checksum
How to use checksums
422fdd48a99321194652c2b9e3a91e22ecd2cfd3a25698b3807892204063af13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / proofcore-0.1.8-py3-none-any.whl

Download URL proofcore-0.1.8-py3-none-any.whl
Size 9.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fdce86568ecc5a9a6d77c6d5d1b3b9f7e2849b5497ccdd9512191b947786f1dd
BLAKE2b-256 checksum
How to use checksums
23549208a09222be3c69c56b35f8bf093ffca54cba619c306d07bf643b0c7be7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Security for proofcore 0.1.8

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.

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