Skip to main content

Glossary

Source of truth: the code path each entry names, and the pages under docs/architecture/, docs/plugins/ and docs/indicators/ that define the term in full. One entry per term, alphabetical: a definition, then the page that explains it.

Account​

A brokerage account bound to a provider, named by a handle such as taji_sim or <venue>_paper_<last four>; its row is <state dir>/accounts/<id>.json (engine/crates/taji-trading/src/accounts.rs). Which account does an order go to?

Agent​

Your own, never one Taji embeds. It reaches the wire over MCP through the bridge, or in the conversation over ACP. Connect your agent

Approval​

A call that can send an order, parked while the account's approvals are on; it is sent only when you click Approve in the window. On by default for a live account. When does an order wait for your approval?

Basis​

The price adjustment of an equity's bars: raw, split, split-spinoff or split-dividend-spinoff. Every equity bar in one answer shares one. Why does one answer carry one basis?

Bridge​

The MCP server taji-mcp (agent/src/mcp/): stateless, every tool a wire call on the agent token. What runs on your machine?

By-hand token​

The page or sheet token bought with a nonce only the window the kernel started can mint. It is the only token that approves, and how the kernel tells your click from a script's call. How does the kernel know who is calling?

Canary​

The kernel's own binary (taji __canary) run under a process plugin's sandbox policy behind a proxy that admits no host. It must fail all 14 sandbox::CHECKS before any process plugin starts. What stops a process plugin?

Channel​

A messaging app the kernel sends to and, if two-way, hears its owner on: iMessage, Discord, Slack, WhatsApp, or the out-only webhook. A tier 1 plugin behind taji_plugin::channel::Channel, served by engine/crates/taji/src/wire/channels.rs. Write a channel

Composer​

The input that slides up from the agent's orb at the canvas's foot (⌘K); Enter sends to the open desk's chat. Use the conversation

Conversation​

Your chat with the agent in the window, over ACP: floating, placed as a pane or popped out. Use the conversation

Data budget​

The device's ceiling on what buying data may spend (<state dir>/data_budget.json); a fetch reserves its cost against it first. When does a read spend money?

Desk​

A directory holding one line of work: instructions (DESK.md), notes, documents, layouts and the indicators your agent wrote there (<state dir>/desks/<slug>/; engine/crates/taji/src/desks_dir.rs). Arrange desks, panes and layouts

Device token​

A paired phone's token, minted by a passkey assertion on Remote Control's door: the by-hand page token (the sheet's where a verb refuses page) for five minutes, dead after a day (engine/crates/taji/src/wire/remote.rs). How does Remote Control reach your phone?

Drill​

A test that places orders on sim and, behind the paper-drills feature, on a paper account, asserting only on what it reads back from the read model (engine/crates/taji-open/tests/*_drill.rs). Run one at a time. Checks a change needs

Feature plugin​

A process plugin that computes a product from Taji's data and ships a script and a chart layer: [grants] reads, [[products]] and [[kernel.indicators]]. Build a feature plugin

Gate​

A script that boots a headless kernel on throwaway state and exits with its count of failures (engine/crates/taji/scripts/*_gate.sh). Checks a change needs

Headless​

The kernel running with no window, TAJI_HEADLESS=1. TAJI_HEADLESS

Held exits​

The legs and stops no venue holds, worked by Taji on one live stream per symbol, and only while Taji runs (engine/crates/taji-trading/src/exits.rs). Which exits does Taji hold itself?

Hub​

The one door for market data: it ranks the providers that may answer, answers from its store, and asks a provider only for the span the store lacks (engine/crates/taji-trading/src/hub.rs). Data

Indicator​

A function of bars the kernel computes once and serves to every client: built in (substrate/taji-indicators/src/defs.rs) or a custom TypeScript module in a desk, each passing write an immutable name@N. Indicators

Instance​

One running computation of an indicator, keyed by its definition and version, params, series and sources; every binding, read and alert with that key shares it. Who shares a computation?

Instrument​

An item of a read or an order, written kind:text, as equity:AAPL (Subject in substrate/taji-brokerage/src/read.rs). What does a read ask for?

Journal​

An account's append-only JSON-lines file of order events, <state dir>/journal/<account>.jsonl, written before the venue hears of an order and replayed at boot. What checks an order before it leaves?

Kernel​

The one local Rust process that owns all state. Library engine/crates/taji, binary engine/crates/taji-open. Architecture

Layer​

A product of yours drawn on the chart by the window from a feature's rows, declared as [[ui.layers]]. Draw a chart layer

Layout​

One arrangement of a desk's panes, a tab in the top bar. Arrange desks, panes and layouts

Your credential for a provider, typed in the sheet or with taji-link (agent/src/mcp/link.ts), sealed in the vault. No MCP tool takes it. Where do you type a key, and where is it kept?

Linked channel​

A channel whose secret is sealed in the vault as channel_<id> and, if two-way, whose owner is known. Only the owner's messages reach the agent. Who reaches your agent through a channel?

Manifest​

A plugin's taji-plugin.toml; the kernel routes only what it declares (Manifest in engine/crates/taji-plugin/src/lib.rs). The manifest

Metered provider​

A provider that bills per call. A read never buys from one: an uncovered span answers 409 fetch_first until you fetch. When does a read spend money?

Node​

A value a plugin lets your agent read, declared as [[kernel.nodes]]; the kernel's own nodes make up the state tree. What is a plugin?

Order path​

How an order reaches a venue: the wire, the trading root, the account's stadium actor, the venue adapter. A route picks the account (engine/crates/taji-trading/src/route.rs). Nothing above the trading root holds a broker handle or a credential. Orders

Pairing code​

Eight letters a two-way channel link answers when the platform cannot name the owner; a message that is the code binds its sender. Void after ten minutes. Who reaches your agent through a channel?

Pane​

One view in a desk's layout, in the canvas, as a tab or as a popup; a plugin adds kinds in its manifest's [[ui.panes]]. Write a pane

Pin​

A provider a read names (Policy::provider), which restricts the read to that provider. Which provider answers?

Plugin​

Code added through the one seam, engine/crates/taji-plugin, and declared in a manifest. Compiled in (tier 1) or a process (tier 2). Never "extension". Plugins

Position group​

Options and shares held as one strategy, named by its shape (a vertical, a covered call), with its P&L and greeks. A venue that keeps groups holds them (TradeStation); otherwise the kernel keeps them in <state dir>/groups/<account>.json. Place and cancel orders

Product​

What a read asks for: a DataProduct word (bars, quotes, news, ...) or series:<name>. A vendor never appears in a product's name. What does a read ask for?

Provider​

A vendor's adapter, the thing you link. It serves data as a source, trades as a venue, or both. Write a compiled-in provider

Rate limit​

A login's request budget per window, shared by all its clients. A read over budget is refused naming when it frees; nothing waits (substrate/taji-brokerage/src/queue.rs). What checks an order before it leaves?

Registry​

The one table every plugin is seated into, whether compiled in, found in TAJI_PLUGINS or installed; the wire, the state tree, your agent's tools and the skill are built from it (Registry in engine/crates/taji/src/plugin.rs). How does a plugin reach the kernel?

Remote Control​

The window on a paired phone, reached through a Tailscale sidecar and opened by passkey (plugins/tailscale). How does Remote Control reach your phone?

Sandbox​

The OS confinement every tier 2 plugin runs in: Seatbelt on macOS, Bubblewrap on Linux, ProcessContainer on Windows. It reaches no network but its own proxy to the hosts its manifest declares (engine/crates/taji-host/src/sandbox.rs). What stops a process plugin?

Scope​

Who a token says is calling: local, agent, page or sheet. Every verb is admitted by scope before its handler (engine/crates/taji/src/wire/routes.rs). How does the kernel know who is calling?

Sheet​

The window's second web contents, where secrets are typed and plugins consented to; the page cannot reach it (window/src/sheet.ts, ui/sheet). Where do you type a key, and where is it kept?

Signed registry​

The local directory a plugin installs from: index.json, its ed25519 signature and one artifact per version, named by the setting taji.plugins.registry (engine/crates/taji/src/install.rs). Pack and install a plugin

Skill​

The taji skill (agent/skills/taji), the instructions your agent reads to use Taji; taji-register copies it for each agent platform, and installed plugins add sections. How do the binaries and the skill reach your machine?

Source​

A provider's data side, declared in [[sources]] and Facts (engine/crates/taji-plugin/src/vendor/mod.rs). Add a data source

Stadium​

The execution core (substrate/stadium): one actor per account owns its money path (halt check, replay guard, risk gate, journal, venue call) and the passes that reconcile a venue's orders and positions. What checks an order before it leaves?

State dir​

Where the kernel keeps every file of yours: settings, the vault, accounts, journals, desks, installed plugins and the tokens. State dir and Taji home

State tree​

The kernel's nodes, each at a string path: GET /read/<node> answers its body and GET /describe/<node> one line. Wire

Store​

The market data on your machine, three files under TAJI_STORE_DIR: pulls.db, taji.duckdb and catalog.db (engine/crates/taji-trading/src/hub/store.rs). Where are the rows kept?

Taji home​

The directory holding skills and digest, laid at boot from a packaged build's resources (TAJI_HOME). State dir and Taji home

Tier 1 plugin​

A Rust crate under plugins/ compiled into the kernel binary, built on taji-plugin alone. The only tier that can be a venue or a channel. What separates the two tiers?

Tier 2 plugin​

A program in any language speaking taji-plugin/1 over stdio, run in the sandbox. Its contract is schema/taji.json. What separates the two tiers?

Token​

32 random bytes in hex, one per scope, new each launch, sent as x-taji-token. How does the kernel know who is calling?

Vault​

The device-local, encrypted store of links, <state dir>/secrets/vault.taji (engine/crates/taji-secrets). Where do you type a key, and where is it kept?

Venue​

A provider that trades: its crate registers a VenueArm that binds an account row, and its VenueFacts declare what it trades (engine/crates/taji-plugin/src/vendor/venue.rs). Compiled in only. What does a venue plug in?

Verb​

A route a plugin adds for your agent and the window to call, declared as [[kernel.verbs]]. What is a plugin?

Walk​

A script that drives one surface or vendor end to end on a kernel you started, printing numbered PASS or FAIL checkpoints (engine/crates/*/scripts/, plugins/*/scripts/); a vendor's runs on your key. Checks a change needs

Window​

The Electron shell in window/ and the page it shows, the React app in ui/. What runs on your machine?

Wire​

The kernel's loopback HTTP and WebSocket interface; a call carries the token of its scope. Wire