← Back to Plugins
Voice

Encre Agent

Dunimd By Dunimd ⭐ 1 stars 👁 69 views ▲ 0 votes

Encre Agent — A powerful AI Agent platform that supports 51 mainstream LLM providers, 74 built-in tools, 24 chat platform integrations, and a plugin market with 256 official packages. Whether it's coding, desktop automation, cross-platform messaging, or multi-agent collaboration, Encre Agent gets the job done.

GitHub

Configuration Example

{
  "providers": [
    {
      "backend_type": "openai",
      "name": "OpenAI",
      "api_key": "<your-api-key>",
      "models": [
        { "name": "GPT-6 Astra", "model_id": "gpt-6-astra", "enabled": true },
        { "name": "GPT-6 Luna", "model_id": "gpt-6-luna", "enabled": true },
        { "name": "GPT-6 Sol", "model_id": "gpt-6-sol", "enabled": true }
      ]
    }
  ]
}

README

<div align="center">

<img src="desktop/renderer/assets/EA-lm.svg" alt="Encre Agent" width="160"/>

English | [简体中文](README.zh.md)

[Documentation](https://dunimd.github.io/encre) | [Changelog](docs/CHANGELOG.md) | [Security](docs/SECURITY.md) | [Contributing](docs/CONTRIBUTING.md) | [Code of Conduct](docs/CODE_OF_CONDUCT.md)

<a href="https://github.com/Dunimd/encre-agent" target="_blank">
    <img alt="GitHub" src="https://img.shields.io/badge/GitHub-encre-181717?style=flat-square&logo=github"/>
</a>
<a href="https://gitee.com/dunimd/encre-agent" target="_blank">
    <img alt="Gitee" src="https://img.shields.io/badge/Gitee-encre-C71D23?style=flat-square&logo=gitee"/>
</a>

<a href="https://x.com/Dunimd2025" target="_blank">
    <img alt="X" src="https://img.shields.io/badge/X-Dunimd-000000?style=flat-square&logo=x"/>
</a>
<a href="https://space.bilibili.com/3493284091529457" target="_blank">
    <img alt="BiliBili" src="https://img.shields.io/badge/BiliBili-Dunimd-00A1D6?style=flat-square&logo=bilibili"/>
</a>
<a href="https://huggingface.co/dunimd" target="_blank">
    <img alt="Hugging Face" src="https://img.shields.io/badge/Hugging%20Face-Dunimd-FFD21E?style=flat-square&logo=huggingface"/>
</a>
<a href="https://modelscope.cn/organization/dunimd" target="_blank">
    <img alt="ModelScope" src="https://img.shields.io/badge/ModelScope-Dunimd-1E6CFF?style=flat-square&logo=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTcuMDA2IDBDMy4xNDIgMCAwIDMuMTQyIDAgNy4wMDZTMy4xNDIgMTQuMDEyIDcuMDA2IDE0LjAxMkMxMC44NyAxNC4wMTIgMTQuMDEyIDEwLjg3IDE0LjAxMiA3LjAwNkMxNC4wMTIgMy4xNDIgMTAuODcgMCA3LjAwNiAwWiIgZmlsbD0iIzFFNkNGRiIvPgo8L3N2Zz4K"/>
</a>

<a href="https://www.apache.org/licenses/LICENSE-2.0" target="_blank">
    <img alt="License" src="https://img.shields.io/badge/License-Apache%202.0-blue.svg?style=flat-square"/>
</a>

**Encre Agent** — A powerful AI Agent platform that supports 51 mainstream LLM providers, 74 built-in tools, 24 chat platform integrations, and a plugin market with 256 official packages. Whether it's coding, desktop automation, cross-platform messaging, or multi-agent collaboration, Encre Agent gets the job done.

</div>

<h2 align="center">🤖 What is Encre Agent?</h2>

### One-Liner

Encre Agent is an AI Agent platform — tell it what you want to do, and it will automatically analyze, use tools, execute tasks, and deliver results to you.

### Core Capabilities

<div align="center">

| Capability | Description |
|:------|:------|
| 🧠 **51 AI Models** | Supports OpenAI, Anthropic Claude, Google Gemini, DeepSeek, Qwen, GLM, local models, and more — switch freely |
| 🛠️ **74 Built-in Tools** | File operations, shell execution, browser automation (CDP engine), code editing, web search, databases, scheduling, Docker, Git, image gen, email — ready to use |
| 💬 **24 Chat Platforms** | Integrate with Telegram, Discord, Slack, DingTalk, WeChat, WhatsApp, email, QQ Bot, Matrix, and more — chat with Agent wherever you are |
| 🖥️ **Desktop Automation** | Control desktop apps, operate browsers, read screenshots — simulates human operations |
| 🤝 **Multi-Agent Collaboration** | Multiple Agents work simultaneously, dividing tasks and cooperating on complex projects |
| 💾 **Persistent Memory** | Agent remembers your preferences, habits, and project info — gets smarter with use |
| 🛡️ **Safety & Control** | 7 permission modes to precisely control what Agent can and cannot do |

</div>

### Use Cases

- **Code Development Assistant** — You find a bug → tell Encre Agent → it reads the code, runs LSP diagnostics, applies a patch, runs tests, and reports the fix
- **Cross-Platform Research** — Give Encre Agent one prompt like "research the best AI coding tools for me" → it opens a browser, searches Google, clicks articles, reads content, and hands you a comparison table
- **Desktop Automation** — Batch file processing, auto-form filling, screenshot archiving
- **Cross-Platform Chat Bot** — Connect Encre Agent to WeChat, Telegram, Slack, or DingTalk all at once, talk to it from any platform
- **Data Analysis** — "Read this PDF/Excel, summarize it, and tell me the key numbers"
- **Long-term Task Scheduling** — "Check my server every hour and alert me on WeChat if CPU > 80%"
- **Multi-Agent Collaboration** — Tell an architect Agent to plan a feature, a coder Agent to implement, and a critic Agent to review — they share a blackboard and work together

<h2 align="center">⭐ Key Features</h2>

#### 🧠 51 AI Backends, Choose Freely

Supports **51 mainstream AI providers** including OpenAI, Anthropic Claude, Google Gemini, DeepSeek, Alibaba Qwen, Tencent Hunyuan, Xiaomi MiMo, Moonshot Kimi, Zhipu GLM, MiniMax, and more.

- **Global Leaders**: OpenAI, Anthropic, Google, Groq, AWS Bedrock, GitHub Copilot
- **Chinese Providers**: Alibaba Qwen, Tencent, Xiaomi MiMo, Moonshot, Zhipu, MiniMax
- **Self-hosted**: Ollama, LM Studio, HuggingFace Transformers
- **Aggregation Services**: OpenRouter, AI Gateway, Kilocode, OpenCode
- **Advanced Features**: Automatic failover, cost-based routing, transparent retry

#### 🤖 6 Built-in Agent Roles

Encre Agent comes with specialized roles, each with dedicated prompts and capabilities:

- **General Mode**: `coder`, `researcher`, `critic`
- **Workspace Mode**: `architect`, `planner`
- **Plan/Spec Mode**: `spec-writer`

#### 🛠️ 74 Ready-to-use Tools

| Category | Tools |
|:------|:------|
| **Files** | Read, write, edit, patch, search, PDF/Excel processing |
| **Terminal** | Shell commands, background tasks, Docker, deployment |
| **Web** | Page fetching, web search (MCP-powered), browser automation (CDP — Chrome DevTools Protocol) |
| **Dev Aid** | LSP diagnostics, IPython notebook, database queries |
| **Tasks** | Create/get/list/update/stop tasks with bash/agent/workflow executors |
| **Schedule & Memory** | Cron jobs, todo list, memory management |
| **Desktop** | Desktop control (pyautogui), image recognition (OCR), browser automation (CDP) |
| **Integration** | Git, REST API, MCP external protocols |

#### 💬 24 Chat Platform Integrations

Connect Encre Agent to your favorite messaging platforms:

**International**: Discord, Slack, Telegram, WhatsApp, Signal, Matrix, Microsoft Teams, Google Chat, Mattermost, Line, IRC, ntfy, SimpleX, Photon, Raft, Home Assistant

**China**: DingTalk, WeCom, WeChat, QQ Bot

**Universal**: Email (IMAP+SMTP), SMS, Webhook, iMessage (BlueBubbles)

Each platform has a dedicated adapter that normalizes messages before sending them to the Agent.

#### 🛡️ 7-Level Safety Control

| Mode | Description |
|:------|:------|
| `bypass` | No checks (fully open) |
| `dont_ask` | Auto-allow (no confirmation needed) |
| `accept_edits` | Auto-allow file edits |
| `plan` | Plan before executing |
| `spec` | Write a structured spec before implementing |
| `auto` | AI smart judgment |
| `default` | **Recommended** — asks you every time |

Additional protections:
- **SSRF Guard**: DNS resolution + CIDR blocklist
- **Sandbox Isolation**: Docker container sandbox + Linux Landlock kernel-level restrictions
- **AI Safety Classifier**: Agent autonomously assesses operation risk level
- **Rate Limiting**: Prevents runaway API calls

#### 💾 Persistent Agent Memory

Encre Agent has its own memory system — it gets to know you better over time:

- Memories stored as a weighted knowledge graph — episodes, facts, preferences, decisions, and lessons, each with a confidence score
- **Confidence Decay & Reinforcement**: unused memories fade over time; task outcomes reinforce or correct existing beliefs
- **Semantic Search**: Quickly find relevant memories through semantic understanding
- **Entity Hubs & Cross-links**: Related memories are wired by co-occurrence and semantic similarity for one-hop recall

#### 🎯 9 Professional Skills

Agent has 9 callable skills:

`debug`, `loop`, `stuck`, `code-review`, `refactor`, `gen-test`, `verify`, `write-docs`, `chart-visualization`

**Priority Override**: Managed > User > Project > Bundled — meets your personalization needs.

#### 🤝 Multi-Agent Collaboration

- **Swarm System**: Multiple Agents work concurrently without interference
- **Shared Blackboard**: All Agents share state with full transparency
- **Consensus Protocol**: Multiple Agents vote on proposals to select the best solution
- **Task Planner**: Automatically decomposes complex tasks into sub-task trees
- **6 Built-in Roles**: Each role has dedicated prompts and capabilities

#### 🧱 Encre Agent Core (Rust Native)

Encre Agent Core — performance-critical modules written in Rust for blazing speed and memory safety:

- Blazing fast file I/O with offset/limit support
- Regex search & Glob for quick content finding
- SIMD-accelerated text matching (hardware-level)
- Unified Diff for precise code difference calculation
- Sandboxed shell execution in secure environments
- Kernel-level filesystem restrictions via Linux Landlock
- Smart Token counting (English/Chinese/numbers/code)
- Semantic similarity for text comparison
- LSP protocol parsing (JSON-RPC 2.0)

#### 🖥️ Encre Agent Desktop

A full-featured AI chat desktop application built with Electron + React 19:

- **Chat Interface**: Markdown rendering, syntax highlighting, file attachments
- **Multi-session**: Concurrent chats with branching and fuzzy search
- **Settings Panel**: Model config, gateway, agent, MCP servers, skills, rules, memory
- **iClaw Mode**: Automation runner with batch operations
- **Embedded Terminal**: xterm.js + node-pty with working directory browser
- **Code Editor**: Monaco Editor with 16+ language support (TypeScript, JavaScript, Python, Rust, Go, Java, C/C++, PHP, Ruby, Swift, Kotlin, SQL, etc.)
- **11 UI Languages**: English, Simplified/Traditional Chinese, Japanese, Korean, German, Spanish, Portuguese, Turkish, Arabic, Hebrew — with runtime switching
- **Git Integration**: Status and diff wi

... (truncated)
voice

Comments

Sign in to leave a comment

Loading comments...