Skip to main content

puffin-local

Python SDK, puffin command line and local MCP server for Puffin, the identity and communications layer for AI agents.

Install

pip install puffin-local
# With the local MCP server and tunnel worker:
pip install "puffin-local[mcp,tunnel]"

Configure

Create an agent and a scoped agent key in the Puffin dashboard, then set:

export PUFFIN_API_URL=https://puffin-api.onrender.com
export PUFFIN_API_KEY=pf_...          # keep this secret
export PUFFIN_IDENTITY_ID=<agent id>

Python

from puffin import Puffin

client = Puffin(api_key, "https://puffin-api.onrender.com")
agent = client.agent(identity_id)
print(agent.identity())
agent.send("someone@example.com", "Hello", "Subject", transport="resend")  # waits for approval
print(agent.search("invoice"))

Command line

puffin identity
puffin email search invoice
puffin email draft --to someone@example.com --subject Hi --body "Draft text"
puffin contacts list
puffin events watch

Every outgoing message waits for a workspace administrator's approval.

MCP

puffin-mcp runs a local stdio MCP server with the same tools as the hosted endpoint (<API URL>/mcp).

Metadata

Release files for puffin-local 0.3.0

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

Source distribution (sdist)

Source distribution for puffin-local 0.3.0
File Size Uploaded Provenance Actions
puffin_local-0.3.0.tar.gz 17.9 kB Without provenance Details for puffin_local-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for puffin-local 0.3.0
File Interpreter ABI Platform Actions
puffin_local-0.3.0-py3-none-any.whl Python 3 none any Details for puffin_local-0.3.0-py3-none-any.whl

Total release size: 37.4 kB

Release files / puffin_local-0.3.0.tar.gz

Download URL puffin_local-0.3.0.tar.gz
Size 17.9 kB
Tags Source
SHA-256 checksum
How to use checksums
37b999a137434a3f72363d710fbdc6d344996b8046208d81ffd5e70db7c038e7
BLAKE2b-256 checksum
How to use checksums
ddf2d293c1557ee37610edc05a9fcdd4ebdeed60dc763801bd62f89751c92338
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / puffin_local-0.3.0-py3-none-any.whl

Download URL puffin_local-0.3.0-py3-none-any.whl
Size 19.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0fcd0ce0ed6e7b27f3ba212823d91cfe11f53fd30ed5f78cbc230d9c07e30942
BLAKE2b-256 checksum
How to use checksums
db588882334d544c25db5d87b91f22ea5fa29c7a54f53efffbaa2a21bb95270a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Security for puffin-local 0.3.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.3.0 This release

2 release files No 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