Skip to main content

SmritiTantra

Memory for AI agents: ingest, recall, learn — one shared async core, served three ways: embedded in your process, over HTTP, or as an MCP server.

Full documentation →

Install

A bare install is a lightweight remote SDK (smrititantra.connect(), models, exceptions, the sync facade):

pip install smrititantra

Everything heavier lives behind an extra — mix in what you need:

pip install "smrititantra[local]"    # embedded engine + Postgres store
pip install "smrititantra[server]"   # HTTP + MCP service
pip install "smrititantra[all]"      # local + server + every scale backend
Extra Adds
local the embedded engine, Postgres store
server the FastAPI HTTP service + MCP server
s3 S3/MinIO artifact store
qdrant Qdrant vector-index backend at scale
neo4j Neo4j graph-serving tier at scale
mongo MongoDB source connector
otel OpenTelemetry tracing spans

Quickstart

import asyncio
from smrititantra import Smrititantra

async def main() -> None:
    async with Smrititantra() as smriti:
        await smriti.concepts.author(
            kind="metric", name="net_revenue",
            metadata={"title": "Net Revenue", "description": "Gross minus refunds."},
            body="Net revenue is gross order value minus refunds.",
        )
        await smriti.snapshots.compile()
        pack = await smriti.recall("what is net revenue")
        print(pack.confidence, [i.ref for i in pack.required])

asyncio.run(main())

Or try the self-contained demo (no database or config needed):

pip install "smrititantra[local]"
smrititantra demo

CLI

smrititantra --help covers the full surface: orgs, sources, sync, import, mine-workload, mine, coverage, gaps, reviews, compile, recall, search, get, graph, snapshots, config, agents, keys, serve, mcp, demo, init. Details in the CLI reference.

License

Apache-2.0 — see LICENSE.

Metadata

Release files for smrititantra 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 smrititantra 0.1.0
File Size Uploaded Provenance Actions
smrititantra-0.1.0.tar.gz 325.0 kB With provenance Details for smrititantra-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 565.1 kB

Release files / smrititantra-0.1.0.tar.gz

Download URL smrititantra-0.1.0.tar.gz
Size 325.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d34eea436df58a306323a1806c153a12cd8135f15f520ec56ee59d8af36aa33e
BLAKE2b-256 checksum
How to use checksums
005a1b65da870680520979e26e88879721577b805f613ea3ad570f9096af2496
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 30, 2026.

Transparency log

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

Download URL smrititantra-0.1.0-py3-none-any.whl
Size 240.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b175e83f64f3fecab13fa5139465446bd6debd6fef5746ed4fa25e0d14054132
BLAKE2b-256 checksum
How to use checksums
19bb1784323c654d77369544d8868da5b44664089d50474d7756ffb08c8008cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 30, 2026.

Transparency log

Security for smrititantra 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 smrititantra-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 Aug 30, 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