← 返回
AI智能 中文

Agent Emacs

Unified persistent text-based environment for AI agents. Use when an agent needs to maintain state across sessions, perform structural code editing, or manag...
{"answer":"面向AI代理的统一持久化文本环境。适用于需跨会话保持状态、进行结构性代码编辑或管理...的场景。"}
pitze
AI智能 clawhub v1.0.0 1 版本 99886.9 Key: 无需
★ 1
Stars
📥 863
下载
💾 20
安装
1
版本
#latest

概述

Agent Emacs: The Living Workspace

This skill provides a persistent, high-performance Emacs environment designed specifically for AI agents. It replaces fragmented CLI tools with a unified "Living Image" workflow.

Core Concepts

  1. The Daemon: All work happens inside a persistent Emacs daemon (emacs-agent.service).
  2. The Socket: Communication is handled via emacsclient -s /tmp/emacs0/server.
  3. Buffers as State: Files, terminal outputs, and remote connections are treated as persistent buffers. State is maintained between agent turns.

Operational Workflow

1. Structural Editing

Do not use regex for complex code changes. Use ELisp forms to manipulate the AST.

emacsclient -s /tmp/emacs0/server --eval "(with-current-buffer \"main.lisp\" (goto-char (point-max)) (insert \"\n(new-function)\"))"

2. Remote Infrastructure (TRAMP)

Manage remote nodes transparently. Opening a remote file automatically establishes a persistent SSH tunnel.

(find-file "/ssh:user@remote-node:/etc/config.json")

3. Project Management (Magit)

Use Magit for all Git operations to ensure high-integrity commits and staging.

Advanced Workflows

For detailed patterns on recursive data processing (RLM), memory management, and REPL-based accuracy, see:

Guaranteed Accuracy

Always use the Emacs Lisp REPL for math, data manipulation, or status calculations. Accuracy is paramount; do not attempt manual calculations.

Initialization

Run scripts/bootstrap.sh to ensure the daemon is active and the agent-init.el configuration is loaded.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 18:09 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

Proactive Agent

halthelobster
将AI智能体从任务执行者升级为主动预判需求、持续优化的智能伙伴。集成WAL协议、工作缓冲区、自主定时任务及实战验证模式。Hal Stack核心组件 🦞
★ 837 📥 213,338
ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 714 📥 244,036
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,362 📥 318,826