Skip to main content
Arka remembers facts across sessions. With a Supermemory API key, memories sync to the cloud; otherwise Arka falls back to a local cache automatically.

Commands

Natural language

Configuration

Recalled context is injected into arka ask, research, and agent loops automatically.

Context layers

Arka uses several complementary context stores. Pick the layer that matches your use case:
  • Facts — searched by goal text; highest priority in memory_context_for()
  • Session notes — markdown files under ~/.config/arka/agent-memory/
  • Channel turns — JSON per channel:chat_id; shared between webhook and CLI when IDs match
  • Chat session — ephemeral in-memory history for the current arka ask run
See Channel sessions and Session memory for setup.

Unified memory

When UNIFIED_MEMORY=1 (default), Arka routes recall through a single facade that aggregates facts, session notes, and channel turns — without duplicating channel context in arka ask.
Layer routing with --layer auto (default):
  • Facts — preferences, stable knowledge → Supermemory / memory.json
  • Notes — journaling, meetings → session_memory markdown
  • Channel — conversation turns → message_session JSON
Existing commands (arka session-memory, arka session) still work alongside unified memory.

Scoped memory and provenance (v3)

Shared memory is useful only when trust boundaries are explicit. Scoped memory adds trust tiers, write-time provenance, and a workflow scratchpad separate from global facts.

Commands

Configuration

Agent teams integration

Teams with defaults.memory: scoped use policy-filtered recall and write step outputs to the scratchpad (not global facts) unless you promote:
Promote after a workflow run:
See Agent Teams and Agent Hub for edge deployment (Jetson / ClawBox). To pull memory from other IDEs into Arka (Cursor rules, Codex notes, hub exports), use Agent Hub — Memory import or the arka_agent_hub MCP tool with memory_sources / import_memory.