code-assistant

作者 stippi已验证

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

178
Stars
32
Forks
Rust
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/stippi/code-assistant

快速入门

使用 code-assistant 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

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.)

Build from source instead
# 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

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".

Connect to Zed (ACP)

Add to your Zed settings:

{
  "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.

Connect to Claude Desktop (MCP)

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

{
  "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.

常见问题

What is code-assistant?

code-assistant is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by stippi. An LLM-powered, autonomous coding assistant. Also offers an MCP and ACP mode. It has 178 GitHub stars.

Is code-assistant safe to use?

Yes. code-assistant passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install code-assistant?

Clone the repository with "git clone https://github.com/stippi/code-assistant" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is code-assistant written in?

code-assistant is primarily written in Rust. It is open-source under stippi on GitHub, so you can review or fork the full source.

Are there alternatives to code-assistant?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh code-assistant against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情