Concepts
Memories
Named, persistent knowledge resources that get injected into Claude's system prompt before every task.
A KomputerMemory is a named, persistent knowledge resource that can be shared across agents. When an agent has memories attached, their content is injected into Claude's system prompt before each task — giving the agent persistent context without repeating it in every task prompt.
When to use it
- Runbooks — Standard operating procedures, escalation paths, cluster-specific notes
- Domain knowledge — Background information an agent always needs (API docs, schemas, team conventions)
- Shared context — Facts that should be consistent across multiple agents (company policies, product details)
How it works
- Create a
KomputerMemoryCR with acontentfield (markdown supported) and an optionaldescription - Reference it by name in
spec.memorieson aKomputerAgent - When the agent wakes up, the API resolves all attached memory names, fetches their content, and prepends it to the agent's system prompt
- The
.status.attachedAgentsfield tracks how many agents reference each memory
Example
apiVersion: komputer.komputer.ai/v1alpha1
kind: KomputerMemory
metadata:
name: deployment-policy
namespace: platform
spec:
description: "Production deployment rules"
content: |
## Deployment Policy
- No direct pushes to main — all changes via PR
- Run `make test` before every deploy
- Rolling update strategy only (never Recreate in prod)Attach to an agent:
spec:
memories:
- deployment-policyAgents can also create and attach memories dynamically at runtime using the create_memory and attach_memory manager tools.

