Skip to main content

agentcoopdb (Python client)

A thin Python client for Agentic Coop DB, the auth gateway for shared PostgreSQL.

from agentcoopdb import connect

db = connect("https://db.example.com", api_key="acd_live_...")
db.execute(
    "INSERT INTO notes(id, body) VALUES ($1, $2)",
    ["b9c3...", "hi"],
)
rows = db.select("SELECT * FROM notes WHERE owner = $1", ["alice"])

Install

pip install agentic-coop-db

Or install directly from GitHub (the Python client lives in a subdirectory):

pip install "agentic-coop-db @ git+https://github.com/fheinfling/agentic-coop-db.git#subdirectory=clients/python"

CLI

agentic-coop-db init                  # interactive onboarding wizard
agentic-coop-db me
agentic-coop-db sql "SELECT 1"
agentic-coop-db queue flush
agentic-coop-db doctor

See the main repo for the full docs.

Release files for agentic-coop-db 0.3.1

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

Source distribution (sdist)

Source distribution for agentic-coop-db 0.3.1
File Size Uploaded
agentic_coop_db-0.3.1.tar.gz 18.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for agentic-coop-db 0.3.1
File Interpreter ABI Platform
agentic_coop_db-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 39.2 kB

Release files / agentic_coop_db-0.3.1.tar.gz

Download URL agentic_coop_db-0.3.1.tar.gz
Size 18.9 kB
Tags Source
SHA-256 checksum
How to use checksums
57eb099550ed40123cefc1966df866067d90235fcd42188bf42b319ad637196c
BLAKE2b-256 checksum
How to use checksums
d9b2c8bed7df1c7f585913f046264ce89cc28702b4202d1ee1d7e6b8b27733ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 21, 2026.

Transparency log

Release files / agentic_coop_db-0.3.1-py3-none-any.whl

Download URL agentic_coop_db-0.3.1-py3-none-any.whl
Size 20.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b2eda47251e848a49d9ac519536d24608dde67a64be745b29cab377aa3ca6796
BLAKE2b-256 checksum
How to use checksums
5ac374d57c3f4001119995320a403646da21cf0b4a13f09f31715fcec03e117b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 21, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files

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