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.

Download files

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

Source Distribution

proofcore-0.1.8.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

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

proofcore-0.1.8-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file proofcore-0.1.8.tar.gz.

File metadata

  • Download URL: proofcore-0.1.8.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.7

File hashes

Hashes for proofcore-0.1.8.tar.gz
Algorithm Hash digest
SHA256 fb54dc60c991c546961bdbefe7b99aff075e99ea38a0ae4dfe8a78a545ca9134
MD5 0e344c8ffa3ad48897e7b071e050825f
BLAKE2b-256 422fdd48a99321194652c2b9e3a91e22ecd2cfd3a25698b3807892204063af13

See more details on using hashes here.

File details

Details for the file proofcore-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: proofcore-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.7

File hashes

Hashes for proofcore-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 fdce86568ecc5a9a6d77c6d5d1b3b9f7e2849b5497ccdd9512191b947786f1dd
MD5 4cc83392972480bc7ca3d6a464b50073
BLAKE2b-256 23549208a09222be3c69c56b35f8bf093ffca54cba619c306d07bf643b0c7be7

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.8 This release

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

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