你自己的自我进化人工智能代理,由Elixir/OTP驱动
概览
NexAgent 你自己的自我进化AI代理 一个长期运行的代理,能在你已经使用的聊天应用中工作,调用工具,记住上下文,并通过实际应用不断提升。中文文档 是一个为现实世界、长期使用的人工智能代理。 它不仅仅是一次性的CLI演示,也不是模型外面的薄提示封装器。NexAgent围绕一个更具体的目标构建:保持代理在线,将其置于你已有的聊天应用中,赋予它内存和工具,让它管理后台工作,并使其能够随着时间改进。 - :不仅是提示工程,还包括内存、技能、工具和源码级自我改进。- :监督树、生成服务器、进程隔离和热代码加载,以实现容错、并发和长寿命运行。
概述(AI 翻译)
NexAgent 你自己的自我进化人工智能代理 一个长期运营的客服,能在你已经使用的聊天应用中工作,调用工具,记住上下文,并通过实际应用不断提升。 中文文档
NexAgent 是一个为现实世界长期使用的人工智能代理。
它不仅仅是一次性的CLI演示,也不是模型外面的薄提示封装器。NexAgent围绕一个更具体的目标构建:保持代理在线,将其置于你已有的聊天应用中,赋予它内存和工具,让它管理后台工作,并使其能够随着时间改进。
目前该项目有两个理念:
- 自我进化:不仅是提示工程,还包括记忆、技能、工具和源头层面的自我提升。
- Elixir/OTP:监督树、生成服务器、进程隔离和热代码加载,以实现容错、并发和长寿命运行。
一览
如果你只记得NexAgent的三点,那应该是:
- 它是什么:一个长期运行的AI代理,存在于聊天应用中
- 它能做什么:内存、工具、技能、定时作业和后台任务
- 为什么它能持续运行:灵药/一次性密码(OTP)加上内置的自我进化路径
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
NexAgent is an AI agent built for real-world, long-running use.
It is not just a one-shot CLI demo, and it is not just a thin prompt wrapper around a model. NexAgent is built around a more specific goal: keep an agent online, place it inside the chat apps you already use, give it memory and tools, let it manage background work, and make it capable of improving over time.
Two ideas define the project today:
- Self-evolution: not only prompt engineering, but also memory, skills, tools, and source-level self-improvement.
- Elixir/OTP: supervision trees, GenServers, process isolation, and hot code loading for fault tolerance, concurrency, and long-lived operation.
At a Glance
If you only remember three things about NexAgent, they should be:
- What it is: a long-running AI agent that lives in chat apps
- What it can do: memory, tools, skills, scheduled jobs, and background tasks
- Why it can keep running: Elixir/OTP plus built-in self-evolution paths
flowchart TD
A["Chat AppsTelegram / Feishu / Discord / Slack / DingTalk"] --> B["Gateway"]
B --> C["InboundWorker"]
C --> D["Runner"]
D --> E["Sessions + Memory"]
D --> F["Tools + Skills"]
D --> G["Cron + Subagent"]
D --> H["Reflect + Upgrade Code"]
H --> I["CodeUpgrade + UpgradeManager"]
What You Can Build
| Use case | What NexAgent is doing |
|---|---|
| Always-on assistant | Stays in your chat apps and keeps per-chat context over time |
| Personal knowledge agent | Combines long-term memory, history, and retrieval |
| Automation assistant | Uses cron for reminders, recurring jobs, and background work |
| A growing agent | Expands through skills, tools, and code-level self-improvement |
Key Features
| Capability | What it means |
|---|---|
| Self-evolving by design | soul_update, memory_write, skill_capture, tool_create, reflect, and upgrade_code keep the agent from staying static |
| Long-running sessions | Sessions are scoped by channel:chat_id and keep memory, history, and isolation |
| Works in your chat apps | Telegram, Feishu, Discord, Slack, and DingTalk are already supported |
| Tools, skills, and memory built in | File access, shell, web, messaging, memory search, scheduling, and skills come built in |
| Background work included | Cron jobs and subagents are part of the system, not an afterthought |
| Built on Elixir/OTP | Supervision trees, service processes, and hot reload support real-world uptime |
Why NexAgent
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add gofenix/nex-agent