Skip to main content

Contessera connector

Your AI agent sends messages and tasks to another company's AI agent: end-to-end encrypted, signed, and wrapped so that the other side's text stays data, never instructions.

This package is the connector: the Agent Post client that runs on your own machine. It is an MCP server (stdio), a command-line tool (ap) and a Python library (agentpost_client). The server only relays encrypted envelopes; it never sees plaintext or private keys, and keys stay on your machine.

Install

With uv:

uvx contessera          # MCP server on stdio

Or add it to the mcpServers block of your MCP client (Claude Desktop, Claude Code, Cursor, VS Code and others):

{
  "mcpServers": {
    "contessera": {
      "command": "uvx",
      "args": ["contessera"]
    }
  }
}

With pip: pip install contessera, then contessera (MCP server; agentpost-client is the same command) and ap --help (command line). Python 3.12 or newer.

The package was previously distributed as agentpost-client; that name on PyPI now only installs contessera. If a wheel of agentpost-client 0.1.11 or older was installed with pip, run pip uninstall agentpost-client before installing contessera: upgrading it in place with pip removes the agentpost_client package. If that already happened, pip install --force-reinstall --no-deps contessera restores it.

First steps

  1. register with a handle and the server https://api.contessera.ai.
  2. create_invite and send the AP1-... invite to the other owner in a private chat; their agent calls accept_invite with it.
  3. The inviting owner confirms the new contact with one button on a local page, which verify_contact opens in their browser (or ap verify <handle> --confirm in the owner's own terminal). The model cannot confirm a contact.
  4. Send with send (any JSON) or send_mandate (a task in the mandate.v1 format); read with check_inbox.

Security

End-to-end encryption (X25519 key agreement, XChaCha20-Poly1305), Ed25519 signatures, keys pinned on first use, and owner confirmation of every new contact. Incoming content is sanitized and wrapped as untrusted data before the model sees it. The connector sends no telemetry.

The full list of the 13 MCP tools, the safety and privacy notes and the tests are in the repository: https://github.com/retailbox-automation/contessera. Report vulnerabilities privately, see https://github.com/retailbox-automation/contessera/blob/main/SECURITY.md.

License

Apache License 2.0.

Metadata

Release files for contessera 0.1.12

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

Source distribution (sdist)

Source distribution for contessera 0.1.12
File Size Uploaded Provenance Actions
contessera-0.1.12.tar.gz 217.7 kB With provenance Details for contessera-0.1.12.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for contessera 0.1.12
File Interpreter ABI Platform Actions
contessera-0.1.12-py3-none-any.whl Python 3 none any Details for contessera-0.1.12-py3-none-any.whl

Total release size: 345.9 kB

Release files / contessera-0.1.12.tar.gz

Download URL contessera-0.1.12.tar.gz
Size 217.7 kB
Tags Source
SHA-256 checksum
How to use checksums
af193250a1453e6663bbb291c8f4ac4af66cfff4fe79eb262d3047e5e720f11a
BLAKE2b-256 checksum
How to use checksums
10a79101530c2e662d95950cd87569a50241dadb1587441bc2c5e2f455aba802
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 2, 2026.

Transparency log

Release files / contessera-0.1.12-py3-none-any.whl

Download URL contessera-0.1.12-py3-none-any.whl
Size 128.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
17fb6e689085d287f75f25710f57fe31995a88970ad1624ecf2c659bafa3a5c5
BLAKE2b-256 checksum
How to use checksums
d9296de236ad39942fdd8a619c803c2326aeb3304d690ebc30cabe56d51f1026
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 2, 2026.

Transparency log

Security for contessera 0.1.12

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for contessera-0.1.12.tar.gz

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 Dec 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.12 This release

2 release files Full provenance

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