-
Notifications
You must be signed in to change notification settings - Fork 1
overview getting started
khanhthanhdev edited this page Jun 1, 2026
·
1 revision
-
Rust — edition 2024, stable toolchain (see
rust-toolchain.toml). Minimum version 1.85. - Bun — used for frontend package management and scripts. Install from bun.sh.
- Node.js — required by Tauri's build system (v18+).
- System dependencies — Tauri requires platform-specific libraries. See Tauri prerequisites for your OS.
# Clone the repository
git clone https://github.com/khanhthanhdev/infi.git
cd infi
# Install frontend dependencies
cd frontend && bun install && cd ..# Run the Tauri desktop app (builds frontend + Rust backend)
cargo runThis launches the Vite dev server and Tauri window together. Frontend hot-reloads on changes.
cd frontend && bun run devcd frontend && bun run build
cargo build --releaseThe frontend build also produces a standalone viewer (dist-viewer/viewer.html) embedded into the Rust binary at compile time via include_str!.
Run these before committing. All must pass with zero warnings.
Frontend:
cd frontend && bun run check:ci # Biome lint + format
cd frontend && bun run build # TypeScript type-check + buildRust:
cargo fmt --check # Formatting
cargo clippy --all-targets --all-features -- -D warnings # Lint (warnings = errors)
cargo test # All tests pass| Variable | Purpose | Default |
|---|---|---|
INFI_DB_PATH |
Override SQLite database location | Platform app-data dir |
INFI_CONFIG_PATH |
Override config file location | Platform app-data dir |
CODEX_ACP_BIN |
Override path to the Codex agent binary | System PATH lookup |
INFI_CUSTOM_AGENT |
Register a custom agent command | None |
INFI_SRC_KEY_<PROVIDER> |
API key for a data source provider (e.g., INFI_SRC_KEY_FINNHUB) |
None |
Infi orchestrates external coding agents via the Agent Client Protocol. Out of the box it supports:
- Codex — OpenAI's coding agent
- Claude Code — Anthropic's coding agent
-
Custom agents — any ACP-compatible agent configured via
INFI_CUSTOM_AGENTor the Settings page
The agent binary must be installed separately. Infi discovers agents on the system PATH and lets the user pick one from the Settings page.
- Launch the app with
cargo run. - On the Research Page, enter a stock ticker (e.g.,
AAPL) and a research question. - Select an ACP agent from the dropdown.
- Click "Run analysis". The agent will fetch data, reason over it, and produce a structured report.
- Browse the report in the Analysis Page when the run completes.