# Taji > The open source operating system for trading, built for you and your agent. One local Rust process, the kernel, owns all state; the window and your agent (over MCP) are its two clients on one loopback wire. The kernel computes every figure with trading meaning, indicators included, and clients draw what it serves. An agent driving Taji starts at the skill; one writing an indicator reads the indicator section, then the skill's indicator reference and its types. ## Get started Install Taji, take a first session to a chart, and connect your agent. - [What is Taji](https://docs.taji.is/guide/what-is-taji.md): what Taji can do today, theme by theme, who it is for, what it will not do without you, and what needs a key. - [Install the app](https://docs.taji.is/guide/app.md): download, verify, update, find your data, uninstall. - [Quickstart: your first session](https://docs.taji.is/guide/first-session.md): a keyless first run to a chart, a `taji_sim` order and your agent reading it back. - [Fit Taji to your workflow](https://docs.taji.is/guide/fit-your-workflow.md): a layout of your own, a chart on your own data file, a plugin's pane and your indicator, each over the wire. - [Connect your agent](https://docs.taji.is/guide/agent.md): register it over MCP, see its tool calls as wire requests, what it may do, approvals, your phone. - [Taji vs TradingView and Pine Script](https://docs.taji.is/guide/tradingview.md): your data, your AI, your accounts, your platform, without limits; what each costs, its limits, and what you can do only in Taji. - [Build from source](https://docs.taji.is/guide/install.md): build, run, upgrade, stop and reset. - [Desks and panes](https://docs.taji.is/guide/desks.md): make desks, arrange panes, sync charts and switch layouts in the window or over the wire. - [Trade](https://docs.taji.is/guide/trading.md): accounts, paper and live, place, cancel, approvals. - [Read market data](https://docs.taji.is/guide/market-data.md): one `curl` per product against a keyless Taji (bars, a quote, an option chain, earnings, a past date), each with its captured answer. - [Set an alert](https://docs.taji.is/guide/alerts.md): an alert on a price and on an indicator's plot, in the window or over the wire, read back, and where a fire goes. ## Plugins The deepest way to fit Taji to your workflow, and how everything beyond its core is built: add a backend, panes, chart layers or indicators of your own, and publish them from a registry you sign. - [Plugins](https://docs.taji.is/plugins.md): what a plugin is, which kind you need, how one runs beside the kernel, and every plugin Taji ships. - [Your first plugin](https://docs.taji.is/plugins/first-plugin.md): a Python plugin of your own with a verb, a node and an indicator drawn on a chart. - [Add a data source](https://docs.taji.is/plugins/source.md): a keyless Python plugin that serves its own product, read from the wire. - [Write a pane](https://docs.taji.is/plugins/pane.md): a pane a plugin ships, drawn in the window. - [Build a feature plugin](https://docs.taji.is/plugins/feature.md): a product, a layer and a script, from the scaffold to a clean `check`. - [Draw a chart layer](https://docs.taji.is/plugins/layer.md): a profile layer with a shader, from a Python plugin, then the stock renderers and custom builders. - [Write a channel](https://docs.taji.is/plugins/channel.md): a messaging app that reaches your agent from your phone. - [Publish a plugin](https://docs.taji.is/plugins/publish.md): pack a plugin into a registry you sign, install it by its consent digest, then update and remove it. - [Write a compiled-in provider](https://docs.taji.is/plugins/provider.md): build a data source or brokerage into the kernel, and read what it declares before a key is linked. - [Manifest](https://docs.taji.is/plugins/manifest.md): `taji-plugin.toml`: its tables, keys and rules, held to `schema/taji.json`. - [Protocol](https://docs.taji.is/plugins/protocol.md): `taji-plugin/1`: the JSON lines a process plugin and the kernel exchange. - [Window](https://docs.taji.is/plugins/window.md): a plugin's window half: the sandboxed frame, its port and its `@taji/plugin` exports. - [Alpaca](https://docs.taji.is/catalog/alpaca.md) - [Alpaca: how it works](https://docs.taji.is/catalog/alpaca/architecture.md) - [Positions and orders](https://docs.taji.is/catalog/book.md) - [Calendar](https://docs.taji.is/catalog/calendar.md) - [Cboe](https://docs.taji.is/catalog/cboe-daily.md) - [Cboe: how it works](https://docs.taji.is/catalog/cboe-daily/architecture.md) - [Chart](https://docs.taji.is/catalog/chart.md) - [Databento](https://docs.taji.is/catalog/databento.md) - [Databento: how it works](https://docs.taji.is/catalog/databento/architecture.md) - [Discord](https://docs.taji.is/catalog/discord.md) - [Discord: how it works](https://docs.taji.is/catalog/discord/architecture.md) - [SEC EDGAR](https://docs.taji.is/catalog/edgar.md) - [SEC EDGAR: how it works](https://docs.taji.is/catalog/edgar/architecture.md) - [FRED](https://docs.taji.is/catalog/fred.md) - [FRED: how it works](https://docs.taji.is/catalog/fred/architecture.md) - [Gemini](https://docs.taji.is/catalog/gemini.md) - [Gemini: how it works](https://docs.taji.is/catalog/gemini/architecture.md) - [Interactive Brokers](https://docs.taji.is/catalog/ibkr.md) - [Interactive Brokers: how it works](https://docs.taji.is/catalog/ibkr/architecture.md) - [iMessage](https://docs.taji.is/catalog/imessage.md) - [iMessage: how it works](https://docs.taji.is/catalog/imessage/architecture.md) - [Indicators](https://docs.taji.is/catalog/indicators.md) - [Ladder](https://docs.taji.is/catalog/ladder.md) - [Massive](https://docs.taji.is/catalog/massive.md) - [Massive: how it works](https://docs.taji.is/catalog/massive/architecture.md) - [OpenAI](https://docs.taji.is/catalog/openai.md) - [OpenAI: how it works](https://docs.taji.is/catalog/openai/architecture.md) - [Options](https://docs.taji.is/catalog/options.md) - [Reference](https://docs.taji.is/catalog/reference.md) - [Robinhood Agentic](https://docs.taji.is/catalog/robinhood-agentic.md) - [Robinhood Agentic: how it works](https://docs.taji.is/catalog/robinhood-agentic/architecture.md) - [Robinhood Web](https://docs.taji.is/catalog/robinhood-web.md) - [Robinhood Web: how it works](https://docs.taji.is/catalog/robinhood-web/architecture.md) - [Schwab](https://docs.taji.is/catalog/schwab.md) - [Schwab: how it works](https://docs.taji.is/catalog/schwab/architecture.md) - [Stock Screener](https://docs.taji.is/catalog/screener.md) - [Slack](https://docs.taji.is/catalog/slack.md) - [Slack: how it works](https://docs.taji.is/catalog/slack/architecture.md) - [SSGA](https://docs.taji.is/catalog/ssga.md) - [SSGA: how it works](https://docs.taji.is/catalog/ssga/architecture.md) - [Tailscale](https://docs.taji.is/catalog/tailscale.md) - [Tailscale: how it works](https://docs.taji.is/catalog/tailscale/architecture.md) - [Dark pool](https://docs.taji.is/catalog/taji-darkpool.md) - [GEX](https://docs.taji.is/catalog/taji-gex.md) - [Order flow](https://docs.taji.is/catalog/taji-orderflow.md) - [Sector heatmap](https://docs.taji.is/catalog/taji-sectors.md) - [TradeStation](https://docs.taji.is/catalog/tradestation.md) - [TradeStation: how it works](https://docs.taji.is/catalog/tradestation/architecture.md) - [Tradovate](https://docs.taji.is/catalog/tradovate.md) - [Tradovate: how it works](https://docs.taji.is/catalog/tradovate/architecture.md) - [Watchlist](https://docs.taji.is/catalog/watchlist.md) - [Webhook](https://docs.taji.is/catalog/webhook.md) - [Webhook: how it works](https://docs.taji.is/catalog/webhook/architecture.md) - [WhatsApp](https://docs.taji.is/catalog/whatsapp.md) - [WhatsApp: how it works](https://docs.taji.is/catalog/whatsapp/architecture.md) - [Yahoo Finance](https://docs.taji.is/catalog/yahoo.md) - [Yahoo Finance: how it works](https://docs.taji.is/catalog/yahoo/architecture.md) ## Indicators Write an indicator in TypeScript, run it in the kernel and read it on a chart. - [Indicators](https://docs.taji.is/indicators.md): what an indicator is and its life from write to chart, followed on one real indicator. - [Your first indicator](https://docs.taji.is/indicators/first-indicator.md): write, check, bind, read, test and fix one on a headless kernel. - [The indicator SDK](https://docs.taji.is/indicators/sdk.md): plain TypeScript plus `@taji/indicators`, the SDK every indicator imports; the module's shape, numbers and NaN, state, what is refused and why. - [Execution](https://docs.taji.is/indicators/execution.md): where your script runs, what a tick and a close run, why state lives in what `setup` returns, recompute, the write check, budgets, faults and versions. - [Inputs](https://docs.taji.is/indicators/inputs.md): tunable inputs, per-bar sources and anchors, declared data reads, reserved settings. - [Outputs](https://docs.taji.is/indicators/outputs.md): plots as columns, colour, fills, drawings and tables, the served shape and the look. - [Indicator reference](https://docs.taji.is/skill/references/indicators.md): every field, kind, default, limit, refusal and fault. - [Types](https://github.com/TajiAI/Taji/blob/main/agent/skills/taji/references/taji.d.ts): the `@taji/indicators` module your source must fit. - [Porting a Pine script](https://docs.taji.is/skill/references/pine.md): how a Pine script maps onto an indicator. - [Taji indicators and plugins vs Pine Script](https://docs.taji.is/indicators/pine.md): an indicator at Pine's level and a plugin that goes deeper, in TypeScript, Rust and Python; what each reads, the order book and option chains included, every difference side by side, and how to bring your Pine scripts. ## Cookbook Recipes: each one a short task, its full source, the picture it draws and its real output, then what to change. - [Cookbook](https://docs.taji.is/cookbook.md): what a recipe is, the recipes by group, how to run one and how its output is captured. - [Mark where two EMAs cross](https://docs.taji.is/cookbook/ema-cross.md): a fast and a slow EMA over the price, with a triangle at each cross. - [Draw the prior day's high, low and close](https://docs.taji.is/cookbook/prior-day-levels.md): three levels over an intraday chart, from a session anchor and an indicator's state. - [Colour the volume bars that spike](https://docs.taji.is/cookbook/volume-spike.md): volume as a column, coloured where it passes a multiple of its average. - [Backtest a 200-day reclaim on every bar the chart holds](https://docs.taji.is/cookbook/backtest-200-day-reclaim.md): a rule tested as an indicator, its trades, wins and average return counted on the bar each becomes known. - [Have your agent write an indicator](https://docs.taji.is/cookbook/agent-writes-an-indicator.md): one prompt, then the write, check, bind and read your agent makes over MCP, each with the kernel's answer. - [Have your agent place a `taji_sim` order](https://docs.taji.is/cookbook/agent-sim-order.md): stage and place an order over MCP, the approval that parks it until you approve in the window, and the orders read that shows nothing placed yet. - [Read bars over the wire with curl](https://docs.taji.is/cookbook/wire-read-bars.md): the port, the token and one `GET /get/bars` call to your own Taji, its Arrow answer decoded. - [Stream live quotes over the wire](https://docs.taji.is/cookbook/wire-stream-quotes.md): the market socket, one quotes subscription for SPY, and the hello, status and rows frames it sends, decoded. - [Chart your own CSV of daily bars](https://docs.taji.is/cookbook/python-csv-source.md): a Python data source plugin that serves a CSV file's bars, a chart pinned to it and its bars read over the wire. - [Chart dealer gamma exposure on SPY](https://docs.taji.is/cookbook/gex-profile.md): the GEX plugin's levels, profile by strike and curve on a chart, and its flip, walls, magnet and max pain read over the wire. - [Draw an order-flow heatmap with trade bubbles and cumulative delta](https://docs.taji.is/cookbook/orderflow-heatmap.md): the Order flow plugin's liquidity heatmap, prints, best bid and ask, book and cumulative delta, played from its recorded sample. ## Build with AI Give your agent the skill that teaches it to drive Taji. - [Build with AI](https://docs.taji.is/ai.md): which door your agent needs, from the docs as Markdown to the skill, MCP, the wire and an indicator. - [Give your agent the docs](https://docs.taji.is/ai/docs-for-agents.md): `llms.txt`, Markdown for every page, and the page menu. - [Talk to your agent](https://docs.taji.is/ai/voice.md): a realtime voice in front of your agent: choose a voice, the call bar, what to say, and what happens when the connection drops. - [Reach your agent from your phone](https://docs.taji.is/ai/phone.md): message your agent from Discord, Slack, iMessage or WhatsApp, or open the whole window on your phone with Remote Control. - [The Taji skill](https://docs.taji.is/skill.md): how an agent drives Taji: the desk, charts, indicators, alerts, orders. - [Answering a phone turn](https://docs.taji.is/skill/references/channels.md) - [Reading market data](https://docs.taji.is/skill/references/data.md) - [Positions as groups](https://docs.taji.is/skill/references/groups.md) - [IBKR: setting up IB Gateway](https://docs.taji.is/skill/references/ibkr.md) - [Hotkeys](https://docs.taji.is/skill/references/keymap.md) - [Sign-ins that need more than the form](https://docs.taji.is/skill/references/links.md) ## API Taji's backend: one local HTTP and WebSocket API, the same one the window and your agent use, explorable route by route. - [The Taji API](https://docs.taji.is/api.md): what you can call, your first call, and why it is built to be called by code. - [API reference](https://docs.taji.is/wire.json): every route by area, with its words, body, answers and refusals, from the OpenAPI document the kernel serves. - [Wire](https://docs.taji.is/reference/wire.md): listeners, token scopes, envelopes, refusals, feeds, the MCP tools. - [Compatibility](https://docs.taji.is/reference/compatibility.md): what may change in the wire and plugin contracts, and how a client learns of it. ## Understand Why Taji exists and how it is built. - [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. - [Data](https://docs.taji.is/architecture/data.md): how the hub routes, stores and cuts every market data read. - [Orders](https://docs.taji.is/architecture/orders.md): the path an order takes to a broker: who may send it, when it waits for your approval, how it is routed, checked, journaled and reconciled. - [Security](https://docs.taji.is/architecture/security.md): whom Taji trusts, what each boundary stops and what it does not. - [The plugin platform](https://docs.taji.is/architecture/plugins.md): how a plugin is composed, hosted, confined and installed while Taji runs. ## Reference The configuration, the vocabulary and what each provider serves, each held by the code or a test. - [Configuration](https://docs.taji.is/reference/configuration.md): environment variables, settings, state directory, ports. - [Glossary](https://docs.taji.is/reference/glossary.md): every term Taji uses, one line each, with the page that explains it. - [Coverage](https://docs.taji.is/reference/coverage.md): what each provider serves, generated. - [alpaca — coverage](https://docs.taji.is/reference/coverage/alpaca.md) - [cboe-daily — coverage](https://docs.taji.is/reference/coverage/cboe-daily.md) - [Data coverage](https://docs.taji.is/reference/coverage/data.md) - [databento — coverage](https://docs.taji.is/reference/coverage/databento.md) - [edgar — coverage](https://docs.taji.is/reference/coverage/edgar.md) - [fred — coverage](https://docs.taji.is/reference/coverage/fred.md) - [ibkr — coverage](https://docs.taji.is/reference/coverage/ibkr.md) - [massive — coverage](https://docs.taji.is/reference/coverage/massive.md) - [Panels — coverage](https://docs.taji.is/reference/coverage/panels.md) - [Ranks](https://docs.taji.is/reference/coverage/ranks.md) - [robinhood-agentic — coverage](https://docs.taji.is/reference/coverage/robinhood-agentic.md) - [robinhood-web — coverage](https://docs.taji.is/reference/coverage/robinhood-web.md) - [schwab — coverage](https://docs.taji.is/reference/coverage/schwab.md) - [ssga — coverage](https://docs.taji.is/reference/coverage/ssga.md) - [tradestation — coverage](https://docs.taji.is/reference/coverage/tradestation.md) - [tradovate — coverage](https://docs.taji.is/reference/coverage/tradovate.md) - [yahoo — coverage](https://docs.taji.is/reference/coverage/yahoo.md) ## Type definitions - [Indicator types](https://docs.taji.is/taji.d.ts): the `@taji/indicators` module an indicator imports. ## Optional Change Taji: what to read first, how to send a change, the checks, and the rules for docs and the window. - [Testing](https://docs.taji.is/contribute/testing.md): which checks a change needs, and how to run them. - [Writing Taji docs](https://docs.taji.is/contribute/docs.md): the page types, templates and rules. - [The window's UI](https://docs.taji.is/contribute/ui.md): what the window may compute, scene first, tokens, parts, accessibility and copy. - [Shoot a README clip or still](https://docs.taji.is/contribute/media.md): the reels and scenes behind the README's media, and how to add one. - [AGENTS.md](https://github.com/TajiAI/Taji/blob/main/AGENTS.md): what to read before editing, the commands and the rules. - [CONTRIBUTING.md](https://github.com/TajiAI/Taji/blob/main/CONTRIBUTING.md): how to send a change. - [SECURITY.md](https://github.com/TajiAI/Taji/blob/main/SECURITY.md): how to report a vulnerability.