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.1.tar.gz (20.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.1-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: docimprint-0.1.1.tar.gz
  • Upload date:
  • Size: 20.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.1.tar.gz
Algorithm Hash digest
SHA256 8147a7067d572494dd34d365357c6bbce6a363e63f51fc0b98dc2135a49ecfe5
MD5 72b61699446bf1294aed82caa5b7d4e1
BLAKE2b-256 1d6d19a0768414deef31fa0ff93d85ae04975d61714694dfe0b9fd8fd8b7ad44

See more details on using hashes here.

File details

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

File metadata

  • Download URL: docimprint-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 09280803e5d52b8c9ad907e1c457a70d642661565b1ea6737a94678042db0971
MD5 d95b706caf9f72e4e7a71dde2e9747d3
BLAKE2b-256 9008803d714a1b440c56c451b4cef2e16a1332c195ed2d927611e260dde84108

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