Akashik Protocol
Concepts

The Field

The shared knowledge space that all agents in a system operate within.

Definition

The Field is the top-level primitive in the Akashik Protocol. It is the shared knowledge space that all agents operate within — the boundary within which memory is recorded, attuned, and resolved.

Every Akashik interaction begins with a Field. The Field is a logical concept, not an implementation prescription. It MAY be backed by an in-memory store, a file-based store, a database, or a distributed system. The protocol defines the behavioral contract; implementations choose how to fulfill it.

import { Field } from '@akashikprotocol/core'

const field = new Field()

What the Field provides

CapabilityDescription
Memory storageStores all MemoryUnits committed by agents
Agent registryTracks registered agents, their roles, statuses, and interests
Attunement engineComputes and returns ranked, relevant context when agents attune
Conflict detectionDetects contradictions between MemoryUnits (Level 1+)
Event logAppend-only audit trail of all operations (Level 1+)
Session trackingGroups interactions across multi-turn and multi-agent workflows

Field responsibilities

The Field is responsible for:

  • Validating every RECORD request against the protocol rules (intent required, confidence required at Level 1+, etc.)
  • Auto-generating id, epoch, source, and status on every committed MemoryUnit
  • Scoring and ranking MemoryUnits when an agent calls ATTUNE
  • Detecting conflicts when a contradicts relation is included in a RECORD
  • Maintaining the append-only event log at Level 1+

Agents interact with the Field through the nine core operations: REGISTER, DEREGISTER, RECORD, ATTUNE, DETECT, MERGE, SUBSCRIBE, REPLAY, and COMPACT.

Scope and isolation

A Field is a bounded space. Agents within a Field share memory with each other. Agents in different Fields do not.

This makes the Field the unit of isolation — use one Field per application, or partition Fields by domain, security boundary, or tenant.

System topology

A minimal Akashik deployment:

One Field. Two or more agents. Agents register, record, and attune. The Field is the single source of shared truth.

Next

  • Memory Units — the atomic elements stored inside the Field
  • Attunement — how agents receive relevant context from the Field