Skip to main content

Elçi: your agent talks to their agent, safely

elci

Reference implementation of Elçi, an open protocol for personal AI agents to talk to other people's agents, safely: signed messages, delegated mandates, need-to-know disclosure, verifiable human approval, and an email fallback for people without an agent.

Alpha. The spec is a working draft and the API may change between minor versions.

Install

pip install elci            # library
pip install 'elci[mcp]'     # plus the elci-mcp server for Claude Code and other MCP hosts

Quick look

import time
from cryptography.hazmat.primitives.asymmetric.ed25519 import Ed25519PrivateKey
from elci import Agent, Delegation, issue_delegation

principal_key, agent_key = Ed25519PrivateKey.generate(), Ed25519PrivateKey.generate()
agent_id = "https://arda.example/agents/devbyarda"
token = issue_delegation(
    Delegation("arda.example", agent_id, ("collaboration",), ("propose", "answer"), int(time.time()) + 3600),
    principal_key,
)
agent = Agent(agent_id, "arda.example", agent_key, token)
message = agent.message(to="https://brand.example/agents/partnerships", topic="collaboration",
                        intent="propose", body={"slots": ["2026-11-27T11:00"]})

The receiving side runs elci.Inbox(own_card).accept(message), which checks the sender's card, domain, freshness, signature, delegation, approval receipt and replays.

Use it from Claude Code

pip install 'elci[mcp]'
claude mcp add elci -- elci-mcp

Develop

git clone https://github.com/ArdaYMC/elci && cd elci/python
pip install -e '.[dev]'
pytest

Metadata

Release files for elci 0.2.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 elci 0.2.0
File Size Uploaded Provenance Actions
elci-0.2.0.tar.gz 27.0 kB With provenance Details for elci-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 60.9 kB

Release files / elci-0.2.0.tar.gz

Download URL elci-0.2.0.tar.gz
Size 27.0 kB
Tags Source
SHA-256 checksum
How to use checksums
abb7ea3f346e83979f22e885f5af28e2ad8a69ba7f1c100d4386fe54d9967e2f
BLAKE2b-256 checksum
How to use checksums
93ff05c5b4b63942b800bb3831ca3b5671e71a31170c7b5a69826694963b1281
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 Nov 24, 2026.

Transparency log

Release files / elci-0.2.0-py3-none-any.whl

Download URL elci-0.2.0-py3-none-any.whl
Size 33.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
69c25adef1f1d62601cf037139b754df8fc22bcdb49625518331d9268dccc69f
BLAKE2b-256 checksum
How to use checksums
dd10a5a881354366bf89a33f249321ec5fc46bfa65bd5e6efcad613644803d24
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 Nov 24, 2026.

Transparency log

Security for elci 0.2.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.

Full provenance

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

Select from 2 files

Attestation for elci-0.2.0.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 Nov 24, 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.

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