A protocol for autonomous LLM agents to navigate complex toolsets via semantic landmarks.
Project description
Elemm: The Landmark Manifest Protocol
The high-performance communication framework for autonomous LLM agents.
Elemm is the Landmark Manifest Protocol, a high-performance communication framework designed to bridge the gap between static tool definitions and autonomous complex reasoning. By utilizing Semantic Landmarks and Manifest-Driven Discovery, Elemm optimizes token consumption, reduces execution latency, and provides a robust self-healing framework for agentic workflows.
Core Advantages
Standard protocols like MCP often struggle with large-scale toolsets. Elemm provides a structural solution:
- Efficient Discovery: Agents only see a high-level manifest, loading detailed tool schemas only when needed.
- Atomic Sequencing: Execute multiple tool calls in a single LLM turn with native variable piping (
$step0.id). - SmartRepair Engine: Built-in error handling that provides agents with actionable remedies instead of cryptic stack traces.
- Token Economy: Reduces input tokens by up to 90% in complex forensic and administrative scenarios.
Documentation
- Getting Started: Install and run your first landmark server.
- Developer Guide: Build your own tools with decorators and Pydantic.
- Architecture Overview: Deep dive into the Elemm philosophy.
- Protocol Specification: Technical details for implementers.
- Benchmarking Results: Performance analysis vs. standard MCP.
Quick Start
1. Install
pip install elemm[fastapi] # Includes web server support
2. Create a Landmark Server
Elemm uses a decorator-based approach to turn standard Python functions into high-performance landmarks.
from elemm import ElemmGateway
from pydantic import BaseModel
gateway = ElemmGateway(name="SystemControl")
class SecurityRequest(BaseModel):
node_id: str
urgent: bool = False
@gateway.action(landmark="Security")
async def quarantine_node(request: SecurityRequest):
"""Quarantines a compromised server node."""
return {"status": "success", "node": request.node_id}
if __name__ == "__main__":
# Runs an Elemm-compliant API server
gateway.run(port=8000)
Advanced Usage
- Pydantic Discovery: Elemm automatically generates schemas from Pydantic models.
- Raw Integration: Access the manifest as a dictionary via
gateway.manager.get_manifest_dict()for custom LLM wrappers. - Self-Healing: The SmartRepair engine provides agents with actionable remedies (e.g., correct parameter names) when errors occur.
3. Connect to an Agent
Use the provided MCP bridge to connect your Elemm server to any MCP-compatible agent (e.g. Claude Desktop):
"elemm": {
"command": "python3",
"args": ["-m", "elemm.integrations.mcp_bridge", "http://localhost:8000"]
}
License
Copyright (C) 2026 Marc Stöcker. GPLv3 License. See LICENSE for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file elemm-1.0.1.tar.gz.
File metadata
- Download URL: elemm-1.0.1.tar.gz
- Upload date:
- Size: 46.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b7f07d217eadfd419f6b4f36f9a359f613dfdd2cba93935b0264677f34b60b5
|
|
| MD5 |
58714d5cbd03bd6d08567126818bdf7f
|
|
| BLAKE2b-256 |
b8bb4b92a91efee14236c41a49d75b20e4656c4afb1e84dc1bf313a71b15de3c
|
Provenance
The following attestation bundles were made for elemm-1.0.1.tar.gz:
Publisher:
workflow.yml on v3rm1ll1on/elemm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
elemm-1.0.1.tar.gz -
Subject digest:
1b7f07d217eadfd419f6b4f36f9a359f613dfdd2cba93935b0264677f34b60b5 - Sigstore transparency entry: 1471843514
- Sigstore integration time:
-
Permalink:
v3rm1ll1on/elemm@772f4da67be0db0b1f76fde0d18bc4cf469ebfed -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/v3rm1ll1on
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@772f4da67be0db0b1f76fde0d18bc4cf469ebfed -
Trigger Event:
push
-
Statement type:
File details
Details for the file elemm-1.0.1-py3-none-any.whl.
File metadata
- Download URL: elemm-1.0.1-py3-none-any.whl
- Upload date:
- Size: 50.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c082ac352619f48a11df3d5e1e0272f46fabc96a6ae546ef736b180cae26d5e
|
|
| MD5 |
31a65997da5ffad8615db43121a8745f
|
|
| BLAKE2b-256 |
e92276d40b3d44d8c6506ae2ba4be14e3fb079211a3979d59946a3fb87c9e81b
|
Provenance
The following attestation bundles were made for elemm-1.0.1-py3-none-any.whl:
Publisher:
workflow.yml on v3rm1ll1on/elemm
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
elemm-1.0.1-py3-none-any.whl -
Subject digest:
6c082ac352619f48a11df3d5e1e0272f46fabc96a6ae546ef736b180cae26d5e - Sigstore transparency entry: 1471843635
- Sigstore integration time:
-
Permalink:
v3rm1ll1on/elemm@772f4da67be0db0b1f76fde0d18bc4cf469ebfed -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/v3rm1ll1on
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@772f4da67be0db0b1f76fde0d18bc4cf469ebfed -
Trigger Event:
push
-
Statement type: