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.0.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.0-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mi_claude-1.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 269fc7829ebd0878857fe352318b580fa24f1823bfd40c9b0d99173b1da77be5
MD5 31a84e76ccfaef2d4eac34ac566f3758
BLAKE2b-256 d3012526884fcb1f3d9a14541872b4994b76eaef46750c39d4ff47c0c78882a8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mi_claude-1.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 54ed3e79d68bff5ba61a512225911e0f4ec8eb66f8f1dadcf68f1f7071b06da7
MD5 8ca751f6a831e372b528e77a7b4ae91a
BLAKE2b-256 2f1dcb0363f78babf4de5f8a367147bfbf1ad87930baa198cfc463934824d234

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