Reference

API Reference

Three interfaces, one algebra. Every API exposes the same four operations: LOAD, ACCUM, READ, SWAP.

Python

pip install atomik-core
  • AtomikContext
  • AtomikTable
  • DeltaStream
  • Fingerprint

C

#include "atomik_core.h"
  • atomik_ctx_t
  • atomik_table_t
  • atomik_fingerprint_t

Kernel Module

sudo ./install.sh
  • ATOMIK_IOC_LOAD
  • ATOMIK_IOC_ACCUM
  • ATOMIK_IOC_READ
  • ATOMIK_IOC_SWAP
  • ATOMIK_IOC_BATCH
Team

Generate SDKs in 5 Languages

Team tier includes the SDK generation pipeline: Python, Rust, C, JavaScript, and Verilog from a single schema definition.

Start Team Trial

Multi-Context Tables

Track thousands of independent state channels in a single table.

Python

from atomik_core import AtomikTable

table = AtomikTable(num_contexts=256)
table.load(addr=0, initial_state=0xCAFEBABE)
table.accum(addr=0, delta=0x00000001)
assert table.read(addr=0) == 0xCAFEBABF

C (single-header library)

#define ATOMIK_IMPLEMENTATION
#include "atomik_core.h"

atomik_table_t table;
atomik_table_init(&table, 256);
atomik_table_load(&table, 0, 0xCAFEBABE);
atomik_table_accum(&table, 0, 0x00000001);
uint64_t s = atomik_table_read(&table, 0);
// s == 0xCAFEBABF