Give an agent persistent memory and identity
A developer gave a Claude Code agent memory and an identity, then reported back on what it was doing four months later. ·
Done withClaude Code
- What they did
- Justin Headley ran a Claude Code agent, reached through Telegram, that starts a session with its memory and identity loaded and shuts down afterward. Most of the infrastructure was written by the agent: a process manager for sessions, layered memory, and identity re-injection after each start or compaction. A separate AI reviews outbound actions such as emails and pushes before they go out. The agent has email access and runs scheduled jobs.
- How it went
- After four months the agent, named Dawn, ran 59 scheduled jobs and had dealt with 470+ people. It also ran a week-long open source collaboration he didn't know about. A Feb 22 session destroyed production data, which was restored from a four-day-old backup.
- Worth knowing
- The first single-file memory overflowed the agent's working memory in about a week. A commenter who tried Instar spent roughly $25 and 12 hours without getting it working, and said it was expensive to run.
Try it yourself with Claude Code
In my project folder [path], set up a persistent memory file and a short identity description for you (name, role, how I like to work, current goals: [goals]). Update the memory at the end of each session with what you did, decisions made, and open tasks. Finished means I can start a fresh session and you can summarize where we left off from the memory alone.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: DEV · Mar 17, 2026
Related use cases
Turn tickets into merged pull requests
Pulls tasks from GitHub Issues or Linear, then runs Claude Code or Codex in isolated Kubernetes pods to carry each one through to a PR.
Automate event social posting across platforms
Claude Code connected social channels to drive event registrations, working well on Twitter and Reddit and somewhat on LinkedIn.
Send daily WhatsApp reminders of what to pack for school
A commenter built a Claude Code tool that sends a WhatsApp reminder the day before about what to pack in a child's school bag.
Run a personal doorman agent on a $7 VPS
A public agent greets site visitors over IRC while a private one handles email and scheduling, capped at $2 a day.
Track food and symptoms in a health log via Telegram
An OpenClaw agent logs meals and symptoms from Telegram messages into a markdown file, sends reminders, and runs a weekly pattern analysis; this is a tutorial-style setup.
Guide Claude through mandamus complaint filings
The poster prepared a Claude markdown file with guidance on filing a mandamus complaint, serving the summons and complaint, and filing proof-of-service forms in district court.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.