EAG schema primitives for epistemic context management
Project description
Engrammic Primitives
EAG schema primitives for building epistemic context systems.
Install
pip install engrammic-primitives
Usage
from primitives.schema import PersistenceLayer, MemoryLabel, KnowledgeLabel
from primitives.eag import combined_confidence, should_promote_r1
# Check persistence layer for a label
layer = PersistenceLayer.MEMORY
assert MemoryLabel.UTTERANCE.layer == layer
# Combine confidence scores
conf = combined_confidence(base=0.7, corroboration=0.85)
# Check if a claim should promote to Fact
decision = should_promote_r1(confidence=0.8, corroboration_count=3)
When to Use
Building your own EAG-compatible system or extending Engrammic.
For using Engrammic directly, see:
- engrammic-mcp - hosted service
- engrammic-engine - local engine
Learn More
- EAG Paradigm - the four-layer cognitive architecture
Modules
| Module | Purpose |
|---|---|
primitives.schema |
Node and edge type definitions |
primitives.eag |
EAG-specific implementations |
primitives.protocols |
Storage and lifecycle interfaces |
primitives.scoring |
Decay and freshness formulas |
License
Apache 2.0
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 engrammic_primitives-0.1.1.tar.gz.
File metadata
- Download URL: engrammic_primitives-0.1.1.tar.gz
- Upload date:
- Size: 56.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aafa7b8d415d854d54740d484bed8836dfb3bd13abd3fc1602a8faa7c2a9fd13
|
|
| MD5 |
641a5a2b45f8b326b384c35fe0790f7d
|
|
| BLAKE2b-256 |
c548469289522083bd5e9da2b192686aab53c10a045969200e746d56b6479a9a
|
Provenance
The following attestation bundles were made for engrammic_primitives-0.1.1.tar.gz:
Publisher:
publish.yml on engrammic-ai/primitives
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
engrammic_primitives-0.1.1.tar.gz -
Subject digest:
aafa7b8d415d854d54740d484bed8836dfb3bd13abd3fc1602a8faa7c2a9fd13 - Sigstore transparency entry: 1572261990
- Sigstore integration time:
-
Permalink:
engrammic-ai/primitives@165eda45155bf89025a430a5ba629c6e356e0ba5 -
Branch / Tag:
refs/heads/release - Owner: https://github.com/engrammic-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@165eda45155bf89025a430a5ba629c6e356e0ba5 -
Trigger Event:
push
-
Statement type:
File details
Details for the file engrammic_primitives-0.1.1-py3-none-any.whl.
File metadata
- Download URL: engrammic_primitives-0.1.1-py3-none-any.whl
- Upload date:
- Size: 33.6 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 |
f5951d42b14cbe96dd997da4a50866ac94f06688eceb8b0e4597bf1f2b9fd94c
|
|
| MD5 |
f9c9fa48eddd741e1a2a1f6d26d30817
|
|
| BLAKE2b-256 |
1a3aac9f13edd0b18d65edeeff6c9fd90c4cb4946bc8253b7b03e8b07ca2136e
|
Provenance
The following attestation bundles were made for engrammic_primitives-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on engrammic-ai/primitives
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
engrammic_primitives-0.1.1-py3-none-any.whl -
Subject digest:
f5951d42b14cbe96dd997da4a50866ac94f06688eceb8b0e4597bf1f2b9fd94c - Sigstore transparency entry: 1572261999
- Sigstore integration time:
-
Permalink:
engrammic-ai/primitives@165eda45155bf89025a430a5ba629c6e356e0ba5 -
Branch / Tag:
refs/heads/release - Owner: https://github.com/engrammic-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@165eda45155bf89025a430a5ba629c6e356e0ba5 -
Trigger Event:
push
-
Statement type: