Agentic Trader Docs

Getting Started

Install the repo, validate local readiness, and bring up the main operator surfaces.

Baseline toolchain

The repository currently assumes a Python plus Node workflow. The Python runtime still owns the actual trading logic, while webgui/, docs/, and tui/ are managed from the root pnpm workspace.

Recommended baseline:

  • Python 3.13.x through uv-managed .venv
  • uv for Python dependency management
  • Node 20+ and pnpm
  • Optional: tmux, asciinema, and browser tooling for QA
  • Optional: Ollama if you are using the default local model path

Install the Python runtime

uv python install 3.13
pnpm run install:python

Install the Node workspace from the repository root:

pnpm install
pnpm approve-builds --all

After uv is available, use either shortcut:

pnpm run setup
# or
make setup

Validate the environment before opening UIs

Start with the smallest trust check:

python main.py doctor

If you rely on the installed CLI entrypoint, validate that too:

agentic-trader doctor

Do this before debugging the Web GUI or Ink TUI. If doctor is already wrong, the UI is usually reflecting a real lower-layer problem.

Configure environment files

The project follows an example-plus-local-override pattern.

  • Root runtime settings should live in .env.local.
  • Keep tracked examples in .env.example.
  • The GitHub Pages docs build does not need docs/.env.local.

Docs feedback on Pages prepares a browser-local GitHub issue draft. If a future Node-hosted docs instance re-enables server-side forwarding, keep its credentials in docs/.env.local and never in tracked config.

Local model setup

The repo is still Ollama-oriented by default, but the direction is becoming more provider-aware. Typical local model settings look like this:

export AGENTIC_TRADER_MODEL_NAME=qwen3:8b
export AGENTIC_TRADER_BASE_URL=http://localhost:11434/v1

Do not treat raw Ollama traffic as proof that the system is healthy. Model reachability, runtime readiness, and recent logs should agree.

Bring up the main surfaces

Run one strict cycle:

python main.py run --symbol AAPL --interval 1d --lookback 180d

Open the Ink control room:

agentic-trader

Run the Web GUI:

pnpm dev:webgui

Run the docs site locally:

pnpm dev:docs

Run the Ink TUI directly:

pnpm start:tui

First things to inspect when something feels wrong

  • doctor output
  • runtime status in the CLI or observer surface
  • recent runtime logs
  • model service readiness
  • environment file differences between the repo root and nested apps

Near-term onboarding direction

The intended V1 hardening path is:

  1. platform-aware prerequisite detection
  2. optional provider and model setup
  3. environment creation and dependency install
  4. readiness validation
  5. automatic launch into the Web GUI and docs surface

That future flow should reduce setup friction without hiding failures.

How was this page?
This GitHub Pages build prepares a browser-local feedback draft and a prefilled GitHub issue. Node-hosted local docs can still wire feedback into runtime logs later.

Stores a draft in this browser and gives you a GitHub issue link to submit when ready.

On this page