Skip to main content

Tamper-proof memory and chain-of-custody for AI agents

Project description

Connector Python SDK

Trusted Memory for AI Agents — Python SDK backed by the real Rust kernel.

Install

pip install connector-agent

Quick Start

from connector import Connector

# 3 lines: agent with memory
c = Connector("openai", "gpt-4o", "sk-...")
agent = c.agent("assistant", "You help users")
result = agent.run("What is Rust?", user="user:alice")

print(result.text)        # response
print(result.trust)       # 92 (kernel-verified)
print(result.trust_grade) # "A"
print(result)             # beautiful dashboard

Multi-Agent Pipeline

pipe = c.pipeline("support")
pipe.agent("triage", "Classify tickets")
pipe.agent("resolver", "Find answers")
pipe.route("triage -> resolver")
pipe.hipaa()

result = pipe.run("My account is locked", user="user:bob")
print(result.to_json())   # machine-parseable with provenance tags

Observability

result.to_json()       # every field tagged with source (kernel/llm/derived/user)
result.to_otel()       # OTLP-compatible trace export
result.to_llm()        # LLM-friendly summary
result.provenance()    # {"kernel_verified": 5, "trust_percentage": 100.0}
result.is_verified()   # True = zero-fake guarantee

License

Apache-2.0

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

connector_oss-0.1.0-cp313-cp313-manylinux_2_31_x86_64.whl (7.4 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64

File details

Details for the file connector_oss-0.1.0-cp313-cp313-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for connector_oss-0.1.0-cp313-cp313-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 fab7cfd8dd02864ee9a989ac81619ec0461bd01ba2e3502d121e104d8eb958f7
MD5 d9f6bcceca20957e9ba2b84c6b727c02
BLAKE2b-256 e9c19c3c3a116b065e10dc885f4ae1095e1cf341846d9018b2f1cb73c72d0790

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