MCPcopy Index your code
hub / github.com/ad-naan/Adnify

github.com/ad-naan/Adnify @v1.7.53

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.7.53 ↗ · + Follow
4,882 symbols 13,623 edges 585 files 795 documented · 16%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Adnify Logo

Adnify

中文 | English

Connect AI to Your Code.

A next-generation code editor with stunning visual experience and deeply integrated AI Agent.

<a href="https://deepwiki.com/ad-naan/Adnify"><img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki" /></a>
<img src="https://img.shields.io/badge/license-Custom%20License-blue.svg" alt="License" />
<img src="https://img.shields.io/badge/Electron-39.0-blueviolet" alt="Electron 39.0" />
<img src="https://img.shields.io/badge/React-18-blue" alt="React 18" />
<img src="https://img.shields.io/badge/TypeScript-5.0-blue" alt="TypeScript 5.0" />

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.

Adnify Main Interface Demo


🏆 Hall of Fame: Supporters Wall

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

Contact & Community

Join our community to discuss Adnify usage and development!

WeChat Group QQ Group Author WeChat
WeChat Group QR QQ Group QR 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


📋 View Full Changelog →


Table of Contents


🏗 Architecture Design

Adnify architecture diagram

Core Module Overview

Renderer UI - React components in src/renderer own panels, editor surfaces, chat, plan views, and user-facing interaction flows.

Agent Runtime - src/renderer/agent is now a first-class runtime subsystem covering orchestration, planning, context flow, tool invocation, and application-level coordination.

State and Session - Renderer-side stores and modes manage UI state, conversation state, checkpoints, branches, and session lifecycle.

Frontend Services - Lightweight client services in the renderer coordinate terminal UX, completions, workspace/session helpers, and requests that cross into Electron APIs.

Renderer Workers - Browser workers handle compute-heavy renderer work such as text/diff processing, while Monaco language workers keep editor language features off the UI thread.

Preload Bridge - src/main/preload.ts exposes a typed contextBridge surface so the renderer can access privileged features without direct Node access.

IPC Handlers - src/main/ipc/*.ts is the contract boundary where renderer requests are validated and routed into main-process capabilities.

Shared Contracts - src/shared contains cross-process types, config, utilities, and shared error definitions used by both renderer and main code.

Main Process Services - src/main owns privileged capabilities: window/app lifecycle, filesystem and shell boundaries, LLM backends, MCP backends, LSP management, indexing, and auxiliary desktop services.

Indexing Worker - src/main/indexing/indexer.worker.ts moves indexing work onto a Node worker thread so parsing, embedding, and vector-store updates do not block the Electron main thread.

Concurrency Advantages

Process Isolation - The renderer stays focused on UX and orchestration, while the main process contains privileged operations behind explicit IPC boundaries.

Threaded Work - Heavy background work is split between renderer workers and a dedicated Node indexing worker, so expensive tasks do not stall the app shell.

Operational Safety - The preload bridge, shared contracts, and main-process security layers keep capability exposure narrow and auditable.


✨ Core Features

🎨 Stunning Visual Experience

  • Multi-Theme Support: 4 carefully designed built-in themes
  • Adnify Dark - Default dark theme, soft and eye-friendly
  • Midnight - Deep midnight blue, focused coding
  • Cyberpunk - Neon cyberpunk style
  • Dawn - Bright daytime theme

  • Glassmorphism Design: Global frosted glass style with subtle glowing borders and dynamic shadows

  • Immersive Layout: Frameless window, Chrome-style tabs, breadcrumb navigation

alt text alt text alt text alt text

🤖 Deep AI Agent Integration

  • Three Core Working Modes:
  • Chat Mode 💬: Pure conversation mode for quick Q&A and code discussions, direct responses without active tool calls
  • Agent Mode 🤖: Intelligent agent mode with single-thread task focus, full file system read/write and terminal execution permissions, ideal for clear development tasks
  • Plan Mode 🧠: [NEW] Task orchestration mode supporting multi-turn interactive requirement gathering, automatically creates deep step-by-step execution plans, decomposes complex tasks into multiple sub-tasks with parallel/serial execution, supports task dependency management and progress tracking

  • 24+ Built-in Native Core Tools: Building a universal foundation allowing AI to fully take over projects

  • 📂 File System Management: read_file (supports single/batch file reading), list_directory (supports recursive traversal)
  • ✍️ Smart Code Editing: edit_file (9-strategy intelligent matching), write_file, create_directory, delete_file_or_folder
  • 🔎 Full-scale Search Engine: search_files (ultra-fast regex scan, supports | pattern combination), codebase_search (LanceDB vector semantic insight)
  • 🧠 Language Service (LSP): find_references, go_to_definition, get_hover_info, get_document_symbols, get_lint_errors (supports force refresh)
  • 💻 Sandbox Terminal Control: run_command (supports background execution), read_terminal_output, send_terminal_input (supports Ctrl key combinations), stop_terminal
  • 🌐 Knowledge Networking: web_search (multi-strategy fusion), read_url (Jina deep parsing)
  • 🤝 Human-like Interaction: ask_user (supports manual approval and confirmation)
  • Task Planning System: create_task_plan, update_task_plan, start_task_execution (supports task dependencies and parallel execution)
  • 🎨 UI/UX Design Search: uiux_search (global design aesthetics knowledge base and industry best practices)
  • 💾 Project Memory Management: 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 documentation
  • Drag & drop files/folders to chat for batch context addition

  • Seamless Multi-LLM Switching:

  • Supports OpenAI (GPT-4, GPT-4o, o1 series)
  • Anthropic Claude (Claude 3.5 Sonnet, Claude 3.7)
  • Google Gemini (Gemini 2.0, Gemini 1.5 Pro)
  • DeepSeek (DeepSeek-V3, DeepSeek-R1 with thinking process visualization)
  • Ollama (local models)
  • Custom API (OpenAI-compatible format)

  • Quick Model Switching: Dropdown selector at bottom of chat panel, grouped by provider, one-click model switching with custom model parameters

  • ⚡ Skills System:

  • Plugin-based system based on agentskills.io standard
  • Search and install community skill packages from skills.sh marketplace
  • Direct installation from GitHub repositories
  • Supports project-level and global-level skills, project-level overrides global
  • Supports Auto mode (AI auto-determines loading) and Manual mode (requires @skill-name reference)
  • Skill packages support YAML frontmatter metadata configuration

  • 🔌 Deep MCP Protocol Integration:

  • Full implementation of Model Context Protocol standard
  • Supports external tools, resources, and prompt extensions
  • Built-in OAuth 2.0 authentication flow for third-party service authorization
  • Config hot-reload without restart for MCP server updates
  • Supports multi-workspace config merging with priority management
  • Built-in MCP Registry search for one-click official plugin installation

  • 💾 AI Memory & Approval:

  • Project-level memory storage supporting long-term and short-term memory
  • Manual approval mechanism for AI-written memories to prevent misinformation
  • Automatic memory categorization and indexing with semantic search
  • Supports memory export/import for team knowledge sharing

  • 🎨 Enhanced Response Preview:

  • Tool execution results support rich rendering: Markdown, code highlighting, images, tables
  • Fluid typewriter animation with real-time AI content generation
  • Supports collapse/expand for long content, optimized reading experience
  • Thinking process visualization (DeepSeek-R1, Claude 3.7 reasoning models)

  • 🪵 Eye Style Log System:

  • Redesigned color-highlighted log system
  • Separate Main/Renderer process logs for clear debugging
  • Supports log level filtering (Debug, Info, Warn, Error)
  • Real-time log streaming without refresh

  • 🎭 Emotion Awareness System:

  • Real-time detection of user coding state (focused, confused, fatigued, etc.)
  • Multi-dimensional analysis based on keyboard/mouse behavior and code context
  • Intelligent suggestions for break times and task switching
  • Personalized baseline learning adapting to different developer habits

alt text

🚀 Unique Advantages (vs Cursor/Windsurf/Claude Code)

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

📝 Professional Code Editing

  • Monaco Editor: Same editor core as VS Code with complete editing features
  • Multi-Language LSP Support: TypeScript/JavaScript, Python, Go, Rust, C/C++, HTML/CSS/JSON, Vue, Zig, C#, and 10+ languages
  • Complete LSP Features: Intelligent completion, go to definition, find references, hover info, code diagnostics, formatting, rename, etc.
  • Smart Root Detection: Auto-detect monorepo sub-projects, start independent LSP for each
  • AI Code Completion: Context-based intelligent code suggestions (Ghost Text) with real-time AI suggestions
  • Inline Edit (Ctrl+K): Let AI modify selected code directly without switching to chat panel
  • Diff Preview: Show diff comparison before AI modifies code, support accept/reject for eac

Extension points exported contracts — how you extend this code

CacheStrategy (Interface)
(no doc) [10 implementers]
src/main/services/llm/core/CacheStrategies.ts
ToolProvider (Interface)
(no doc) [4 implementers]
src/renderer/agent/tools/providers/types.ts
CacheEntry (Interface)
缓存条目
src/shared/utils/CacheService.ts
LanceDBConnection (Interface)
* LanceDB 类型定义 * 由于 LanceDB 是动态导入的,这里定义接口描述其 API
src/main/indexing/vectorStore.ts
ContextContributor (Interface)
(no doc) [4 implementers]
src/renderer/agent/domains/context/ContextAssembler.ts
LspServerDefinition (Interface)
(no doc)
src/shared/languages.ts
LanceDBRecord (Interface)
LanceDB 记录类型
src/main/indexing/vectorStore.ts
ErrorAlertProps (Interface)
* 错误提示组件(用于非致命错误)
src/renderer/components/common/ErrorBoundary.tsx

Core symbols most depended-on inside this repo

push
called by 666
src/renderer/services/gitService.ts
error
called by 462
src/main/services/mcp/McpClient.ts
t
called by 295
src/renderer/i18n/index.ts
delete
called by 247
src/main/indexing/vectorStore.ts
set
called by 204
src/main/services/mcp/McpAuthStore.ts
tt
called by 194
src/renderer/components/panels/DebugPanel.tsx
on
called by 167
src/shared/utils/CacheService.ts
set
called by 166
src/renderer/services/completionService.ts

Shape

Function 2,187
Method 1,554
Interface 875
Class 261
Enum 5

Languages

TypeScript100%

Modules by API surface

src/renderer/services/gitService.ts85 symbols
src/renderer/agent/tools/executors.ts83 symbols
src/renderer/services/TerminalManager.ts78 symbols
src/renderer/services/aiAttributionService.ts62 symbols
src/main/lsp/lspManager.ts60 symbols
src/shared/utils/CacheService.ts58 symbols
src/main/services/debugger/adapters/NodeDebugAdapter.ts50 symbols
src/renderer/services/completionService.ts49 symbols
src/main/services/documentReader/richContentReader.ts49 symbols
src/main/indexing/indexService.ts49 symbols
src/renderer/services/adnifyDirService.ts47 symbols
src/main/indexing/vectorStore.ts47 symbols

Datastores touched

(mongodb)Database · 1 repos
mydbDatabase · 1 repos
(mysql)Database · 1 repos
dbnameDatabase · 1 repos

For agents

$ claude mcp add Adnify \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page