Skip to main content

Python client and CrewAI integration for DocImprint verifiable document memory

Project description

docimprint (Python)

Verifiable document memory for AI agents — evidence bundles, Merkle proofs, and signatures.

Install

pip install docimprint           # REST client only
pip install "docimprint[crewai]"  # + CrewAI tools & toolkit (Python 3.10–3.13)

Set DOCIMPRINT_API_KEY or pass api_key= to the client. Default API base URL is https://api.docimprint.com.

CrewAI quickstart

import os
from crewai import Agent, Crew, Task
from docimprint.crewai import DocImprintToolkit

toolkit = DocImprintToolkit(
    api_key=os.environ["DOCIMPRINT_API_KEY"],
    collection_id="col_your_collection",  # optional; enables collection search/ask tools
)
researcher = Agent(role="Researcher", goal="Extract verifiable evidence", tools=toolkit.research_tools())
task = Task(description="Extract evidence from https://example.com/contract", agent=researcher)
Crew(agents=[researcher], tasks=[task]).kickoff()

DocImprintToolkit groups tools for research (ExtractEvidenceTool, SummarizeTool, QATool, CheckClaimsTool), legal (VerifyBundleTool, NotarizeTool), and collection search. Use toolkit.all_tools() for the full set.

REST client

from docimprint import DocImprintClient

with DocImprintClient(api_key="...") as client:
    bundle = client.extract_evidence(url="https://example.com")
    print(bundle["bundle_id"])

Docs

License

MIT — see LICENSE.

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

docimprint-0.1.0.tar.gz (19.0 kB view details)

Uploaded Source

Built Distribution

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

docimprint-0.1.0-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

Details for the file docimprint-0.1.0.tar.gz.

File metadata

  • Download URL: docimprint-0.1.0.tar.gz
  • Upload date:
  • Size: 19.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for docimprint-0.1.0.tar.gz
Algorithm Hash digest
SHA256 79ebed1502ad05ce6933687a68a1aacfe0de7801b9b3b6efe67224e4c15809be
MD5 9b662a6338d020ce1bf2a5cf1a989a25
BLAKE2b-256 e76234da3ec0baa0ee4e6470b6e291b297e2d54fa7b5dbc130ba950738f6e138

See more details on using hashes here.

File details

Details for the file docimprint-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: docimprint-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 20.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for docimprint-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d1c24d8ede33da1b40758007ed2073a662e0368e1e7cc11201267d886fa83d5b
MD5 5bdaaab8600ed07209eaec2ba8fe4d69
BLAKE2b-256 844f77113a260cb9b9970b46c9d7faf7ba1a46bfb1558f3931ef994410860c02

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