Skip to content

tradecli wiki

Documentation for tradecli — a terminal-based AI trading assistant for Indian markets.

What is tradecli?

tradecli is a command-line AI agent that drives your browser and MCP-native market tools to research stocks, learn trading, manage portfolios, and analyze live trade setups across NSE and BSE. It connects to Groww and Zerodha through MCP, uses Screener.in and TradingView, and adapts to where you are in your trading journey through five personas: Learner, Investor, Trader, Pro Trader, and Portfolio Manager.

Everything the agent does you can see and audit in your terminal — no hidden actions, no cloud service, your broker credentials stay on your machine.

New here?

Start with → Quick Start

Explore the docs

Getting Started

Quick Start

  • Install via Homebrew
  • Configure an LLM provider
  • Run tradecli doctor
  • Pick your first persona
  • Launch the TUI

Broker Setup

  • Supported brokers
  • Groww connection
  • Zerodha Kite connection
  • Token refresh and reauth
  • Troubleshooting

Browser Setup

  • Why a dedicated browser
  • Chrome/Chromium requirements
  • The tradecli browser profile
  • First-run flow
  • Troubleshooting

Guides

Personas & Modes

  • Picking one
  • Switching

Learner Mode

  • How it works
  • Typical prompts
  • Switching away and back

Investor

  • What it's for
  • Primary tools
  • Typical prompts

Trader

  • What it's for
  • Primary tools
  • Typical prompts

Pro Trader

  • Chart-first trade decisions
  • MCP-native TradingView workflows
  • Trade path routing
  • Pine scripts and backtests
  • Typical prompts

Portfolio Manager

  • What it's for
  • Primary tools
  • Setup
  • Typical prompts

Channels & API

  • What is a channel
  • The TUI channel
  • Telegram
  • WhatsApp
  • Gateway HTTP API
Questions or trouble? contact@tradecli.in