> Every Taji docs page as Markdown: https://docs.taji.is/llms.txt

# What is Taji

Taji is the open source operating system for trading, built for you and your agent. It is free, runs on your machine, and works over the brokerages, data providers and AI subscription you already have. This page lists what it can do today; the [quickstart](https://docs.taji.is/guide/first-session.md) puts a chart on your screen with no account and no key.

## What can Taji do?

No fixed layout, no fixed data source, no fixed toolset, and one API under all of it that the window, your agent and your scripts share.

- **No fixed layout.** You build each desk from any panes in any arrangement and save it as a layout, and a plugin adds a pane or a chart layer of your own ([Desks and panes](https://docs.taji.is/guide/desks.md), [Write a pane](https://docs.taji.is/plugins/pane.md), [Draw a chart layer](https://docs.taji.is/plugins/layer.md)).
- **No fixed data source.** You link any brokerage or vendor Taji has a plugin for, and any data of your own, a feed, a file or a database, comes in as a plugin ([Add a data source](https://docs.taji.is/plugins/source.md), [Write a compiled-in provider](https://docs.taji.is/plugins/provider.md), [Chart your own CSV](https://docs.taji.is/cookbook/python-csv-source.md)).
- **No fixed toolset.** You add indicators, plugins whose verbs your agent calls as tools, and channels that reach you where you are ([Indicators](https://docs.taji.is/indicators.md), [Your first plugin](https://docs.taji.is/plugins/first-plugin.md), [Write a channel](https://docs.taji.is/plugins/channel.md)).
- **One API for every client.** Every piece of data and every action in Taji is a route on one local API, and the window, your agent, your phone and your scripts call the same routes. Nothing the window shows or does is closed to your agent or your code; only the token's scope differs, so your agent cannot open the vault or approve its own live order ([The Taji API](https://docs.taji.is/api.md), [API reference](https://docs.taji.is/wire.json)).

[Fit Taji to your workflow](https://docs.taji.is/guide/fit-your-workflow.md) builds one such setup, step by step, from a layout, a data source of your own, a plugin's pane and an indicator. Coming from TradingView, [Taji vs TradingView and Pine Script](https://docs.taji.is/guide/tradingview.md) sets the two side by side.

### Customizable

Your desk is yours to build: every pane, layout, chart and key.

- **Desks.** A desk is one directory per line of work, holding its instructions, notes, documents and layouts, and it outlives every conversation ([Desks and panes](https://docs.taji.is/guide/desks.md)).
- **Panes.** Chart, ladder, option chain, positions and orders, watchlist, alerts, screener, calendar, news, financials, filings, notes and your agent's conversation, dragged, resized, stacked as tabs or popped out.
- **Layouts.** A desk keeps named layouts, and you switch between them.
- **Chart styles.** Candles, Heikin Ashi, Renko, Kagi, line break, point and figure, range bars and more, at any interval you define ([Chart](https://docs.taji.is/catalog/chart.md)).
- **Drawings.** Trendlines, channels, Fibonacci and Gann tools, pitchforks, Elliott waves, patterns, anchored VWAP and volume profiles; your agent reads each one and an alert can ride it.
- **A source per chart.** Each chart names its source, and you can pin one.
- **Hotkeys.** You rebind them, and `⌘/` lists them.
- **Watchlists and notes.** Lists with sections and flags, and notes kept per symbol.
- **All of it over the wire.** Whatever you arrange by hand, your agent or a script arranges too ([Desks and panes](https://docs.taji.is/guide/desks.md#lay-out-a-desk-over-the-wire)).

### Extensible

Everything Taji does beyond its core is a plugin, the chart included, and a plugin you write is driven like Taji's own.

- **A backend.** A plugin adds verbs your agent calls as tools, nodes it reads, data sources and data products of its own ([Plugins](https://docs.taji.is/plugins.md)).
- **Views.** It adds panes to Taji's window and layers drawn on the chart from its own products ([Write a pane](https://docs.taji.is/plugins/pane.md), [Draw a chart layer](https://docs.taji.is/plugins/layer.md)).
- **Indicators of its own.** A plugin ships script indicators that bind to a chart like any other ([Your first plugin](https://docs.taji.is/plugins/first-plugin.md)).
- **Python, Rust or any language.** Taji's SDKs are Python and Rust, and any program that speaks JSON lines over stdio is a plugin ([Protocol](https://docs.taji.is/plugins/protocol.md)).
- **One loop to build it.** `taji plugin new` scaffolds a plugin, `taji plugin check` runs its fixtures and `taji plugin dev` plays it on a throwaway kernel.
- **Published by you.** You pack a plugin into a registry you sign; Taji installs it by its consent digest and updates or removes it while it runs ([Publish a plugin](https://docs.taji.is/plugins/publish.md)). There is no hosted registry, and installing from one needs a debug kernel and your own signed registry.
- **What ships as plugins.** Every brokerage, data source, pane, channel and voice, and four features: [GEX](https://docs.taji.is/catalog/taji-gex.md) for dealer gamma, [Order flow](https://docs.taji.is/catalog/taji-orderflow.md), [Dark pool](https://docs.taji.is/catalog/taji-darkpool.md) for off-exchange prints and a [Sector heatmap](https://docs.taji.is/catalog/taji-sectors.md). The four features are built from a source checkout; the packaged app does not carry them and no registry serves them.

### Open

Taji is free and open source, and it runs on your machine with no account, no subscription and no telemetry.

- **Apache-2.0 throughout.** [LICENSING.md](https://github.com/TajiAI/Taji/blob/main/LICENSING.md) names the third-party files.
- **No language of its own.** An indicator is TypeScript, and a plugin is Python or Rust.
- **One API, published.** Every route the window uses is yours too, described as OpenAPI 3.1: `GET /read/routes` lists them and `GET /read/openapi` describes them ([API reference](https://docs.taji.is/wire.json), [Wire](https://docs.taji.is/reference/wire.md)).
- **A published plugin contract.** The manifest and every message are one schema, versioned by stated rules ([Compatibility](https://docs.taji.is/reference/compatibility.md)).
- **Your services, at their prices.** You bring your brokerages, data providers and AI subscription and pay them directly; Taji adds no fee and resells no AI ([0002](https://github.com/TajiAI/Taji/blob/main/docs/decisions/0002-taji-embeds-no-model.md)).
- **Your files.** The bars you fetch live in a store on your machine, and a desk is a directory you can read ([Data](https://docs.taji.is/architecture/data.md#where-are-the-rows-kept)).

### AI-native

Your agent has programmatic access to every piece of data and every capability Taji has: nine MCP tools cover every route of the wire.

- **Deep backtests.** It runs a rule as an indicator over every bar the chart holds, and reads any span as of a past instant, which refuses a look ahead ([Backtest a 200-day reclaim](https://docs.taji.is/cookbook/backtest-200-day-reclaim.md), [Data](https://docs.taji.is/architecture/data.md#what-can-a-read-see-at-an-instant)).
- **Advanced signals, indicators and tools.** It writes an indicator from one sentence, has the kernel check it and binds it to your chart, and it builds a plugin with Taji's docs at hand, then calls its verbs as tools ([Have your agent write an indicator](https://docs.taji.is/cookbook/agent-writes-an-indicator.md), [Your first plugin](https://docs.taji.is/plugins/first-plugin.md)).
- **Real-time assistance.** It reads your charts, panes and live quotes as you trade, and answers by voice or by message ([Connect your agent](https://docs.taji.is/guide/agent.md)).
- **The agent you already run.** Claude Code, Codex, Cursor, Antigravity, Grok or Muse, on your own sign-in and the model you chose; Taji ships no model ([Connect your agent](https://docs.taji.is/guide/agent.md)).
- **It sees your chart.** It reads where your crosshair rests, what you selected, every pane, and the bars as typed rows.
- **It works on your chart.** It points, draws, changes the symbol and interval, adds an indicator or writes a new one, and you watch it happen.
- **It trades with your yes.** It stages and places orders, and a live one waits for your approval ([0008](https://github.com/TajiAI/Taji/blob/main/docs/decisions/0008-live-orders-wait-for-approval.md)).
- **Talk to it.** Press `⌘⇧V` and ask out loud, on your own OpenAI or Gemini key ([Talk to your agent](https://docs.taji.is/ai/voice.md)).
- **Message it.** From Discord, Slack, iMessage or WhatsApp it answers with the figure, or a picture of the chart ([Reach your agent from your phone](https://docs.taji.is/ai/phone.md)).
- **It works with the window closed.** The kernel runs headless, and your agent's first call starts it.
- **Docs it can read.** Every page is Markdown at its own URL ([Give your agent the docs](https://docs.taji.is/ai/docs-for-agents.md)).

### Fast

One Rust kernel computes each figure once and serves it to every client.

- **Rust where it counts.** The kernel is one Rust process, and its 106 built-in indicators are compiled into it.
- **Computed once.** Charts and alerts that share a definition, inputs and series share one instance, so the window, your agent and an alert never show two numbers for one figure ([Execution](https://docs.taji.is/indicators/execution.md#who-shares-a-computation), [0001](https://github.com/TajiAI/Taji/blob/main/docs/decisions/0001-kernel-computes.md)).
- **A tick costs one bar.** A live update advances the forming bar from the last close's state and never reruns the history.
- **Scripts on a budget.** Your indicator has 50 ms of CPU for a tick or a close and one second for a whole history; past it, that script faults alone ([Execution](https://docs.taji.is/indicators/execution.md#how-long-may-a-script-run)).
- **Compiled primitives.** A script's `ta` functions are the built-ins' own Rust, compiled to WebAssembly ([The indicator SDK](https://docs.taji.is/indicators/sdk.md#why-typescript)).
- **Timed on every write.** A write's report carries the run's time over 1,024 fixture bars; the captured reports on [Execution](https://docs.taji.is/indicators/execution.md#what-does-a-write-check) read about 3 ms.
- **Your store answers first.** A read comes from the store on your machine, and a provider is asked only for the span the store lacks ([Data](https://docs.taji.is/architecture/data.md)).
- **One feed, every consumer.** One upstream per provider, product, symbol and timeframe fans out to everything in the kernel that reads it.
- **Rows, not text.** Market data crosses the wire as Arrow ([Architecture](https://docs.taji.is/architecture/overview.md)).

### Private and secure

Nothing leaves your machine except toward what you link, and your agent never holds a key.

- **Local only.** There is no Taji account, telemetry, analytics or crash reporting, and no Taji server receives your keys, accounts or orders; [Security](https://docs.taji.is/architecture/security.md#what-does-taji-contact-before-you-link-a-key) names what a keyless Taji contacts.
- **A vault on your device.** Each key is sealed there and goes only to its own vendor, never to your agent, the window's page or a plugin ([0005](https://github.com/TajiAI/Taji/blob/main/docs/decisions/0005-no-key-reaches-a-client.md)).
- **Approvals.** A live order from your agent parks until you approve it, and only your hand in the window turns that off.
- **Paper and live never mix.** A live account refuses an order that does not say it is live, and a paper or simulated account refuses one that does ([Orders](https://docs.taji.is/architecture/orders.md)).
- **Scoped tokens.** Your agent's token cannot open the vault, install a plugin or switch approvals off ([Bound your agent](https://docs.taji.is/guide/agent.md#bound-your-agent)).
- **Sandboxed plugins.** A process plugin runs in the OS sandbox, reaches only the hosts its manifest grants and signs in without seeing your key ([Security](https://docs.taji.is/architecture/security.md#what-stops-a-process-plugin)).
- **Your phone, by passkey.** Remote Control pairs a phone by passkey and opens with Face ID, with nothing installed on the phone ([Tailscale](https://docs.taji.is/catalog/tailscale.md)).
- **Stated limits.** Security lists [what Taji does not protect yet](https://docs.taji.is/architecture/security.md#what-does-taji-not-protect-yet).

### Your data and accounts

Every source and account you link reads as one, any data of your own joins them as a plugin, and what you fetch is yours to keep.

- **Nothing to link on day one.** A first run charts Yahoo Finance's delayed bars, quotes and option chains, Cboe's index history and SEC filings with no key.
- **Your brokerages.** Alpaca, Interactive Brokers, Robinhood, Schwab, TradeStation and Tradovate accounts link, each with the data it includes.
- **Your data providers.** Databento, Massive and FRED keys link the same way.
- **Read as one.** Bars, quotes, depth, trades, option chains, news, corporate actions, earnings, fundamentals, filings, insider trades, fund holdings and economic releases are each one product whatever the source, so nothing changes when you switch provider ([0004](https://github.com/TajiAI/Taji/blob/main/docs/decisions/0004-capabilities-through-the-hub.md)); [Coverage](https://docs.taji.is/reference/coverage.md) says who serves what, and [Read market data](https://docs.taji.is/guide/market-data.md) shows each call.
- **Fetched once.** Every bar you fetch is stored on your machine, and a metered read is priced first and held to the budget you set ([Data](https://docs.taji.is/architecture/data.md#when-does-a-read-spend-money)).
- **As of any date.** A read at a past instant returns only what was knowable then and refuses a look ahead, so a backtest cannot see its future ([Data](https://docs.taji.is/architecture/data.md#what-can-a-read-see-at-an-instant)).
- **Any data of your own.** Any feed, file or database you can read becomes a data source as a plugin: a few lines of Python serve its rows, and Taji charts them and hands them to your agent like a vendor's ([Chart your own CSV](https://docs.taji.is/cookbook/python-csv-source.md), [Add a data source](https://docs.taji.is/plugins/source.md)).
- **One book.** Positions, orders and fills across every linked account sit in one place ([Trade](https://docs.taji.is/guide/trading.md)).
- **Trade from the ticket, the chart or the ladder.** Orders and their exits are lines you drag, and the option chain builds and finds strategies ([Options](https://docs.taji.is/catalog/options.md)).
- **Where orders go.** Alpaca, Interactive Brokers, TradeStation and Tradovate take your orders today, and an order that names no account goes where a stated rule sends it ([Orders](https://docs.taji.is/architecture/orders.md#which-account-does-an-order-go-to)); Coverage lists each order type by brokerage and class.
- **A simulated broker.** `taji_sim` takes equities, options, futures and crypto orders with no key, and none leaves your machine.

### Indicators

Taji has 106 indicators built in, and your agent writes the next one in TypeScript.

- **Built in.** 106 indicators in compiled Rust: moving averages, momentum, volatility, trend, volume and session ([Indicators](https://docs.taji.is/indicators.md)).
- **Your own.** A TypeScript module your agent writes from a prompt; you review the file and add it to a chart ([Your first indicator](https://docs.taji.is/indicators/first-indicator.md)).
- **Checked on every write.** The kernel compiles it, holds it to three invariants and runs its tests; a failure names the line and column and stores nothing.
- **The same live as on reload.** A value never depends on when computing began, and a script cannot look ahead ([Execution](https://docs.taji.is/indicators/execution.md)).
- **The whole market as input.** Other intervals and symbols, intrabars, dividends, splits, earnings, the tape, quotes and any plugin's product, the order book and option chains included ([Inputs](https://docs.taji.is/indicators/inputs.md)).
- **More than lines.** Plots, fills, lines, labels, boxes and a table or card ([Outputs](https://docs.taji.is/indicators/outputs.md)).
- **Versioned.** Every write is an immutable `name@N`; a chart follows the latest or pins one, and an alert pins the one it was made with.
- **No daily count.** Writes, checks and tests run on your machine, as many as your agent makes.
- **From Pine.** Your agent ports a Pine indicator and reads the last values back for you to compare ([Taji indicators and plugins vs Pine Script](https://docs.taji.is/indicators/pine.md)).

### Automation

Taji watches the market and carries out what you set while you do something else; it never originates a trade.

- **Alerts.** On a price, a move, a drawing or any indicator's plot, with conditions joined by `and`, once or every time ([Set an alert](https://docs.taji.is/guide/alerts.md)).
- **Wherever you are.** Every alert, fill, exit, rejection and approval reaches Discord, Slack, iMessage, WhatsApp or your own webhook.
- **Exits.** An order carries a take profit and a stop, and Taji holds the exits no venue will hold, such as a stop on another symbol, working them while it runs ([Orders](https://docs.taji.is/architecture/orders.md#which-exits-does-taji-hold-itself)).
- **Your agent on a task.** It waits for a change instead of polling, works with the window closed, and its live orders wait for you, in the window or on your paired phone.
- **Scripts.** Anything the window does is a wire call: read bars with `curl`, or stream quotes over a WebSocket ([Read bars over the wire](https://docs.taji.is/cookbook/wire-read-bars.md), [Stream live quotes](https://docs.taji.is/cookbook/wire-stream-quotes.md)).

## How do the pieces fit?

```mermaid
flowchart LR
  you["You"] --> win["Window"]
  agent["Your agent"] -->|"MCP"| mcp["MCP bridge"]
  win -->|"API"| kern["Kernel"]
  mcp -->|"API"| kern
  scripts["Your scripts"] -->|"API"| kern
  kern --> hub["Hub"]
  hub <--> store[("Store")]
  sources["Data sources"] --> hub
  kern <-->|"orders"| brokers["Brokerages"]
  kern <-->|"stdio"| proc["Process plugins"]
```

Read it from the left. You work in the window, your agent works through Taji's MCP bridge, and your scripts call the kernel directly; all three reach it over the same API on one loopback wire, each request carrying a token the kernel mints at launch. Market data reaches the kernel only through the hub, which keeps what it reads in a store on your machine. Brokerages take your orders. Process plugins run beside the kernel, each in the OS sandbox, and speak to it over stdio. [Architecture](https://docs.taji.is/architecture/overview.md) draws every process and interface.

## Who is Taji for?

Taji is for someone who trades with their own money and their own agent (Claude Code, Codex and the like) and has limited attention for markets. At one end that is a person with a day job and a few minutes at a time; at the other, an intraday trader at the screen by choice. Both own every step alone: research, building the trade, executing it. What does not fit their attention gets decided by feel.

## What will Taji not do without you?

Taji trusts you; it does not trust your agent. Three rules follow from that.

- **A live order from your agent waits for you.** While an account's approvals are on, your agent's order parks until you approve it in the window. Approvals are on by default for a live account and off for paper and sim. Only a hand in the window turns them off, because your click is the consent ([0008](https://github.com/TajiAI/Taji/blob/main/docs/decisions/0008-live-orders-wait-for-approval.md)).
- **An order says which side of the line it is on.** A live account refuses an order that does not say it is live, and a paper or simulated account refuses one that does. A test order cannot reach real money by mistake ([Orders](https://docs.taji.is/architecture/orders.md)).
- **Your agent never sees a key.** You type a key into the window's link sheet or `taji-link` in a terminal; it is sealed in your vault and goes only to its vendor ([0005](https://github.com/TajiAI/Taji/blob/main/docs/decisions/0005-no-key-reaches-a-client.md), [Security](https://docs.taji.is/architecture/security.md)).

Taji also embeds no model and resells no AI. Voice aside, it calls no model API: the agent and its model are yours ([0002](https://github.com/TajiAI/Taji/blob/main/docs/decisions/0002-taji-embeds-no-model.md)).

## What is Taji not?

- **Not a robo-advisor.** It has no model portfolio and no rebalance to target; you design and approve every plan.
- **Not an autonomous trading bot.** Taji sends your orders, your agent's orders under the approvals you set, and the exits you arm. It never originates a trade of its own.
- **Not a stock-picking newsletter, a signal service, a portfolio dashboard or a social trading platform.**
- **Not a behavioural-coaching layer.** It reads no emotion and models no state of mind.
- **Not a financial advisor.** It is not a fiduciary and not a registered investment adviser.
- **Not an AI vendor.**

## What needs a key, and what does not?

A first run needs no account and no key. The kernel makes `taji_sim`, a simulated broker for equities, options, futures and crypto, and turns on three keyless data sources: Yahoo Finance, Cboe and SEC EDGAR. Keyless data is delayed, and Yahoo Finance streams no bars, so a keyless chart reads **Not live**. Taji reads Yahoo Finance by automated access its terms forbid; the first run says so, and Connections turns it off.

A key is needed for a brokerage account, a paid data vendor such as Databento or Massive, or voice. Each key is sealed in the vault on your device and goes only to its own vendor ([Security](https://docs.taji.is/architecture/security.md)). The window's conversation needs your agent platform installed and signed in.

## Where does Taji run?

On macOS on Apple Silicon. Windows is a preview, and Linux builds from source ([Build from source](https://docs.taji.is/guide/install.md)).

## See also

- [Manifesto](https://docs.taji.is/manifesto.md): why we built Taji and where we are taking it.
- [Architecture](https://docs.taji.is/architecture/overview.md): each process, how it reaches the kernel, what each token is refused, and the platforms it runs on.
- [Decisions](https://github.com/TajiAI/Taji/blob/main/docs/decisions/README.md): why each rule stands.
- [Glossary](https://docs.taji.is/reference/glossary.md): the locked nouns.
