Foundational execution primitives for AI, ML, and data systems
Project description
aiprims
Foundational execution primitives for AI, ML, and data systems.
aiprims is a lightweight, opinionated Python library that provides low-level primitives for execution identity, deterministic hashing, run reproducibility, and traceability across AI and ML systems.
It operates below orchestration tools, experiment trackers, and model frameworks. It does not replace them. It sits underneath all of them as a correctness foundation.
Differences between runs should never be mysterious.
Install
pip install aiprims
Modules
| Module | Status | Purpose |
|---|---|---|
aiprims.core.hash |
v0.1.0 |
Deterministic content-derived identity for any object, file, or directory |
aiprims.core.manifest |
v0.1.0 |
Immutable execution manifest capturing all run inputs |
aiprims.core.idempotency |
v0.1.0 |
Idempotency keys for agent tool calls and pipeline steps |
aiprims.core.config |
v0.1.0 |
Canonical config normalisation before hashing |
aiprims.core.env |
v0.1.0 |
Environment fingerprinting — Python, OS, packages |
aiprims.core.seed |
v0.1.0 |
Explicit randomness control and seed isolation |
aiprims.nlp |
planned |
NLP pipeline execution primitives |
aiprims.llm |
planned |
LLM prompt fingerprinting and inference identity |
aiprims.rag |
planned |
Chunk identity and corpus fingerprinting for RAG systems |
aiprims.agents |
planned |
Execution envelopes and tool call wrapping for agentic systems |
Design Invariants
- Randomness is never implicit — all stochastic behavior must be explicitly seeded or flagged
- All inputs influencing execution must be visible — hidden dependencies are treated as failures
- Identity computation is always deterministic — same inputs, same identity, always
- Run identity is derivable locally — zero reliance on external systems
- Failures are explicit — no silent recovery from invalid states
Part of the Garvaman OSS Stack
aiprims is the foundational layer of a composable AI infrastructure stack:
orion → application layer
agiorcx → agent coordination layer
ragaxis → RAG pipeline layer
aiprims → execution primitives (this library)
License
MIT © 2026 Sai Harsha Kondaveeti
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 aiprims-0.1.0.tar.gz.
File metadata
- Download URL: aiprims-0.1.0.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62620d8d2a6641a8ba3ac2d87a8265b49843f15e6a9558fe1cb2cb91cad04040
|
|
| MD5 |
c01c96c93e3ed7b4cb6b86999ea6ae79
|
|
| BLAKE2b-256 |
0801cac99a26d55cec0aa5c06cc0c0b275022e12191c59f3af6dd6066bfca5a4
|
Provenance
The following attestation bundles were made for aiprims-0.1.0.tar.gz:
Publisher:
publish.yml on saiharsha-k/ai-prims
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aiprims-0.1.0.tar.gz -
Subject digest:
62620d8d2a6641a8ba3ac2d87a8265b49843f15e6a9558fe1cb2cb91cad04040 - Sigstore transparency entry: 1287381786
- Sigstore integration time:
-
Permalink:
saiharsha-k/ai-prims@41aa7457f01e5bfe703fb05b70decf319b9bd98a -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/saiharsha-k
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@41aa7457f01e5bfe703fb05b70decf319b9bd98a -
Trigger Event:
push
-
Statement type:
File details
Details for the file aiprims-0.1.0-py3-none-any.whl.
File metadata
- Download URL: aiprims-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.4 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 |
cbe59b29f3b6c006c57583e12a5c8a4c1f559162ad8479f3100cc2dc2db54aee
|
|
| MD5 |
5c05d230ff2e1fd9019e8e2b8ff14713
|
|
| BLAKE2b-256 |
739a1ba49e1303030cbc6eecf93f651c6a7b3c5e1ab7cb577cc76ea38de6dcdd
|
Provenance
The following attestation bundles were made for aiprims-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on saiharsha-k/ai-prims
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aiprims-0.1.0-py3-none-any.whl -
Subject digest:
cbe59b29f3b6c006c57583e12a5c8a4c1f559162ad8479f3100cc2dc2db54aee - Sigstore transparency entry: 1287381847
- Sigstore integration time:
-
Permalink:
saiharsha-k/ai-prims@41aa7457f01e5bfe703fb05b70decf319b9bd98a -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/saiharsha-k
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@41aa7457f01e5bfe703fb05b70decf319b9bd98a -
Trigger Event:
push
-
Statement type: