Adnify—— 轻量级、高定制化 AI Agent 编辑器,碾压主流 AI 编程工具的极致体验!轻量化架构秒启不卡顿,支持 AI Agent 全流程定制(逻辑编排 / 工具审批 / 智能交互),深度集成 XTerminal(WebGL 加速 + 自定义快捷键),搭配 Markdown 多模式编辑、主题自定义、Git 一体化管理,告别臃肿模板,让 AI 开发完全贴合你的习惯。
Adnify is more than just an editor—it's your intelligent programming companion. It replicates and surpasses traditional IDE experiences, blending Cyberpunk glassmorphism design with a powerful built-in AI Agent that supports full-process automation from code generation to file operations.
"Behind every line of code in Adnify, there's a spark of energy from our community!" ⚡️
A huge thank you to our generous supporters. Your coffee, milk tea, and energy drinks are what keep Adnify evolving!
| Supporter | Method | Honorary Title | Date | Message |
|---|---|---|---|---|
| okay. | 🧋 Milk Tea | Joy Source Injector | 2026-03-07 | A cup of joy for bug-free code! ✨ |
| Mr. Tang | ☕ Coffee | Focus Fuel Sponsor | 2026-04-17 | A fresh cup for the next build. |
Join our community to discuss Adnify usage and development!
| WeChat Group | QQ Group | Author WeChat |
|---|---|---|
| Scan to join WeChat group | QQ Group: 1076926858 |
WeChat ID: adnaan_worker |
💡 For issues or suggestions, submit them on Gitee Issues or Github Issues
Adnify adopts Electron multi-process architecture combined with Web Workers and Node.js Worker Threads for high-performance concurrent processing.
graph TB
subgraph "User Interface Layer"
UI[React Components]
Monaco[Monaco Editor]
XTerm[XTerm Terminal]
ChatUI[Chat Panel]
end
subgraph "Renderer Process"
subgraph "AI Agent Core"
AgentCore[Agent Core]
EventBus[Event Bus]
ToolRegistry[Tool Registry]
ToolExecutors[Tool Executors]
end
subgraph "State Management"
AgentStore[Agent Store]
EditorStore[Editor Store]
UIStore[UI Store]
end
subgraph "Frontend Services"
TermMgr[Terminal Manager]
LSPClient[LSP Client]
WorkspaceMgr[Workspace Manager]
CompletionSvc[Completion Service]
end
subgraph "Agent Subsystems"
Context[Context Manager]
Compression[Compression Manager]
Memory[Memory Service]
Session[Session Service]
Emotion[Emotion System]
end
subgraph "Web Workers Thread Pool"
ComputeWorker[Compute Worker Pool]
MonacoWorkers[Monaco Language Workers]
TSWorker[TypeScript Worker]
JSONWorker[JSON Worker]
CSSWorker[CSS Worker]
HTMLWorker[HTML Worker]
end
end
subgraph "IPC Communication Layer"
IPC[Type-Safe IPC Handlers]
end
subgraph "Main Process"
subgraph "Security Layer"
Security[Security Module]
FileWatcher[File Watcher]
AuditLog[Audit Logger]
end
subgraph "Core Services"
LSPMgr[LSP Manager]
IndexSvc[Indexing Service]
MCPMgr[MCP Manager]
LLMProxy[LLM Proxy]
end
subgraph "Indexing System"
Chunker[Code Chunker]
Embedder[Embedder]
VectorDB[(LanceDB)]
end
subgraph "Node.js Worker Threads"
IndexWorker[Indexer Worker]
end
subgraph "LSP Ecosystem"
TSServer[TypeScript]
Pyright[Python]
Gopls[Go]
OtherLSP[10+ Languages]
end
subgraph "MCP Ecosystem"
MCPClient[MCP Client]
MCPAuth[OAuth Provider]
MCPServers[External MCP Servers]
end
end
subgraph "External Services"
OpenAI[OpenAI]
Claude[Anthropic]
Gemini[Google]
DeepSeek[DeepSeek]
Ollama[Ollama]
end
UI --> AgentStore
Monaco --> EditorStore
Monaco --> MonacoWorkers
XTerm --> TermMgr
ChatUI --> AgentCore
AgentCore --> ToolRegistry
ToolRegistry --> ToolExecutors
AgentCore --> Context
AgentCore --> EventBus
Context --> Compression
AgentCore --> Memory
AgentCore --> Session
MonacoWorkers --> TSWorker
MonacoWorkers --> JSONWorker
MonacoWorkers --> CSSWorker
MonacoWorkers --> HTMLWorker
Context --> ComputeWorker
Compression --> ComputeWorker
AgentStore --> AgentCore
ToolExecutors --> IPC
LSPClient --> IPC
TermMgr --> IPC
WorkspaceMgr --> IPC
CompletionSvc --> IPC
IPC --> Security
Security --> LSPMgr
Security --> IndexSvc
Security --> FileWatcher
Security --> AuditLog
IPC --> MCPMgr
IPC --> LLMProxy
IndexSvc --> IndexWorker
IndexWorker --> Chunker
IndexWorker --> Embedder
Embedder --> VectorDB
LSPMgr --> TSServer
LSPMgr --> Pyright
LSPMgr --> Gopls
LSPMgr --> OtherLSP
MCPMgr --> MCPClient
MCPMgr --> MCPAuth
MCPClient --> MCPServers
LLMProxy --> OpenAI
LLMProxy --> Claude
LLMProxy --> Gemini
LLMProxy --> DeepSeek
LLMProxy --> Ollama
Emotion -.emotion awareness.-> AgentCore
style AgentCore fill:#667eea
style Security fill:#764ba2
style IndexSvc fill:#f093fb
style LSPMgr fill:#4facfe
style LLMProxy fill:#43e97b
style MCPMgr fill:#fa709a
style VectorDB fill:#fee140
style Emotion fill:#ff6b9d
style ComputeWorker fill:#a8edea
style MonacoWorkers fill:#fed6e3
style IndexWorker fill:#c1dfc4
Renderer Process (Frontend)
Web Workers (Renderer Process Thread Pool)
Main Process (Backend)
Node.js Worker Threads (Main Process Thread Pool)
Communication Layer
External Integration
Multi-Process Isolation
Multi-Thread Parallelism
Performance Optimization
Multi-Theme Support: 4 carefully designed built-in themes
Adnify Dark - Default dark theme, soft and eye-friendlyMidnight - Deep midnight blue, focused codingCyberpunk - Neon cyberpunk styleDawn - Bright daytime themeGlassmorphism Design: Global frosted glass style with subtle glowing borders and dynamic shadows
Immersive Layout: Frameless window, Chrome-style tabs, breadcrumb navigation

Three Core Working Modes:
24+ Built-in Native Core Tools: Building a universal foundation allowing AI to fully take over projects
read_file (supports single/batch file reading), list_directory (supports recursive traversal)edit_file (9-strategy intelligent matching), write_file, create_file_or_folder, delete_file_or_foldersearch_files (ultra-fast regex scan, supports | pattern combination), codebase_search (LanceDB vector semantic insight)find_references, go_to_definition, get_hover_info, get_document_symbols, get_lint_errors (supports force refresh)run_command (supports background execution), read_terminal_output, send_terminal_input (supports Ctrl key combinations), stop_terminalweb_search (multi-strategy fusion), read_url (Jina deep parsing)ask_user (supports manual approval and confirmation)create_task_plan, update_task_plan, start_task_execution (supports task dependencies and parallel execution)uiux_search (global design aesthetics knowledge base and industry best practices)read_memory, write_memory (supports manual approval mechanism)Smart Context References:
@filename - Reference file context with fuzzy matching support@codebase - Semantic codebase search based on AI Embedding@git - Reference Git changes, auto-fetch diff info@terminal - Reference terminal output for quick error analysis@symbols - Reference current file symbols, quick navigation to functions/classes@web - Web search for latest technical documentationSeamless Multi-LLM Switching:
Quick Model Switching: Dropdown selector at bottom of chat panel, grouped by provider, one-click model switching with custom model parameters
⚡ Skills System:
🔌 Deep MCP Protocol Integration:
💾 AI Memory & Approval:
🎨 Enhanced Response Preview:
🪵 Eye Style Log System:
🎭 Emotion Awareness System:

Adnify builds upon mainstream AI editors with multiple innovative features:
🔄 9-Strategy Smart Replace: When AI edits code, 9 fault-tolerant matching strategies (exact match, whitespace normalization, flexible indentation, etc.) ensure successful modifications even with slight format differences, dramatically improving edit success rate
⚡ Smart Parallel Tool Execution: Dependency-aware parallel execution - independent reads run in parallel, writes on different files can parallelize, 2-5x speed improvement for multi-file operations
🧠 4-Level Context Compression: Progressive compression (remove redundancy → compress old messages → generate summary → Handoff document), supports truly long conversations without context overflow interruption
📸 Checkpoint System: Auto-creates snapshots before AI modifications, rollback by message granularity, more fine-grained version control than Git
🌿 Conversation Branching: Create branches from any message to explore different solutions, visual management, like Git branches but for AI conversations
🔁 Smart Loop Detection: Multi-dimensional detection of AI repetitive operations, auto-interrupt with suggestions, avoids token waste
🩺 Auto Error Fix: After Agent execution, automatically calls LSP to detect code errors, immediately fixes issues found
💾 AI Memory System: Project-level memory storage, lets AI remember project-specific conventions and preferences
🎬 Streaming Edit Preview: Real-time Diff display as AI generates code, preview changes as they're generated
🎭 Role-based Tools: Different roles have exclusive toolsets, frontend and backend developers can have different tool capabilities


Security Features
Multi-Window & Workspace
Other Features
# 1. Clone project
git clone https://gitee.com/adnaan/adnify.git
cd adnify
# 2. Install dependencies
npm install
# 3. Start dev server
npm run dev
# 1. Replace brand assets
# Put them under public/brand/:
# icons/ app icons, logos/ in-app logos, ip/ character assets, welcome/ splash/welcome assets
# 2. Build installer
npm run dist
# Generated files in release/ directory
Adnify keeps its brand resources in public/brand/. The README hero, welcome screens, app icons, and assistant IP assets all reference this folder, so future brand replacements stay in one predictable place.
| Folder | Purpose | Notes |
|---|---|---|
public/brand/logos/ |
In-app logos | app.png for dark surfaces, app-light.png for light surfaces |
public/brand/icons/ |
System and platform icons | Windows .ico, macOS .icns, Linux .png, and generated multi-size PNG outputs |
public/brand/ip/ |
AI assistant and IP assets | Static IP images plus ai-avatar.gif for README, welcome screens, and assistant identity |
public/brand/welcome/ |
Welcome visuals | dark.webp and light.webp for dark/light theme presentation |
Icons are generated from public/brand/logos/*.png. After replacing the logo source files, run:
npm run assets:icons
See public/brand/README.md for more details.
Ctrl+,Supports OpenAI, Anthropic, Google, DeepSeek, Ollama, and custom APIs
Context References: Type @ to select files, or use @codebase, @git, @terminal, @symbols, @web for special references
Slash Commands: /file, /clear, /chat, /agent and other quick commands
Code Modification: Switch to Agent Mode, enter instruction, AI generates Diff preview then accept or reject
Inline Edit: Select code and press Ctrl+K, enter modification instruction
Open Settings → Index tab, select Embedding provider (recommend Jina AI), configure API Key and start indexing. After completion, AI can use semantic search.
Switch to Plan Mode and engage in multi-turn conversations with the AI to clarify requirements. The AI will automatically create an in-depth step-by-step execution plan, decomposing complex tasks into multiple sub-tasks and managing dependencies and execution order.

Skills are instruction packages that give AI specialized capabilities (e.g., optimization for specific frameworks, complex test writing).
skills.sh.SKILL.md file to clone it directly.SKILL.md template.| Category | Shortcut | Function |
|---|---|---|
| General | Ctrl + P |
Quick open file |
Ctrl + Shift + P |
Command palette | |
Ctrl + , |
Open settings | |
Ctrl + B |
Toggle sidebar | |
| Editor | Ctrl + S |
Save file |
Ctrl + K |
Inline AI edit | |
Ctrl + Shift + I |
Open Composer multi-file edit | |
F12 |
Go to definition | |
Shift + F12 |
Find references | |
| Search | Ctrl + F |
In-file search |
Ctrl + Shift + F |
Global search | |
| AI Chat | Enter |
Send message |
Shift + Enter |
New line | |
@ |
Reference context | |
/ |
Slash commands | |
| Other | Escape |
Close panel/dialog |
F5 |
Start debugging |
Work Modes: Chat 💬 (pure conversation) / Agent 🤖 (single task agent) / Plan 🧠 (task orchestration)
adnify/
├── resources/ # Icon resources
├── scripts/ # Build scripts
├── src/
│ ├── main/ # Electron main process
│ │ ├── ipc/ # IPC unified security intercept layer
│ │ ├── lsp/ # LSP service gateway and lifecycle governance
│ │ ├── memory/ # AI memory pool and multi-level caching engine
│ │ ├── security/ # Sandbox isolation and terminal whitelist defense net
│ │ ├── indexing/ # Global codebase parsing chain (Chunker, Embedding, LanceDB)
│ │ └── services/ # Core main stack subsystems
│ │ ├── agent/ # Agent log analysis and auto-correction
│ │ ├── debugger/# Node/VSCode protocol deep debugging core
│ │ ├── llm/ # LLM dynamic distribution gateway (routing, proxies)
│ │ ├── mcp/ # Model Context Protocol backend registry and auth
│ │ └── updater/ # Highly controllable silent updater module
│ ├── renderer/ # Frontend render process
│ │ ├── agent/ # Client AI brain core (engine queue, tools, instruction flow)
│ │ ├── components/ # Fully decoupled, modular UI component blocks
│ │ │ ├── editor/ # Editor components
│ │ │ ├── sidebar/ # Sidebar components
│ │ │ ├── panels/ # Bottom panels
│ │ │ ├── dialogs/ # Dialogs
│ │ │ └── settings/# Settings components
│ │ ├── modes/ # Multi-mode state machines (Chat, Agent, Plan)
│ │ ├── services/ # Frontend services
│ │ │ └── TerminalManager.ts # Terminal manager
│ │ ├── store/ # Zustand state management
│ │ └── i18n/ # Internationalization
│ └── shared/ # Shared code
│ ├── config/ # Configuration definitions
│ │ ├── providers.ts # LLM provider configs
│ │ └── tools.ts # Unified tool configs
│ ├── constants/ # Constants
│ └── types/ # Type definitions
└── package.json
Many thanks to all the developers who have contributed to Adnify! You guys are the best 🎉
Issues and Pull Requests are welcome!
If you like this project, please give it a ⭐️ Star!
If Adnify helps you, feel free to buy the author a coffee ☕️
Your support is my motivation to keep developing ❤️
This project uses a custom license with main terms:
✅ Permitted Use
⚠️ Requires Written Authorization
❌ Strictly Prohibited
📧 Authorization Request
See LICENSE file for details
Q: Why so many requirements in your license? Looks more complex than MIT?
A: Because I've been hurt before 😭
Seriously, I've seen too many of these operations:
I'm not against commercialization, really. Want to use it commercially? Come on, send an email, maybe we can even collaborate. But sneakily erasing my name to make money? That's too much, right?
Q: Will I accidentally violate the rules if I use it for personal learning?
A: No! Personal learning, research, graduation projects, side projects—use it freely! As long as you:
That simple, I'm not trying to make things difficult 😊
Q: If I want to use it internally at my company/team, does that count as commercial use?
A:
If unsure, send me an email, I'm easy to talk to (really). Authorization process is simple, fees are reasonable.
Q: Can I modify the code? Can I distribute it?
A:
Q: Why not just use GPL or MIT?
A:
My license core is one thing: You can use it, you can learn from it, but commercial use and team distribution require authorization, don't pretend you wrote it.
Simply put, open source isn't "free for you to abuse," it's "I'm willing to share, but please respect my work."
If you agree with this philosophy, welcome to star ⭐️, that's more important than anything.