Skip to main content

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

Metadata

Release files for mi-claude 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mi-claude 1.1.1
File Size Uploaded
mi_claude-1.1.1.tar.gz 13.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mi-claude 1.1.1
File Interpreter ABI Platform
mi_claude-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 27.6 kB

Release files / mi_claude-1.1.1.tar.gz

Download URL mi_claude-1.1.1.tar.gz
Size 13.0 kB
Tags Source
SHA-256 checksum
How to use checksums
05a66de276b3bca6fda373c5d2b201e0e4194577c3a2f6360f597be3a4fb40f1
BLAKE2b-256 checksum
How to use checksums
488664bdb03934cdfa9ae0bf75b17dd0824a982c7bdd4592ef363cbce6f0cb54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release files / mi_claude-1.1.1-py3-none-any.whl

Download URL mi_claude-1.1.1-py3-none-any.whl
Size 14.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0440fe48e39debff2dfe21d5a97f4ef501041760581d7987917b91a55d05388c
BLAKE2b-256 checksum
How to use checksums
f1f15376766f298edafb137b60afdd79b35ba5373c431c2905f7e7020c01c709
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1.0

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page