MahanAI Finale: terminal AI agent for NVIDIA NIM (OpenAI-compatible), tools, streaming, /api-key, safety prompts.
This project has been archived.
The maintainers of this project have marked this project as archived. No new releases are expected.
Project description
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
- Environment:
MAHANAI_API_KEY=... - Project
.env:MAHANAI_API_KEY=... - Saved config (persists): inside the app run
/api-key your-keyor/api-keyfor a hidden prompt. Keys are stored under%APPDATA%\MahanAI\config.jsonon Windows or~/.config/mahanai/config.jsonon Linux/macOS.
Environment variable overrides the saved file.
Optional
MAHANAI_MODEL— model id fromGET https://integrate.api.nvidia.com/v1/modelsMAHANAI_STREAM=0— disable streaming (wait for full replies)MAHANAI_CONFIG_DIR— override directory forconfig.json
Commands
/exitor/quit— leave/api-key [key]— save API key (omitkeyfor 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.
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 mahanai_finale-1.1.0.tar.gz.
File metadata
- Download URL: mahanai_finale-1.1.0.tar.gz
- Upload date:
- Size: 10.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84097898d4f8e36518307ee7b9ab2888946e90087dc1bf5dbbde20535de7e31e
|
|
| MD5 |
952983041d8e293240aeb8e885df47a7
|
|
| BLAKE2b-256 |
9b38e7fe4d49bd26b80ff773e347d39a1b80713d8c18304a0dc9ce63e2ecb1e6
|
File details
Details for the file mahanai_finale-1.1.0-py3-none-any.whl.
File metadata
- Download URL: mahanai_finale-1.1.0-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c6c0615cd6bb45372bd9fbf33860f9f4e3fc6c8875196b9e1885caffde0112f
|
|
| MD5 |
1421be87ff2a5b5926c4ede1f5c1efc2
|
|
| BLAKE2b-256 |
e0e94c760a84f7dd7c196ec038bfd98d275e123f28cb4952ead36a4a606d7eac
|