Skip to main content

Mango Pi Cli

Project description

Mango CLI

A lightweight AI coding assistant running directly in your terminal.

Mango CLI is a zero-dependency, local-first AI coding assistant inspired by Claude Code.

It supports:

  • AI-powered coding workflows
  • File editing and shell execution
  • Tool calling
  • Context-aware conversation management
  • Automatic context compacting

All with instant startup and no heavy framework dependencies.


Features

  • Zero dependency (Python standard library only)
  • Instant startup
  • Claude Code–style terminal UX
  • Built-in file and shell tools
  • Automatic context compacting
  • Local session persistence
  • Fully hackable and easy to extend

Installation

From PyPI

pip install mangocli

Start Mango CLI:

mango-cli

From Source

git clone git@github.com:w4n9H/mangocli.git
cd mangocli
python mango_cli.py

Configuration

Set your API configuration:

export MANGO_KEY="your_api_key"
export MANGO_API_URL="https://api.deepseek.com/chat/completions"
export MANGO_MODEL="deepseek-v4-flash"

Optional:

export MANGO_MAX_CONTEXT=1000000
export MANGO_LANG=zh

Usage

Start the CLI:

mango-cli

or:

python mango_cli.py

Built-in commands:

Command Description
/q Quit
/n New session
/c Compact session
/h Help

Built-in Tools

  • read
  • write
  • edit
  • search
  • grep
  • bash

Mango CLI can autonomously inspect files, modify code, search projects, and execute shell commands.


Philosophy

Mango CLI focuses on:

  • fast startup
  • zero dependency
  • local-first workflows
  • terminal-native AI interaction
  • lightweight runtime design

No Electron, Docker, Redis, or heavyweight AI frameworks.

Just a fast and hackable AI coding assistant for the terminal.


License

Apache License 2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mangopi_cli-0.1.1.tar.gz (18.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mangopi_cli-0.1.1-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

Details for the file mangopi_cli-0.1.1.tar.gz.

File metadata

  • Download URL: mangopi_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 18.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for mangopi_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 11072009fb513b3ae5cb029f977deb947cd91dca886645400078b6881f72c996
MD5 7b9b6b5abf8d30bebadcc9de1055143c
BLAKE2b-256 8b6688e35d4874c6ed3097d71c13759652d98f0595a282010b7a3a9e1338d1ba

See more details on using hashes here.

File details

Details for the file mangopi_cli-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: mangopi_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 17.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for mangopi_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 642625df57351fb6a75735b42dab9ddd7755d04ae8c7c34bd851e724bbf75a12
MD5 3626fed90a7f3f2e9265932f126a7361
BLAKE2b-256 4abaa43c3d2844c463b0bd71788292188e67cf799090e8048f12b909797d0471

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page