Memory and identity for Iris

Iris is Automattic’s internal AI coworker. It works in Slack, on internal blogs and on GitHub, on top of an agentic loop with a custom harness. I worked on the two pieces that let it work in context: its identity and its memory.

role: developer

problemIris is an AI coworker that lives where people already work: Slack, internal blogs and GitHub. To be useful there, it has to know where it is, who it works with and what was said before.

systemIris drafts its own identity for each channel or team from the content around it and other internal sources, so people only fine-tune it. Long-term memory carries context across conversations and teams.

outcomeA more context-aware coworker that answers more questions, handles more tasks on its own and helps colleagues get work done faster.

The problem

An agent that joins a channel cold is a generic chatbot. It doesn’t know what the team does, who to ask, what words mean there, or what was decided last week. People end up repeating context, and the answers stay shallow.

Identity

Each channel or team gets an identity: its purpose, the people and their roles, the team’s terminology, and links to where the canonical information lives. Iris drafts it itself: it reads the Slack channel or internal blog and other internal sources, then proposes an identity that people only need to adjust and approve. A team can share one identity across its channels and its internal blog.

Memory

Iris remembers earlier conversations, and not only in the channel it’s in. With access to memories across the organization, it can surface what other teams already know and have decided: a similar problem solved elsewhere, a decision made in another channel, the people who already own a topic. In a distributed company like Automattic, where work is spread across many teams, channels and time zones, that cuts duplicated effort and makes knowledge discoverable instead of buried in old threads.

Tooling

Alongside identity and memory, I built tools to explore, debug and improve the memory system: one shows what Iris would recall for a question and why, another traces a conversation end to end. Together they show where context was missing, so we can fix it.

The outcome

A coworker that knows the team it’s talking to: it answers more questions, handles more tasks on its own, and helps colleagues get answers and get work done faster. For the final showcase, Iris built the presentation about its own memory with me in Slack, fact-checking its claims against the code.

stack: AI agents · LLMs · PHP · WordPress.com


; previous
; next