--- title: Dexter emoji: 🐨 colorFrom: red colorTo: blue sdk: docker app_port: 7860 pinned: false short_description: Dexter research + hedge-fund + OpenBB, one app --- # Dexter — finance research workspace A single web app with three boards (switch via the left rail): - **Dexter** — streaming chat/console with an autonomous financial research agent (openbb-ai `/v1/query` contract; reasoning steps + citations stream live). - **Hedge Fund** — the ai-hedge-fund LangGraph "flow" editor to compose and run analyst agents. - **OpenBB** — market-data query board (quotes, fundamentals, filings, insider trades) over free providers. One FastAPI server on port `7860` serves the SPA and reverse-proxies the OpenBB REST API (`/openbb/*`) and the Dexter agent server (`/dexter-api/*`) in-process. Dexter's browser research uses a headless Lightpanda CDP backend. Internally: Hedge Fund → Dexter (`:7778`) → OpenBB (`:6900`). No exposed shell/terminal. ### Configuration (Space secrets) - LLM via freellmapi (OpenAI-compatible): `OPENAI_API_KEY`, `OPENAI_API_BASE`, `HELMHOLTZ_API_KEY`, `HELMHOLTZ_BASE_URL` all point at the freellmapi endpoint; model is `auto`. - `SEC_EDGAR_CONTACT_EMAIL` for SEC filings; optional search keys (`EXASEARCH_API_KEY`, …). - `GIT_BACKUP_TOKEN` — fine-grained GitHub PAT scoped to the state repo (`STATE_REPO`) to persist dexter memory + hedge-fund flows across restarts. Without it the Space is stateless.