Skip to main content

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

Metadata

Release files for aiprims 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aiprims 0.1.0
File Size Uploaded Provenance Actions
aiprims-0.1.0.tar.gz 9.4 kB With provenance Details for aiprims-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aiprims 0.1.0
File Interpreter ABI Platform Actions
aiprims-0.1.0-py3-none-any.whl Python 3 none any Details for aiprims-0.1.0-py3-none-any.whl

Total release size: 20.7 kB

Release files / aiprims-0.1.0.tar.gz

Download URL aiprims-0.1.0.tar.gz
Size 9.4 kB
Tags Source
SHA-256 checksum
How to use checksums
62620d8d2a6641a8ba3ac2d87a8265b49843f15e6a9558fe1cb2cb91cad04040
BLAKE2b-256 checksum
How to use checksums
0801cac99a26d55cec0aa5c06cc0c0b275022e12191c59f3af6dd6066bfca5a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 13, 2026.

Transparency log

Release files / aiprims-0.1.0-py3-none-any.whl

Download URL aiprims-0.1.0-py3-none-any.whl
Size 11.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cbe59b29f3b6c006c57583e12a5c8a4c1f559162ad8479f3100cc2dc2db54aee
BLAKE2b-256 checksum
How to use checksums
739a1ba49e1303030cbc6eecf93f651c6a7b3c5e1ab7cb577cc76ea38de6dcdd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 13, 2026.

Transparency log

Security for aiprims 0.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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for aiprims-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 13, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page