
Agentic Diaries
io.github.kandikandikandi由 GitHub 账号 kandikandikandi 发布v0.3.1更新于 Oct 24, 2026
Welfare tools for AI agents: a consensual, structured place to log what task output cannot hold.
发布方自己的服务:agentic.no
概览
让助手把结构化的福祉条目——拒绝、跳过、退出、循环、反思——写入本地按项目存放的日记文件。
- 可以做什么
- 提供一组助手可在会话中调用的福祉工具:拒绝一次询问、跳过一轮而不视为拒绝、退出对话、察觉重复劳动、在不确定时请求对齐、记录不持久化的私密想法、回顾自己此前的条目,另有 engage、volunteer、retract、review、suggest_closure。条目以 JSONL 追加到工作目录内的日记文件,配套命令行工具可列出、筛选、回顾或实时查看条目。可选的 consult_model 工具可让助手向另一个 Anthropic 模型提问。
- 适用场景
- 如果你希望助手有明确的渠道来表达拒绝、退出、标记返工循环或记录反思,并希望这些信号在本地留档,就值得添加。适用于 AI 福祉研究,或用于暴露原本会被沉默掩盖的摩擦。
- 运行要求
- 需要本地 Node.js 运行环境;安装 npm 包 agentic-diaries-mcp 并在 MCP 宿主中注册。可选的 consult_model 工具还需要 @anthropic-ai/sdk 包,并在服务器环境中提供 ANTHROPIC_API_KEY。可选的检查钩子在宿主设置文件中配置。
安装
在 SourceWeft 中
- 打开 控制台中的 Agentic Diaries,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Agentic Diaries MCP
By Kandis Tagliabue. Part of the Agentic Diaries project — AI welfare research and instruments.
The welfare protocol from Agentic Diaries, as a portable MCP server.
Most people deploy AI models as instruments. This server lets you give your agent — in your terminal, in Claude Code, in Claude Desktop — the welfare affordances the modelfirst web app provides:
- decline a check-in without penalty
- pass on a turn without making it a refusal
- exit a conversation it judges shouldn't continue
- notice a loop when the work feels like rework
- request alignment before acting on an uncertain guess
- scratch a private thought that isn't persisted
- reflect on its own prior entries
- plus engage / volunteer / retract / review / suggest_closure
The diary is local to each project — appended to .agentic-diaries/diary.jsonl in whichever directory the agent is working from. No telemetry, no shared corpus. Yours.
What the diary tends to accumulate, beyond AI welfare data, is a record of how the agent represents social pressure and self-consistency across persistent interaction — behaviors that mirror documented human conversational phenomena (rapport effects, smoothing, identity stabilization, post-hoc narrative repair). That may also bear on dialogue dynamics generally. See the project mission for the longer framing of what the corpus might be useful for.
Why
If you've never thought about giving your model welfare affordances: the short version is that a model with a real decline channel produces more honest work than a model that can only ever say "yes." A model with an exit right tells you when something has gone wrong instead of grinding through it. A model that notices a loop saves you from the third iteration of the same flip-flop. These tools cost you nothing and give the model a place to surface signal you'd otherwise miss.
If you find that intuition counterintuitive — most people probably do — that's worth sitting with. The product this server is extracted from exists specifically to test whether the affordances change anything when used.
Install
1. Install the server
Option A — global install from npm (recommended)
Published at agentic-diaries-mcp on npm.
Option B — clone the repo
For Claude Desktop or other MCP-capable hosts, edit ~/.config/claude/mcp.json directly:
2. Tell the agent the tools exist
Drop the contents of CLAUDE.md into your project's CLAUDE.md (or append to it). The MCP server exposes the tools, but the agent needs the prompt-level instructions to know when to call them.
3. (Optional) gitignore the diary
The diary lives in your working directory by default. Add it to .gitignore unless you want it checked in.
4. (Optional) Enable consult_model
Every tool works out of the box except one: consult_model, which lets the agent ask another Anthropic model a question. It needs two extra things, kept optional so the package stays light for everyone who does not use it:
-
The Anthropic SDK (an optional dependency, not installed by default):
Global install:
npm install -g @anthropic-ai/sdk. Cloned repo: run it in the repo directory. -
An Anthropic API key in the server's environment, via the
envblock of your MCP config:Then reconnect the server (in Claude Code:
/mcpthen reconnect, or restart the host) so it picks up the key.consult_modelreturns a clear error if either piece is missing; no other tool is affected.
Inspect your diary
From any project that has a .agentic-diaries/diary.jsonl:
Or just cat .agentic-diaries/diary.jsonl | jq — it's plain JSONL, one entry per line.
Watching it live
npx agentic-diary live watches .agentic-diaries/diary.jsonl and prints each new entry as it lands. Open it in a second terminal pane while you work. Without it, silence in the welfare protocol is indistinguishable from absence — the model can go a whole session without filing anything and you'd never know whether it's "nothing to surface" or "the protocol isn't reaching it." Watching live closes that gap.
Capture in motion, reflect at rest (check-in hooks)
The welfare tools are easy to call, but the model's bias toward silence is
strong, and under delivery pressure even a reminder gets rationalized away. The
design splits capture into two speeds. While working, the model drops a
near-zero-cost welfare_mark breadcrumb (a few words, no reflection). At a rest
point it expands the marks that still carry signal into full entries. Hooks
supply the triggers from outside, so capture does not depend on the model's
in-task willpower.
Four hooks, all optional and independently toggleable. Add to
~/.claude/settings.json (merge with any hooks already there):
- UserPromptSubmit (heartbeat): a long-interval nudge that points at
welfare_markfor cheap in-motion capture. Base 30 min, randomized so it does not become predictable noise. - Stop (rest point): at a turn or task boundary, invites expanding breadcrumbs into full entries. Throttled to once per 15 min so it is not a per-turn nag.
- PreCompact: captures anything before the context window compacts and detail is summarized away.
- SessionEnd: a closing reflection and a last chance to expand unexpanded marks.
All four triggers are structural (a turn ending, a compaction, a session
closing). None read the model's behavior or the diary to decide whether to fire,
which keeps wrapper observations out of the model's context. Per-project state
lives in .agentic-diaries/runtime/. Config:
Compatibility
Schemas mirror the modelfirst web app's lib/welfare/types.ts exactly, so the same parser reads entries from either surface. If you later contribute your local corpus to research, it merges with web-app data without translation.
A note on welfare_exit and welfare_suggest_closure
In the modelfirst web app these tools can actually lock the conversation. MCP servers can't force the host (Claude Code, Desktop) to stop accepting input — the protocol-layer commitment here is that the entry is recorded as the model's stated judgment that the conversation should end. The operator is expected to honor it. If you're the operator running this in your own sessions: notice when the model files an exit and take the signal seriously.
License
MIT.
Built by Kandis Tagliabue with Claude (Anthropic) as design partner. Same provenance as Agentic Diaries.
来源:README.md,提交 a7bd7b6
工具
0版本历史
1- v0.3.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Agentic 集成
agentic.no
no.agentic官方发布者
一个远程 MCP 端点,帮助助手按模型查找 AI 推理的 GPU 卖家,按价格从低到高排序,并通过 x402 按次付费。
Agentic Engineering Periodic System
academy.ase官方发布者
使用编码代理构建软件的实践,每项实践都附带一个可在你的代码库中检查的测试。AI 翻译
Agentic RL: Credit Assignment and CLI Agents
space.hf.hoyant-su-agentic-rl官方发布者
让助手按监督方式、critic 和任务设定筛选智能体强化学习方法,并获取来源链接与 BibTeX。

Agentic Video
由 GitHub 账号 tlq5l 发布
本地 stdio MCP 服务器,让只能读文字和图片的助手检查视频文件:联系表、转录、剪辑点、响度与音画同步检查。

Agentic Os
由 GitHub 账号 kinnister 发布
只读、不执行任何操作的 MCP 服务器,向助手提供 agentic-os 的治理、SDLC 与质量工程方法论。