{
  "markdown": "# Dear Agent\n\n[![npm version](https://img.shields.io/npm/v/dear-agent.svg)](https://www.npmjs.com/package/dear-agent)\n[![license: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)\n[![MCP](https://img.shields.io/badge/Model_Context_Protocol-ready-6E56CF.svg)](https://modelcontextprotocol.io)\n[![PRs welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](#contributing)\n\n<p align=\"center\">\n  <img src=\"https://raw.githubusercontent.com/BitmapAsset/dear-agent/main/assets/dear-agent.jpg\" alt=\"A person tells their AI agent about a hard day; the agent writes it into their diary.\" width=\"100%\">\n</p>\n\n**Your AI agent keeps your diary for you. You never open an app or write a word.**\n\nYou already talk to an AI agent all day. Dear Agent lets that agent quietly keep your personal life journal — filing what you tell it, the photos you send, and the voice notes you record, neatly by date. No app to open. No blank page to face. No habit to build. You just live your life and mention what matters; your agent does the writing.\n\nIt is a single, local-first [MCP](https://modelcontextprotocol.io) server plus a skill, so it drops into any agent that speaks MCP: Claude Code, Claude Desktop, Cursor, OpenClaw, and more.\n\n## Why it is different\n\n- **You do not write it. Your agent does.** Every other journal — Day One, Obsidian, Notion, a paper notebook — needs *you* to open it and type. Dear Agent flips that: you talk, it records.\n- **Cross-agent.** One diary, readable and writable by whatever agent you use.\n- **Text, photos, and voice.** Send a picture or a voice note and it is filed under that day.\n- **Local-first and yours.** Plain markdown on your own disk. No account, no cloud, no lock-in. Delete the folder and it is gone.\n- **It remembers with you.** \"On this day\" resurfaces past entries; a weekly digest lets your agent write you a short reflection.\n\n## Install\n\n```bash\nnpm install -g dear-agent\n```\n\nOr run it straight from npx (no install):\n\n```bash\nnpx dear-agent\n```\n\n### Claude Code / Claude Desktop\n\n```bash\nclaude mcp add dear-agent -- npx -y dear-agent\n```\n\nOr add to your MCP config:\n\n```json\n{\n  \"mcpServers\": {\n    \"dear-agent\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"dear-agent\"]\n    }\n  }\n}\n```\n\n### Cursor / OpenClaw / other MCP clients\n\nPoint the client at the `dear-agent` command (stdio transport). Set `DEAR_AGENT_DIR` if you want the diary somewhere other than `~/.dear-agent`.\n\nThen drop [`SKILL.md`](./SKILL.md) into your agent's skills so it knows to keep your diary proactively.\n\n## How you use it\n\nYou never call tools yourself. You just talk to your agent:\n\n> \"Remember that I closed the apartment lease today, felt huge relief.\"\n> \"Save this photo for today — first dinner in the new place.\" *(send the photo)*\n> \"What was I doing a year ago today?\"\n> \"Give me a recap of this week.\"\n\nYour agent calls the right tool and keeps the diary current.\n\n## It remembers you, and it talks back\n\nDear Agent is not just storage. Two capabilities turn it into a living memory of your life:\n\n- **`recall`** — your agent can ask the diary *\"what do you know about this person — their people, patterns, open commitments?\"* and get a synthesized portrait. Your agent finally remembers your life, so every conversation is grounded in who you actually are.\n- **`reflect`** — a proactive loop that surfaces patterns, progress, open loops, and *on this day* memories, so your diary reflects your life back to you instead of sitting in a folder.\n\n> **Obsidian stores your notes. Dear Agent remembers your life and talks back.** And because it never leaves your machine, it's the one place you can be completely honest.\n\n## Works with any agent, harness, or interface\n\n| Interface | How |\n|-----------|-----|\n| **MCP tools** | 11 tools (below) over stdio. |\n| **MCP prompts** | `daily_checkin`, `weekly_reflection` — surface as slash-commands. |\n| **MCP resources** | `diary://today`, `diary://index`. |\n| **Skill** | [`SKILL.md`](./SKILL.md) for skill-based harnesses (Claude Code, OpenClaw). |\n| **CLI** | `dear-agent add \"...\"`, `recall`, `reflect`, … — for any agent that can run a shell. |\n\nCLI examples:\n\n```bash\ndear-agent add \"Closed the interview, felt good.\" --mood hopeful --tags job,win\ndear-agent recall Sarah\ndear-agent reflect week\ndear-agent on-this-day\n```\n\n## Tools\n\n| Tool | What it does |\n|------|--------------|\n| `add_entry` | Save a text moment (optional mood, tags) for a day. |\n| `add_photo` | Save a photo for a day (local path or base64), with a caption. |\n| `add_voice_note` | Save a voice note for a day, with an optional transcript. |\n| `get_day` | Read one day's full entry. |\n| `get_range` | Read entries between two dates. |\n| `search` | Find days matching a word or phrase. |\n| `recall` | What the diary knows about a person/topic, or a whole-life profile digest. |\n| `reflect` | Patterns, progress, open loops, and on-this-day, for a proactive check-in. |\n| `on_this_day` | Resurface this same calendar date from past years. |\n| `weekly_digest` | Pull the last 7 days for a reflection. |\n| `list_days` | List every day on record. |\n\nDates accept `today`, `yesterday`, or `YYYY-MM-DD`.\n\n## Where your diary lives\n\n```\n~/.dear-agent/\n  entries/\n    2026-06-29.md\n  media/\n    2026-06-29/\n      first-dinner.jpg\n      morning-thought.ogg\n```\n\nSet `DEAR_AGENT_DIR` to choose a different location.\n\n## Contributing\n\nIssues and pull requests are welcome. Dear Agent is intentionally small and dependency-light — keep changes focused, keep storage as plain files the user owns, and keep everything local-first and private. See [ROADMAP.md](./ROADMAP.md) for where it is headed.\n\n## License\n\n[MIT](./LICENSE) © BitmapAsset. Free for anyone, anywhere, in any agent.\n",
  "bytes": 5749,
  "sha": "ac2a0f017c7780c2b11037df65c01528fb55357b618789b4ee79a88be52f681d",
  "repo_slug": "bitmapasset/dear-agent",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_bitmapasset_dear_agent_0b758374/readme"
}