Metadata-Version: 2.4
Name: engrammic-primitives
Version: 0.1.0
Summary: EAG schema primitives for epistemic context management
Author-email: Aliasgar Khimani <aliasgar.khimani@engrammic.ai>
License: Apache-2.0
License-File: LICENSE
Keywords: ai-agents,context-management,graphrag,knowledge-graph
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.13
Requires-Dist: pydantic>=2.0
Description-Content-Type: text/markdown

# Engrammic Primitives

EAG schema primitives for building epistemic context systems.

## Install

```bash
pip install engrammic-primitives
```

## Usage

```python
from primitives.schema import MemoryNode, KnowledgeNode, WisdomNode
from primitives.eag import CognitiveTier

# Create a memory node
node = MemoryNode(
    content="User prefers dark mode",
    importance=0.7,
)

# Check cognitive tier
tier = CognitiveTier.MEMORY
```

## When to Use

Building your own EAG-compatible system or extending Engrammic.

For using Engrammic directly, see:
- [engrammic-mcp](https://github.com/engrammic/mcp-client) - hosted service
- [engrammic-engine](https://github.com/engrammic/engine) - local engine

## Learn More

- [EAG Manifesto](docs/manifesto.md) - the paradigm explained

## 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
