شعار Code Assistant

Code Assistant

المجتمع
stippi

An LLM-powered, autonomous coding assistant. Also offers an MCP and ACP mode.

الناشرstippi
المستودعcode-assistant
اللغةRust
التفريعات
34
النجوم
181
الأدوات المتاحة
0
نوع نقل البياناتstdio
الفئات
الترخيصMIT
الروابط
  • اربط الأدوات بسير عمل الذكاء الاصطناعي

    يتيح Code Assistant إمكانات MCP التي يمكن لتطبيقات الذكاء الاصطناعي العميلة ووكلاء الذكاء الاصطناعي المتوافقة استخدامها.

  • الأدوات المتاحة: 0

    تصفّح الإجراءات القابلة للاستدعاء أدناه، بما في ذلك أسماؤها وأوصافها عندما يوفّرها الخادم.

  • إعدادات جاهزة للنسخ

    استخدم أمثلة إعداد التثبيت لتهيئة هذا الخادم في تطبيق MCP العميل المفضّل لديك.

  • مؤشرات الاهتمام بالمصدر المفتوح

    النجوم: 181، والنسخ المتفرعة: 34 في المستودع المرتبط.

Code Assistant

CI Trust Score MCP Toplist

An open-source AI coding agent, written in Rust, with a native GUI, a terminal mode, and integrations for editors and MCP clients. It runs an autonomous agent loop over your codebase — reading, searching, editing files, and running commands — while keeping you in the loop about what it is actually doing.

Getting started

The quickest way to try it is a prebuilt download — no toolchain required:

  1. Grab the latest build from the Releases page:
    • macOS: Code-Assistant-macos-aarch64.app.zip (Apple Silicon) or Code-Assistant-macos-x86_64.app.zip (Intel)
    • Linux: code-assistant-linux-x86_64.zip
    • Windows: code-assistant-windows-x86_64.zip
  2. Launch it. On first start, code-assistant opens its Settings screen. Pick a provider (there are one-click suggestions for the common ones), paste an API key, and choose a model — that's it.
  3. Add your project folder from within the app and start a chat.

No hand-editing of JSON files required to get going. (You still can, if you prefer — see the Configuration guide.)

bash
# Install the Rust toolchain (macOS/Linux)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

# On Linux (Debian/Ubuntu), install the system libraries gpui needs:
sudo apt-get install -y --no-install-recommends \
    pkg-config build-essential libssl-dev libzstd-dev \
    libfontconfig-dev libwayland-dev libx11-xcb-dev \
    libxkbcommon-x11-dev libasound2-dev libvulkan1

# On macOS, install the metal toolchain:
xcodebuild -downloadComponent MetalToolchain

# Clone and build
git clone https://github.com/stippi/code-assistant
cd code-assistant
cargo build --release

The binary lands at target/release/code-assistant. See the Configuration guide for building a self-contained macOS .app bundle.

What makes it different

A handful of things we care about:

  • A UI you can actually follow. Instead of a terse "Called 5 tools", code-assistant shows which tools ran and what each of them handed back to the model as context. When it goes off the rails, you can see why.
  • Format-on-save that stays token-efficient. When your project auto-formats code, an agent's mental picture of a file goes stale and its follow-up edits start failing for non-obvious reasons. code-assistant runs your formatter and then reconciles the model's own edits with the formatted result — without wasting tokens on re-reading files. See docs/format-on-save-feature.md.
  • Transparent file encoding & line endings. It reads a file however it is stored (encoding, BOM, CRLF/LF), gives the model clean text, and writes it back the way it was — so it never silently rewrites your line endings.
  • Searches and reads documents, not just code. Word, Excel, PowerPoint, PDF and more are consumed automatically as Markdown, so you can point the agent at real-world documents alongside your source.

Features

  • Multiple LLM providers: Anthropic, OpenAI, Google Vertex AI, Ollama, OpenRouter, SAP AI Core, Groq, Cerebras, Mistral, and more.
  • Four ways to work: a native GUI (built on Zed's GPUI), a terminal mode, a headless MCP server, and an ACP agent for editors like Zed.
  • Adaptive tool syntax: native function calling, XML tags, or triple-caret blocks — chosen per session to fit the model.
  • Real-time streaming with smart filtering that blocks unsafe tool combinations (e.g. editing a file before reading it).
  • Sessions per project with branching, persistent state, and draft messages with attachments.
  • Sub-agents, permission tiers, a command sandbox, and automatic context compaction when the window fills up.
  • MCP client mode: plug in external Model Context Protocol servers and use their tools.
  • Browser sessions: the agent drives a real browser (navigate, read, click, type) to test web apps, with a human-in-the-loop login handoff so it acts as you without ever seeing your credentials.
  • Skills: reusable, task-specific playbooks the agent can load on demand.
  • Auto-loaded guidance: picks up AGENTS.md (or CLAUDE.md) from your project root to align with repo-specific instructions.

Interfaces

bash
code-assistant                     # native GUI (default)
code-assistant --tui               # terminal interface
code-assistant acp                 # ACP agent for editors like Zed
code-assistant server              # headless MCP server (e.g. Claude Desktop)

Any mode can take an initial task: code-assistant --task "Explain this codebase".

Add to your Zed settings:

json
{
  "agent_servers": {
    "Code-Assistant": {
      "command": "/path/to/code-assistant",
      "args": ["acp", "--model", "Claude Sonnet 4.5"],
      "env": { "ANTHROPIC_API_KEY": "sk-ant-..." }
    }
  }
}

See Zed's docs on custom agents.

In Claude Desktop settings (Developer tab → Edit Config):

json
{
  "mcpServers": {
    "code-assistant": {
      "command": "/path/to/code-assistant",
      "args": ["server"],
      "env": { "SHELL": "/bin/zsh" }
    }
  }
}

Configuration

For most people the in-app Settings screen is enough — it manages providers, models, MCP servers and skills for you. Everything can also be configured via JSON files, and there are more advanced options (project setup, sandbox modes, tool syntax, session recording, CLI flags):

→ See the Configuration guide.

Contributing

Contributions are welcome! The codebase is a decent tour of async Rust, AI agent architecture, and cross-platform UI. If something about the agent's behaviour annoys you, that is exactly the kind of detail this project cares about: please open an issue.

Roadmap

Not really a roadmap — just a few directions, in no particular order:

  • Block replacing in stale files: detect early when the model is about to replace_in_file a file that changed since it last read it, and reject with a helpful message.
  • Compact tool-use failures: strip failed tool calls / mismatched search blocks from the history to save tokens.
  • Memory tools: help the agent build up a knowledge base for a project.
  • Tighter sandboxing: restrict tool access to git-tracked files within the project.
  • Fuzzy matching of search blocks: reduce the re-reads caused by failed exact matches.

التثبيت

TypingMind
المتطلبات المسبقة:

Node.js 18+

{
  "mcpServers": {
    "stippi-code-assistant": {
      "command": "",
      "args": []
    }
  }
}

استخدم MCP الخاص بـ Code Assistant مع نماذج ذكاء اصطناعي متعددة

يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا بمجرد توصيل Code Assistant، يمكنك استخدامه مع نماذج ذكاء اصطناعي مختلفة في TypingMind بدلًا من إعداده لكل نموذج على حدة. يعمل تكامل MCP هذا محليًا عبر موصل MCP الخاص بـ TypingMind على جهازك.

دليل الإعداد لاستخدام الموصل المحلي

استخدم هذا الخيار عندما يحتاج خادم MCP إلى الوصول إلى ملفات محلية أو تطبيقات أو موارد خاصة على جهاز الكمبيوتر لديك.

1

فتح إعدادات MCP

في TypingMind، انتقل إلى «الإعدادات»، ثم «الإعدادات المتقدمة»، ثم «بروتوكول سياق النموذج»، واختر «إعداد الموصل».

  1. افتح TypingMind في متصفحك.
  2. انقر على أيقونة الإعدادات.
  3. انتقل إلى الإعدادات المتقدمة.
  4. افتح قسم بروتوكول سياق النموذج.
  5. انقر على «إعداد الموصل» واختر «هذا الجهاز».
شاشة إعداد موصل MCP في TypingMind مع تحديد «هذا الجهاز»
2

تنفيذ أمر الموصل

اختر «هذا الجهاز»، وانسخ الأمر من TypingMind وشغّله في Terminal. أبقِ العملية قيد التشغيل أثناء استخدام MCP.

  1. انسخ أمر الإعداد الذي يعرضه TypingMind.
  2. افتح Terminal على macOS أو Windows Terminal على Windows.
  3. الصق الأمر ونفّذه.
  4. وافق على تثبيت الحزمة إذا طلب منك Terminal تأكيد المتابعة.
  5. أبقِ نافذة Terminal والعملية التي تعمل فيها قيد التشغيل أثناء استخدام أدوات MCP.
3

أضف Code Assistant كخادم

عندما تظهر حالة الموصل «جاهز»، انقر على «تعديل الخوادم» والصق إعدادات خادم MCP.

  1. انتظر حتى تظهر حالة الموصل «جاهز».
  2. انقر على «تعديل الخوادم».
  3. الصق إعدادات خادم MCP الخاص بـ Code Assistant.
  4. احفظ قائمة الخوادم.
  5. حدّث الحالة إذا أردت التأكد من أن الموصل لا يزال جاهزًا.
إعدادات MCP في TypingMind تعرض خادمًا نشطًا وزر «تعديل الخوادم»
{
  "mcpServers": {
    "stippi-code-assistant": {
      "command": "npx",
      "args": [
        "-y",
        "code-assistant"
      ]
    }
  }
}
4

استخدام الاتصال مع نماذج مختلفة

احفظ قائمة الخوادم، وافتح «الإضافات»، وفعّل أدوات MCP الخاصة بـ Code Assistant، ثم اختر أي نموذج ذكاء اصطناعي مدعوم في TypingMind واستخدم الأدوات في المحادثة أو أسندها إلى وكيل ذكاء اصطناعي.

  1. افتح صفحة الإضافات في TypingMind.
  2. فعّل أدوات MCP الخاصة بـ Code Assistant.
  3. ابدأ محادثة واختر نموذج الذكاء الاصطناعي الذي تريد استخدامه.
  4. استخدم أدوات MCP في المحادثة أو عيّنها لوكيل ذكاء اصطناعي.
  5. انتقل إلى نموذج ذكاء اصطناعي آخر عند الحاجة دون إعادة الاتصال بـ MCP.
محادثة في TypingMind تستخدم أدوات MCP المفعّلة مع نموذج ذكاء اصطناعي محدّد
هل يمكنك استخدام Code Assistant لمساعدتي في هذه المهمة؟
Code Assistant
بالتأكيد. قرأته.
إليك ما وجدته باستخدام Code Assistant.

الأسئلة الشائعة

ما استخدامات خادم MCP Code Assistant؟

Code Assistant هو خادم MCP يتيح لتطبيقات الذكاء الاصطناعي المتوافقة الاتصال بأدوات ومصادر سياق خارجية. في TypingMind، يمكنك إضافة خادم MCP هذا مرة واحدة وإتاحة أدواته في مساحة عملك للذكاء الاصطناعي.

هل يمكنني استخدام خادم MCP Code Assistant مع نماذج ذكاء اصطناعي متعددة في TypingMind؟

نعم. يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا يمكنك استخدام Code Assistant مع نماذج ذكاء اصطناعي مختلفة مثل Claude أو ChatGPT أو Gemini أو غيرها من النماذج التي أعددتها في TypingMind، دون إعداد خادم MCP لكل نموذج على حدة.

لماذا تستخدم موصل MCP Code Assistant مع TypingMind؟

يُعد TypingMind من أفضل واجهات المحادثة مع النماذج اللغوية الكبيرة، إذ يجمع نماذج ذكاء اصطناعي متعددة ومطالبات وإضافات ووكلاء ذكاء اصطناعي ومفاتيح API وأدوات MCP في مساحة عمل واحدة. بعد توصيل Code Assistant، يمكنك استخدام أدوات MCP الخاصة به عبر نماذجك المفضلة مع الحفاظ على سير عمل محادثاتك منظمًا في TypingMind.

كيف أوصّل خادم MCP Code Assistant بـ TypingMind؟

يعمل Code Assistant عبر موصل MCP المحلي في TypingMind. هذا هو الخيار الأنسب عندما يحتاج خادم MCP إلى الوصول إلى ملفات محلية أو تطبيقات سطح المكتب أو أدوات سطر الأوامر أو موارد خاصة على حاسوبك.

ما الأدوات التي يوفّرها خادم MCP Code Assistant في TypingMind؟

يتيح Code Assistant إمكانات MCP يمكنك تفعيلها من صفحة الإضافات في TypingMind واستخدامها في المحادثات أو تعيينها لوكلاء ذكاء اصطناعي.

هل أحتاج إلى مشاركة مفاتيح API الخاصة بي مع TypingMind لاستخدام خادم MCP Code Assistant؟

لا. يعطي TypingMind الأولوية للعمل المحلي ويُبقي مزوّدي النماذج ومفاتيح API والمطالبات وإعدادات MCP تحت تحكمك. إذا كان Code Assistant يتطلب مصادقة، فأضف الترويسات أو إعدادات OAuth أو الإعدادات المحلية المطلوبة لخادم MCP هذا عند إنشاء الاتصال.

خوادم MCP ذات صلة

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇