metacore Start a pilot

Developers · Extend

Your logic, on a server you run.

An atom is ordinary code behind a connection. The engine calls it with typed inputs, and it returns its effects as data: the engine validates each one before anything is stored. An atom never reaches the database.

Atoms

A plain Connect or gRPC server that you run, in any language. The engine proves itself with the secret of the connection, and repeats a call that fails.

Kinds

Five kinds, each with one job.

The schema declares each atom: its kind, its connection and its timeout. The engine decides when to call it, and with what.

KindWhat your code does
SourceDeliver returns the change sets after a cursor, a batch for each call. A trigger starts it.
EnricherEnrich derives the derived fields of one layer at each change, or rejects a record.
Gate ruleJudge returns a verdict on the difference of one layer: pass, reject or hold.
HandlerHandle does a job, and returns its outcome, its change sets and its events.
ConverterConvert gives the new values when a deployment changes a key or a type.

One procedure for each kind

Reads never call an atom. When an atom fails or stays silent, its run publishes nothing, and every read continues.

configuration.txtpb
atoms {
  name: "check_limit"
  connection: "rules"
  timeout { seconds: 5 }
  gate_rule {
    layer { entity: "setting" layer: "value" }
  }
}
connections {
  name: "rules"
  settings {
    name: "strict"
    type: FIELD_TYPE_BOOLEAN
    default_value { boolean: false }
  }
}

Declared in the schema

A gate rule on the layer value, and the setting that every call through its connection carries.

Contract

A plain server, in any language.

One server hosts every atom that names its connection. Each atom belongs to one domain, and returns its effects as data.

An atomThe contract
A plain serverConnect or gRPC, in any language.
ProofThe engine sends the secret of the connection with every call, so your server knows its caller.
A complete callTyped inputs and the settings of the connection, in the request. An atom needs no environment variable.
IdempotentThe same call key gives the same effects, so the engine repeats a call that fails.
A timeoutAn atom answers within the timeout that the schema declares.
Effects checkedThe engine checks every effect against the schema. One invalid effect fails the whole answer.

What the engine expects

An atom holds no credential of the platform, and never calls back. metacore atom doc prints the contract, with no sign-in.

A connectionWhat an admin sets
TargetA server you run, a module, a third party or a key.
SecretOne of its own, or the name of a secret that your org keeps. No call returns it.
SettingsTheir values, in each environment. So one server serves every environment with its own.
Rate limitsThe limits of the calls that the engine makes through it.
A changeAn admin changes a binding at any time, also from a server to a module or back. The next call uses it.
A checkThe engine calls the server once. The connection keeps how its last check ended.

Bound in each environment

An AI agent never binds, changes or unbinds a connection: nothing would hold that change for a person.

Connection

A connection says whether it works.

An admin binds each connection, and checks it: the engine calls your server once and reports what it answered. metacore connection bind and metacore connection check do the same from a terminal.

One connection, in production

Its address, the secret that it names and its settings belong to this environment. A connection tells whether the engine calls it. If not, it tells why, since when and when the next call comes.

Failures

A failing atom is not called.

Only the engine retries, with growing waits and the same call key. Each connection has its own rate limits and a breaker, so a failure never multiplies.

Connection

imports

State
Stopped: its server keeps failing Next call at Nov 30, 2026, 10:46 AM
Its last failure

Last failure, Nov 30, 2026, 10:45 AM: No answer in time, or the connection ended before it

Last check
No answer in time, or the connection ended before it Nov 30, 2026, 10:44 AM, in 10 s
Bound to
https://sync.korvan.example/production
A server of the org, in Connect. With the secret sync_token of the environment production
Used by
The atoms import_defaults
Calls a second
No limit of its own
Bound
Jun 3, 2026, 4:12 PM

A connection that stopped

The breaker is open: the work of its atoms waits, and nothing is lost. The engine tries the server again at the time that the page shows.

WhenWhat the engine does
Over its limitThe call waits its turn, and spends no attempt.
Busy or unreachableThe work is delayed, and spends no attempt.
A failureIt spends an attempt. The engine calls again after a wait that grows each time.
Keeps failingThe breaker opens, and the atom is not called. Then one call tries the server: a success closes the breaker.
Not boundThe atom is not called. Its work waits, and spends no attempt.
Out of attemptsA run fails, and publishes nothing. A job is kept, never dropped, and can be replayed.

What a failure costs

An atom that refuses one call fails that call, never its connection.

See also

Build your domain.

Declare its schema, and take it to production, self-hosted or in a managed region.

Briefing