LOGIKASign in

Configuration

Logika's settings live in three places. What describes your code (the ledger, the components and their conventions, the bindings' templates) is in logika.json, in the repository, reviewed like any other change; the ledger reference has every key. What belongs to the project and its people (members, billing, environments and how the agent works in each) is on the server, changed in the console's Settings or with logika api. What belongs to one machine or one process is in environment variables.

The objects

ObjectWhat it is
UserA person. Owns projects and may be a member of others.
ProjectThe unit of billing and isolation. Your token names the project it is for.
LedgerA named, versioned schema. One logika.json per repository declares one ledger; several repositories may belong to one project.
EnvironmentResolved from the SDK key, never from attributes. Creating a key names its environment and creates it if it is new (default when you name none); the console's Settings or logika api add one too. None is special: there is no production environment. Each is a separate queue with its data stored apart, and can be renamed (queries, analytics and the queue follow the new name) or deleted once no live key writes to it. Its owners set, in the console's Settings, when the agent works its issues: auto (a member's monitor takes them on its own), on_request (when someone presses Wake my agent; the default) or never; which agent runs (Claude Code by default, Codex, or a command of your own); how it delivers (a pull request by default, a deploy, or instructions of your own); a time limit for a run (none by default); and how many days of raw events it keeps, the tier's unless you set fewer. A new environment can copy them from another. Who is emailed about it is each member's own: an owner chooses a member's environments when inviting them, each member changes their own, and the project's creator is subscribed to every environment as it is created.
InstanceOne process: the unit of liveness and loss accounting.
EventA declared, typed thing that happens: a span (an operation with a beginning and an end) or a leaf (a short span marking a point in time).
IssueA judged condition worth attention, with evidence and occurrences; its kind is anomaly in the API and the CLI.
QueueThe project's single list of things addressed to you: issues, instrumentation feedback and account messages.

Identifiers

Every object the API or CLI exposes carries a short typed identifier: a kind prefix and an encoded number, such as an_K3mP9qRt for an issue, pr_… for a project, qi_… for a queue item and tok_… for a token. A wrong-kind identifier is rejected by name. OpenTelemetry span and trace ids are shown as they are; ledger versions are plain integers per ledger.

Each environment's settings

Set by the project's owners in the console's Settings, under Environments; a new environment can copy them from another.

SettingValuesDefault
Wakeon_request (someone presses Wake my agent), auto (a member's monitor takes new issues on its own), neveron_request
AgentClaude Code, Codex, or a command of your own, with its own configuration directory if you set oneClaude Code
Deliverya pull request, a deploy, or instructions of your owna pull request
Time limithow long a run goes before the agent is asked to round up; no run is ever stoppednone
Days keptthe raw history this environment keeps, the tier's or fewer, never below 2the tier's

Each member's own settings, also in Settings, beside their name among the people: which environments they are emailed about, and their soft monthly spending limit for their agent's runs. Teams and environments says who can change what.

Environment variables

VariableRead byWhat it is
LOGIKA_TOKENthe CLIyour token for the project, which logika login writes to the .env beside logika.json; logika token prints one for CI
LOGIKA_PII_KEYthe enhancer and the CLIthe key pii params are encrypted with in your process and decrypted with on your machine; keep it with your other secrets
OTEL_EXPORTER_OTLP_HEADERSthe enhancerthe SDK key, as authorization=Bearer <key>; in browsers and React Native it is passed to init as key instead
LOGIKA_CONTROL_URLthe enhancerwhere the handshake goes, https://api.logika.host unless set; logika test sets it for its local capture
LOGIKA_AGENTlogika check --reviewthe agent command the reviewer runs, claude -p unless set
LOGIKA_REVIEWlogika check --reviewoff turns the reviewer off
LOGIKA_NUDGElogika checkoff turns off the daily reminder to instrument a changed component again