Skip to main content

Mango Pi Cli

Project description

Mangopi CLI

A lightweight AI coding assistant running directly in your terminal.

Mangopi 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 mangopi-cli

Start Mangopi CLI:

mangopi-cli

From Source

git clone git@github.com:w4n9H/mangopi-cli.git
cd mangopi-cli
python mangopi_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:

mangopi-cli

or:

python mangopi_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

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


Philosophy

Mangopi 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.10.tar.gz (22.7 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.10-py3-none-any.whl (23.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mangopi_cli-0.1.10.tar.gz
  • Upload date:
  • Size: 22.7 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.10.tar.gz
Algorithm Hash digest
SHA256 0aa4792adc9097774455d525c5a6ac8b7be2012edb8e48000a6b1db223812045
MD5 4e5c13dff31d66fa5f4e8d09f8266d8f
BLAKE2b-256 581c6a6336b415bbe55b0cf417078086e435607048913991ae9e419000547571

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mangopi_cli-0.1.10-py3-none-any.whl
  • Upload date:
  • Size: 23.0 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.10-py3-none-any.whl
Algorithm Hash digest
SHA256 bdfbe82053dc7752fe7eab77ef20ca283e0276f5a3141f2eac16ec5df1b879f3
MD5 2232b5e3142ee7cb90ddfc45d274b025
BLAKE2b-256 16ad4bea84cff3c3b1aba8f1b5571659e65e9a22f0bdd2a2a68a09d350b7e049

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