Skip to main content

Mi-Claude — Chat with Claude AI from your terminal. No API key needed.

Project description

Mi-Claude — AI Agent in Your Terminal

Chat with Claude AI (Opus, Sonnet, Haiku) directly from your terminal.
No API key needed. Just install, register, and chat.
NEW: Full Agent Mode — Claude uses tools (bash, file, web, python) locally on your machine!

Install

pip install mi-claude

Usage

mi-claude

First time: Choose Register → enter username, password, invite token → done!
After that: Auto-login, just type and chat.

  ╔═══════════════════════════════╗
  ║         Mi-Claude             ║
  ║   AI Agent Client v1.1.0     ║
  ║   Tools: bash, file, web, py ║
  ╚═══════════════════════════════╝

  ✓ john (pro)  •  Model: sonnet  •  Tools: bash, file, web, python

  [sonnet] john > List files in current directory
    ⚡ bash {"command": "ls -la"}
    → total 48 ...
  Here are your files: ...

Agent Mode (NEW ✨)

Mi-Claude is now a full AI agent. Just ask naturally and Claude will use tools:

> What's my disk usage?
  ⚡ bash {"command": "df -h"}

> Read and summarize README.md  
  ⚡ read_file {"path": "README.md"}

> Create a hello world script
  ⚡ write_file {"path": "hello.py", "content": "print('Hello!')"}

Available Tools

Tool Description
bash Run shell commands
read_file Read file contents (with line range)
write_file Create/write/append files
list_dir List directory contents
web_fetch Fetch URL content (HTML→text)
python_eval Execute Python code

Commands

Command Description
/help Show commands
/status Account quota
/model sonnet Switch model
/models List all models
/tools List available agent tools
/shell <cmd> Run shell command directly
/file read <path> Read file
/file list [path] List directory
/web <url> Fetch URL
/python <code> Run Python code
/clear Clear chat
/new New conversation
/logout Logout
/exit Exit

Models

  • opus — Claude Opus 4 (most capable)
  • sonnet — Claude Sonnet 4 (balanced, default)
  • haiku — Claude Haiku 4.5 (fastest)

Register

Ask admin for an invite token, then:

mi-claude --register

Requirements

  • Python 3.8+
  • Internet connection

License

MIT

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

mi_claude-1.1.1.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

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

mi_claude-1.1.1-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file mi_claude-1.1.1.tar.gz.

File metadata

  • Download URL: mi_claude-1.1.1.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for mi_claude-1.1.1.tar.gz
Algorithm Hash digest
SHA256 05a66de276b3bca6fda373c5d2b201e0e4194577c3a2f6360f597be3a4fb40f1
MD5 8686b323dd84149eb9a98d8671b8f677
BLAKE2b-256 488664bdb03934cdfa9ae0bf75b17dd0824a982c7bdd4592ef363cbce6f0cb54

See more details on using hashes here.

File details

Details for the file mi_claude-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: mi_claude-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for mi_claude-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0440fe48e39debff2dfe21d5a97f4ef501041760581d7987917b91a55d05388c
MD5 783c1c800e25a9bcf60f34c51dea22a6
BLAKE2b-256 f1f15376766f298edafb137b60afdd79b35ba5373c431c2905f7e7020c01c709

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