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
Links
Develop
git clone https://github.com/ArdaYMC/elci && cd elci/python
pip install -e '.[dev]'
pytest
Metadata
Release files for elci 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| elci-0.2.1.tar.gz | 27.2 kB | With provenance | Details for elci-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| elci-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for elci-0.2.1-py3-none-any.whl |
Total release size: 61.4 kB
Release files / elci-0.2.1.tar.gz
| Download URL | elci-0.2.1.tar.gz |
|---|---|
| Size | 27.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
41b89a1c4f2b05f8cf8542fbab18078ce904747015a72277154ccc4113282cda
|
|
BLAKE2b-256 checksum How to use checksums |
b428fa52cbc1a8ff1c14d36e3bd898274294597ae2c33879307148922314cad0
|
| 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 logRelease files / elci-0.2.1-py3-none-any.whl
| Download URL | elci-0.2.1-py3-none-any.whl |
|---|---|
| Size | 34.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ad5cefb48ab9a57e69f3af2ce8edabe20c4616d1bb0b796b1b575f070e610e3b
|
|
BLAKE2b-256 checksum How to use checksums |
2f97b3103fc9b1f2ad0c9795a41b643f088211e959b2e1d4c92050f04b67266a
|
| 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 logSecurity for elci 0.2.1
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.
Attestation for elci-0.2.1.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 logA 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.