Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

MahanAI Finale

Terminal AI agent using NVIDIA NIM (integrate.api.nvidia.com) with OpenAI-compatible chat, streaming, and tools (run shell commands, read/write files, list directories).

Install

pip install mahanai-finale
mahanai

API key

  1. Environment: MAHANAI_API_KEY=...
  2. Project .env: MAHANAI_API_KEY=...
  3. Saved config (persists): inside the app run /api-key your-key or /api-key for a hidden prompt. Keys are stored under %APPDATA%\MahanAI\config.json on Windows or ~/.config/mahanai/config.json on Linux/macOS.

Environment variable overrides the saved file.

Optional

  • MAHANAI_MODEL — model id from GET https://integrate.api.nvidia.com/v1/models
  • MAHANAI_STREAM=0 — disable streaming (wait for full replies)
  • MAHANAI_CONFIG_DIR — override directory for config.json

Commands

  • /exit or /quit — leave
  • /api-key [key] — save API key (omit key for prompt)
  • /api-key clear — remove saved key from disk
  • /help — short help

Develop

pip install -e .
python -m mahanai

Publish to PyPI

pip install build twine
python -m build
python -m twine upload dist/*

Use PyPI API token for authentication.

Metadata

Release files for mahanai-finale 1.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 mahanai-finale 1.1.0
File Size Uploaded Provenance Actions
mahanai_finale-1.1.0.tar.gz 10.6 kB Without provenance Details for mahanai_finale-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mahanai-finale 1.1.0
File Interpreter ABI Platform Actions
mahanai_finale-1.1.0-py3-none-any.whl Python 3 none any Details for mahanai_finale-1.1.0-py3-none-any.whl

Total release size: 22.0 kB

Release files / mahanai_finale-1.1.0.tar.gz

Download URL mahanai_finale-1.1.0.tar.gz
Size 10.6 kB
Tags Source
SHA-256 checksum
How to use checksums
84097898d4f8e36518307ee7b9ab2888946e90087dc1bf5dbbde20535de7e31e
BLAKE2b-256 checksum
How to use checksums
9b38e7fe4d49bd26b80ff773e347d39a1b80713d8c18304a0dc9ce63e2ecb1e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / mahanai_finale-1.1.0-py3-none-any.whl

Download URL mahanai_finale-1.1.0-py3-none-any.whl
Size 11.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1c6c0615cd6bb45372bd9fbf33860f9f4e3fc6c8875196b9e1885caffde0112f
BLAKE2b-256 checksum
How to use checksums
e0e94c760a84f7dd7c196ec038bfd98d275e123f28cb4952ead36a4a606d7eac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Security for mahanai-finale 1.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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