mico — local coding agent for Apple Silicon (MLX) and Linux
Project description
mico ⚓
Local coding agent for Apple Silicon and Linux. Runs your model. On your machine. End-to-end.
⚓
┌──────┐
│ mico │
└──────┘
Status: alpha (0.1.0). API ve CLI değişebilir.
Ne işe yarar?
mico, terminalinden çalışan, yerel LLM'lerle (MLX / Ollama / OpenAI uyumlu sunucular) konuşan bir coding agent'tır:
- Yapısal araç çağrıları (
read_file,replace_in_file,bash,run_tests,grep_code, ...) - Otomatik patch + test loop
- Oturum kalıcılığı, kompakt geçmiş özetleme
- Donanıma göre profil önerisi
- Bedava, açık kaynak, telemetry yok
Gereksinimler
- macOS (Apple Silicon önerilir) veya Linux
- Python 3.11+
- 16 GB+ unified memory (8B model için 8 GB yeter, 14B+ için 24 GB+)
Hızlı kurulum
pip install mico-agent # core
pip install 'mico-agent[mlx]' # Apple Silicon MLX backend ile
mico # ilk çalıştırma → wizard
İlk açılışta mico:
- Donanımı tespit eder (CPU, RAM, GPU/Neural Engine)
~/Desktop/models/, HF cache, LM Studio'yu tarayıp yerel modelleri listeler- Donanım × model eşleşmesinden bir profil önerir, onaylatır
- Tüm tercihleri
~/.mico/altına kaydeder, bir daha sormaz
Komutlar
mico Interaktif chat
mico ask "prompt" Tek seferlik
mico setup Wizard'ı tekrar çalıştır (--force ile zorla)
mico models Algılanan modelleri listele
mico --doctor Tanı çıktısı (donanım + profil)
mico server-stop Çalışan model sunucusunu durdur
TUI özellikleri
- Slash komut paleti:
/yazınca komutlar dropdown ile gelir/help/mode/network/thinking/cd/compact/clear/history/save/model/exit
- Dosya tamamlama:
@yazınca cwd'deki dosyalar autocomplete - Alt çubuk: Aktif model · mode · ctx · network · thinking durumu canlı
- JSON-aware streaming: Model'in
{"type":"final","message":"..."}ham JSON'u kullanıcıya gizlenir; sadece temiz mesaj görünür - Tool çağrı render'ı:
▸ tool_name(args)+ foldlanmış sonuç - Spinner: Braille animasyonu (TTY) —
düşünüyor → yazıyorgeçişi - Sıkı kapatma: Ctrl+D'de model server'a SIGTERM → 3sn → SIGKILL
- Oturum sürdürme: Aynı session'a kaldığı yerden devam veya yeniden başla
- Trivial chat fast path:
selamgibi sohbetler tool loop'u atlar
İlk kurulum
git clone https://github.com/captainonedin/mico ~/mico
~/mico/bin/mico # ilk açılış → wizard
# veya PATH'e ekle:
ln -s ~/mico/bin/mico /opt/homebrew/bin/mico # macOS
ln -s ~/mico/bin/mico ~/.local/bin/mico # Linux
İlk açılışta:
- Sistem Python 3.11+ tespit edilir
- Bağımlılıklar listelenir + onay alınır
- Mevcut bir venv'de gerekli paketler varsa yeniden indirilmez
- Yoksa
~/.mico/.venvoluşturulup oraya kurulur (PEP 668 uyumlu) - mico kendini venv'den yeniden başlatır
Mimari
Detay: docs/architecture.md.
Güvenlik araçları
mico çekirdek olarak sadece coding/dev iş akışına odaklı. Pentest/security tooling ayrı bir paket olarak yayınlanır:
pip install mico-security # nmap, ffuf, openssl wrappers; auditing skills
mico-security ayrı repodadır, ayrı izinlerle yönetilir, default'ta yüklü değildir.
Lisans
Apache-2.0 — bkz. LICENSE ve NOTICE.
Katkı
CONTRIBUTING.md — issue açmadan önce oku.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mico_agent-0.1.0.tar.gz.
File metadata
- Download URL: mico_agent-0.1.0.tar.gz
- Upload date:
- Size: 244.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f760a843d6d8cdd8721e5f8c2ab48e862d02c34bfccec1fa4abc2a3d3efb380
|
|
| MD5 |
563a66815d083313594070fc3ff8a654
|
|
| BLAKE2b-256 |
3881a677c90ddc260116a49ebe6d846843c0cfedcd9f5620a84f735c5757ffed
|
File details
Details for the file mico_agent-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mico_agent-0.1.0-py3-none-any.whl
- Upload date:
- Size: 242.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4347a0aaa50f6c0ceb9c849915a5138b56f90756026d10901dd2779b5e28ce2d
|
|
| MD5 |
a49af12ef21a6347dced241bea17caec
|
|
| BLAKE2b-256 |
a1b98efc7b553eedbbbb83d20abf8f683bf9731e28e0ab615ab93d8dc1170c90
|