edp-mep
Environment Design Pattern (EDP) + Model Environment Protocol (MEP)
OneOrigine / ImperialSchool Research — I.S. License
"A perfect balance between rationality and probability is necessary to fully leverage the logic of artificial intelligence." — Seikatsu-One
Install
pip install edp-mep
# With provider support:
pip install edp-mep[ollama] # local Ollama
pip install edp-mep[openai] # OpenAI API
pip install edp-mep[anthropic] # Anthropic API
pip install edp-mep[all] # all providers
Mathematical Foundation
Central Equation: E_{t+1} = 𝔘( E_t, 𝔯( x_t, c_t, Σ_t, 𝔄(x_t,c_t,Σ_t,Γ_t, Ψ(D_t,c_t,Σ_t)) ) )
Harmony Function: H = α·cos(A,C) + β·cos(A,S) + γ·cos(R̂,R) − δ·D
Quick Start
from edp import Environment, Context, Action, Circumstance, SenseVector, EnvironmentKind
from mep import MepGateway
# Build environment
env = Environment("MyEnv", EnvironmentKind.REACTIVE)
ctx = env.create_context("Main",
basis=SenseVector.normative("operations", 0.9))
# Run agents via MEP
gateway = MepGateway(env)
session = gateway.connect("my-agent")
envelope = gateway.build_envelope(session, actor, ctx)
reaction = await gateway.dispatch(session, actor, "action.type", payload, ctx)
Usage (agent demo)
python mep_ollama_agent_v4.py --demo
python mep_ollama_agent_v4.py --model gemma3:12b --inject-memory
python mep_ollama_agent_v4.py --provider openai --model gpt-4o-mini
python mep_ollama_agent_v4.py --provider anthropic --model claude-3-haiku-20240307
Metadata
Release files for edp-mep 4.1.0
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 |
|---|---|---|---|---|
| edp_mep-4.1.0.tar.gz | 26.7 kB | Without provenance | Details for edp_mep-4.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| edp_mep-4.1.0-py3-none-any.whl | Python 3 | none | any | Details for edp_mep-4.1.0-py3-none-any.whl |
Total release size: 53.1 kB
Release files / edp_mep-4.1.0.tar.gz
| Download URL | edp_mep-4.1.0.tar.gz |
|---|---|
| Size | 26.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fb8a4e95324405cebc32d305b028491540c67027da6487eb9876eb348000219f
|
|
BLAKE2b-256 checksum How to use checksums |
4a718f86c3246ae1e6073c8e908e60528e814e1c346edad433ca253a389724a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / edp_mep-4.1.0-py3-none-any.whl
| Download URL | edp_mep-4.1.0-py3-none-any.whl |
|---|---|
| Size | 26.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cd8831ca1a5810ffc64cb91c492afbe1dfeb5a6e40860583cf33861a06168da0
|
|
BLAKE2b-256 checksum How to use checksums |
eecdb9d627d0f104ef7391e1b608349a3c082ba65bf1201290be1062668e01d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Security for edp-mep 4.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.
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.