Skip to content
LaabhAI
Menu

Get started

Install LaabhAI on your own computer

One command installs everything your computer is missing and then walks you through a short setup. About 10 to 15 minutes. It starts in paper mode, so nothing real happens until you choose.

Before you start

Install

  1. Step 1

    Run the install command

    Mac: open Terminal (search for it in Spotlight), paste this and press Return.

    curl -fsSL https://laabhai.com/install.sh | bash

    Windows: open PowerShell (search for it in the Start menu), paste this and press Enter.

    irm https://laabhai.com/install.ps1 | iex

    It installs Node.js, Git and Claude Code if they are missing, then LaabhAI and its laabh command. Your computer may ask for your password to install software. If anything stops it partway, run the same command again; it picks up where it left off.

  2. Step 2

    Sign in to Claude

    A browser window opens for you to sign in with your Claude Pro or Max account. When you are signed in, type /exit in the window that opened to carry on.

  3. Step 3

    Accept the terms

    Setup shows you the risk disclosure in full and links to the terms of use, privacy notice and acceptable use rules (also on our Legal page). Read them, then type ACCEPT. You can also do this yourself in a terminal:

    laabh accept-terms

    LaabhAI will not finish setup or start until you accept. If a document changes later, it pauses and asks you to accept again.

  4. Step 4

    Answer the setup questions

    Setup asks six questions, one at a time:

    1. Log in to Zerodha on Zerodha’s own page, using the link it shows you.
    2. How much money LaabhAI should manage, in rupees (at least ₹1,000). Your loss limits are measured against this amount.
    3. A loss-limit preset: Conservative (the default), Moderate or Aggressive. For example, Conservative stops new buys if a day’s loss reaches 2%.
    4. How LaabhAI reaches you: Telegram, email, both, or neither. You type your Telegram bot token or email password in a separate terminal window, never in the chat.
    5. Your existing Zerodha holdings: it shows the list and asks you to confirm that LaabhAI will manage them under the same rules.
    6. The mode. Paper is the default and the one we recommend to begin with.

    At the end it runs a health check and starts in the mode you picked.

What to expect on the first run

Switching modes

To move between paper, watch-only and approve-each-order on Telegram, run setup again in Claude Code with /laabhai:setup, or run the command directly, for example:

laabh setup --finish --mode confirm

paper (default, recommended first), watch, confirm (approve each order) and live (autonomous) are the choices. Live needs your own acknowledgement that real money is at risk, typed as a flag:

laabh setup --finish --capital 50000 --preset conservative --mode live --i-understand-the-risks

Or switch later with laabh go-live --i-understand-the-risks. Before any real-money mode, laabh gate shows LaabhAI’s own test results as information; they do not block your choice. Live mode starts at half the computed size until 20 clean live days pass. To go back to paper at any time, use --mode paper. After changing mode, run laabh stop and then laabh start so the change takes effect.

Pausing, stopping and removing it

LaabhAI executes the rules you configured in your own account; it is not investment advice; losses are possible.