Skip to main content
Every team has unwritten context — technology preferences, naming conventions, architectural decisions, migration details. Instead of documenting them all upfront, you can teach Kody through natural conversation so future reviews are more relevant and repetitive bad suggestions go away.

How it works

When you ask Kody in a PR comment to remember something, it saves it as a Memory. When you only state codebase context or a team preference, Kody offers to save it and saves it once you say so. Memories are then used as high-priority context in future code reviews and conversations.

Explicit teaching

Directly tell Kody to remember something:

Stating a convention

State a convention, or explain why a suggestion doesn’t apply, and Kody offers to save it as a memory. Reply @kody yes to save it. For example:

What Kody won’t save

Kody is selective about what becomes a memory:
  • Temporary instructions (“fix this now”, “skip this for today”)
  • Questions (“what’s the deadline?”)
  • Debugging chatter (“I see an error”)
  • Vague statements without actionable information
  • Requests scoped to a single PR or task

Memory scopes

Each memory applies at a specific level:

Approval workflow

If you want to review memories Kody creates before they take effect, open Code review → Kody Rules, click Configuration, and turn on Kody knowledge approval. New memories (and Kody-generated rules) then wait in the Pending review section until you Approve or Discard them. Memories you write with New memory are active right away.

Managing memories

Go to Code review → Kody Rules → Memories tab to view, edit, or delete memories. You can also create memories manually with New memory. For details, see Kody Rules — Memories.