Configs2026年7月19日·1 分钟阅读

Melty — Chat-First Open Source Code Editor

An AI-native code editor that puts conversational interaction at the center of the development workflow, letting you describe changes in natural language while watching the AI edit your codebase in real-time.

Agent 就绪

先审查再安装

这个资产需要先审查。复制的指令会要求 Agent dry-run、列出写入项,确认后再继续。

Needs Confirmation · 66/100策略:需确认
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Established
入口
Melty
先审查命令
npx -y tokrepo@latest install 76e47d82-830c-11f1-9bc6-00163e2b0d79 --target codex

先 dry-run,确认写入项后再运行此命令。

Introduction

Melty is an open-source code editor built around the concept of chat-first development. Instead of writing code directly, you describe what you want in natural language, and the AI edits your files while you watch and approve changes. It aims to make AI pair programming feel native rather than bolted on.

What Melty Does

  • Provides a conversational interface for describing code changes in plain English
  • Streams AI-generated edits in real-time with diff visualization
  • Maintains full context of your codebase for accurate modifications
  • Integrates with git to track and revert AI-generated changes
  • Supports multi-file edits from a single conversation turn

Architecture Overview

Melty is built on Electron with a TypeScript frontend. The editor component extends VS Code's Monaco editor for familiar editing ergonomics. AI interactions are handled through an LLM provider abstraction that supports multiple backends. The chat-to-code pipeline parses intent, gathers file context, generates a diff plan, and applies changes atomically.

Self-Hosting & Configuration

  • Clone the repository and build with npm (Node.js 18+ required)
  • Configure your LLM API key in the settings panel
  • Set the workspace root to your project directory
  • Adjust context window size and model selection in preferences
  • Git integration works automatically when a .git directory is present

Key Features

  • Real-time streaming of code changes as the AI generates them
  • Diff-based approval workflow so you review before committing
  • Codebase-aware context gathering for accurate edits
  • Git integration for easy rollback of AI changes
  • Open-source and self-hostable with no vendor lock-in

Comparison with Similar Tools

  • Cursor — More mature and feature-rich, but proprietary and subscription-based
  • Aider — Terminal-based; Melty provides a visual editor experience
  • Continue — IDE extension approach; Melty is a standalone editor built around chat
  • Cline — VS Code extension; Melty makes conversation the primary interface
  • Windsurf — Similar AI-first concept but closed-source

FAQ

Q: Which LLM providers does Melty support? A: It supports OpenAI, Anthropic, and other providers via configurable API endpoints.

Q: Can I use Melty without an internet connection? A: You need access to an LLM API. Local models via Ollama or similar can be configured for offline use.

Q: Is Melty suitable for large codebases? A: It handles medium-sized projects well. Context window limitations of the underlying LLM may affect very large repositories.

Q: How does it differ from using ChatGPT for coding? A: Melty has direct access to your files, can edit them in-place, and maintains project context across conversations.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产