An AI agent that remembers, forgets, and asks for permission
Echo Agent is a self-hosted Python agent built for long-running automation, layering cognitive memory and mandatory tool approval so your assistant doesn't start fresh—or run wild—every session.

What it does Echo Agent is a self-hosted AI agent framework meant to run persistently on your own hardware. It collapses a dozen entry points—CLI, API gateway, messaging bots, and cron jobs—into one shared execution loop with unified memory and permissions. The goal is continuity: instead of stateless chat, it carries structured context across sessions and refines its behaviors over time.
The interesting bit
The memory system treats forgetting as a feature, not a bug. It splits recollection into four layers (working, episodic, semantic, archival), applies decay curves and contradiction detection, and falls back from vector search to keyword retrieval if FAISS is absent. There is also a self-evolution pipeline that generates candidate skill improvements from execution traces, evaluates them, and promotes or rolls them back—an attempt to make the agent learn from use rather than simply log it.
Key highlights
- Four-layer cognitive memory with explicit forgetting curves and contradiction checks to combat context bloat.
- LLM-based approval workflow for high-risk tools like command execution and file operations, with encrypted credential storage and audit logging.
- Native MCP client and A2A JSON-RPC support for plugging into external tool ecosystems and other agents.
- Multi-model routing that lets you assign different providers to inference, embedding, compression, and risk approval tasks.
- Twelve-channel input normalization feeding one shared state, covering CLI, Gateway, Cron, Telegram, Discord, Slack, WeChat, Feishu, and DingTalk.
Caveats
- The gateway binds to loopback by default and rejects cross-origin browser requests to block CSRF; remote access means tunneling or explicitly weakening that boundary.
- The README notes that self-evolved skills are “evaluated” before promotion, but it never explains the evaluation criteria or failure rates.
FAISSis optional and the system degrades toBM25, though the README doesn’t detail the accuracy or latency trade-offs of that fallback.
Verdict Worth exploring if you need a persistent, self-hosted automation layer that treats memory as an engineering problem rather than a vector dump. Skip it if you just want a quick OpenAI wrapper or have no use for a long-running Python service.
Frequently asked
- What is fuyuxiang/echo-agent?
- Echo Agent is a self-hosted Python agent built for long-running automation, layering cognitive memory and mandatory tool approval so your assistant doesn't start fresh—or run wild—every session.
- Is echo-agent open source?
- Yes — fuyuxiang/echo-agent is open source, released under the MIT license.
- What language is echo-agent written in?
- fuyuxiang/echo-agent is primarily written in Python.
- How popular is echo-agent?
- fuyuxiang/echo-agent has 1.1k stars on GitHub and is currently cooling off.
- Where can I find echo-agent?
- fuyuxiang/echo-agent is on GitHub at https://github.com/fuyuxiang/echo-agent.