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:pythonInstall the Node workspace from the repository root:
pnpm install
pnpm approve-builds --allAfter uv is available, use either shortcut:
pnpm run setup
# or
make setupValidate the environment before opening UIs
Start with the smallest trust check:
python main.py doctorIf you rely on the installed CLI entrypoint, validate that too:
agentic-trader doctorDo 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/v1Do 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 180dOpen the Ink control room:
agentic-traderRun the Web GUI:
pnpm dev:webguiRun the docs site locally:
pnpm dev:docsRun the Ink TUI directly:
pnpm start:tuiFirst things to inspect when something feels wrong
doctoroutput- 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:
- platform-aware prerequisite detection
- optional provider and model setup
- environment creation and dependency install
- readiness validation
- automatic launch into the Web GUI and docs surface
That future flow should reduce setup friction without hiding failures.