Skip to main content

ai-munimji-engine

The rule logic behind AI Munimji, as a Python package (ai_munimji_engine) with no web server, no database driver and no network call in it. It decides; a person approves.

Status. Built from the repository erpnext-ai-agents, where it lives in engine/. It is not published on PyPI. The AI Munimji app for Frappe and ERPNext does not exist as a release yet, and nothing here is on the Frappe Marketplace.

What is in it

  • core/: the approval workflow (a request, its answer, its expiry; exactly one answer ever wins), the audit seal over the decision history, the settings store, the tool registry with its role checks, logging and metrics helpers. Nothing in it knows about stock or vendors.
  • packs/stock_procurement/: stock analysis and forecasts, alerts, vendor scoring with taxes and landed cost, purchase proposals and the requests that carry them, the seven stock tools.
  • stores/: the storage the rule logic is written against, as Protocols with an in-memory implementation beside each (MemoryDb). The standalone service gives them SQLite; the Frappe app gives them DocTypes. runtime.py: background work, the one-at-a-time lock and the chat memory, as three small interfaces.
  • core/erp/base.py and packs/stock_procurement/erp.py: the ports to the ERP (what is read, what is created as a draft).

What it needs

pydantic and PyYAML, and the standard library. On a system without a time zone database (Windows) add the extra: pip install "ai-munimji-engine[tzdata]"; the optional tracing is the extra otel. Python 3.10 or later. A test refuses any other import, and refuses fastapi, starlette, uvicorn, apscheduler, sqlite3, mcp, requests and the other network libraries at import time.

Using it

from ai_munimji_engine.stores import memory_core_stores          # the whole core on dictionaries: no database
stores = memory_core_stores()

The application that wires everything together is not part of the engine: the standalone service does it in erp_agents.core.bootstrap, the Frappe app will do it with its own stores and ERP port.

Licence

GPL-3.0-or-later, like the rest of the repository.

Metadata

Release files for ai-munimji-engine 0.1.1

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

Source distribution (sdist)

Source distribution for ai-munimji-engine 0.1.1
File Size Uploaded Provenance Actions
ai_munimji_engine-0.1.1.tar.gz 208.5 kB With provenance Details for ai_munimji_engine-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ai-munimji-engine 0.1.1
File Interpreter ABI Platform Actions
ai_munimji_engine-0.1.1-py3-none-any.whl Python 3 none any Details for ai_munimji_engine-0.1.1-py3-none-any.whl

Total release size: 452.8 kB

Release files / ai_munimji_engine-0.1.1.tar.gz

Download URL ai_munimji_engine-0.1.1.tar.gz
Size 208.5 kB
Tags Source
SHA-256 checksum
How to use checksums
84dff2f46ad0a3671a1c1749899d7d98f9cc77b01b734f1feedf6ce08477ac07
BLAKE2b-256 checksum
How to use checksums
a5aa35d6358303fd25e637f90c79c9635d62b76995336bae4dd2ffebbec03666
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 10, 2026.

Transparency log

Release files / ai_munimji_engine-0.1.1-py3-none-any.whl

Download URL ai_munimji_engine-0.1.1-py3-none-any.whl
Size 244.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c4944766f987f324a78da91b8c48e206c2c6e917462c267a5911dc11bfb1c503
BLAKE2b-256 checksum
How to use checksums
a5ff26b968b25cbc99daf96e1a22e526cdc1630d2778bf6a66a5afff8e2e1f73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 10, 2026.

Transparency log

Security for ai-munimji-engine 0.1.1

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ai_munimji_engine-0.1.1.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 Nov 10, 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.

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