Agent Primitives /Graph = Connected knowledge

Give agents relationships they can follow.

Turn entities carried by messages into nodes and typed edges. Traverse the graph now, search it by meaning, or inspect what the relationships looked like earlier.

const graph = laser.graph("kg")
// link upserts nodes and the typed edge
for (const product of PRODUCTS) {
  await graph.link(
    CUSTOMER, "purchased", product
  )
}

// a node is addressed by its content
const customer = graphNodeEntity(
  "customer", "42"
)
const bought = await graph.neighbors(
  customer.id, "out", "purchased", 1
)

Primitive guarantees

A durable foundation, not another integration.

01

Typed relationships

Edges preserve meaning so traversal reflects the domain, not just proximity.

02

Temporal knowledge

Ask what was connected at an earlier point instead of overwriting the past.

03

Message-derived

Build connected knowledge from the same durable history that drives the application.

Built forKnowledge graphsRecommendationsEntity resolution

Explore the system

Eight primitives. One durable history.

Combine transport, prompt assembly, recall, relationships, and live views without stitching together disconnected systems.