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.1.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.1.0
File Size Uploaded Provenance Actions
elci-0.1.0.tar.gz 13.9 kB With provenance Details for elci-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 32.3 kB

Release files / elci-0.1.0.tar.gz

Download URL elci-0.1.0.tar.gz
Size 13.9 kB
Tags Source
SHA-256 checksum
How to use checksums
63bf029e3cc39122e7591fccf4512543f1a3deeccd0a7b08b5c8dd122a6435ec
BLAKE2b-256 checksum
How to use checksums
140c5fd0c401a18cc0ce961cc64795af017473e77dba3c64810715235043ecb9
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.1.0-py3-none-any.whl

Download URL elci-0.1.0-py3-none-any.whl
Size 18.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
50a4784ab72cfa1fb4adc09474212ae97174b4404744ab88d92345f6db71bbfa
BLAKE2b-256 checksum
How to use checksums
be958caa89a993421dcda40a9b766486a72b3bde630bab247f9a522002077a3a
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.1.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.1.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