AgentQuant AI Agent

by OnePunchMonk• 218•• Scanned•Claim this listing•Request removal
Finance & Tradingagentic aiautonomous agentfinance aifintechharness engineering

A failure-aware harness for reproducible quantitative-strategy research, with typed agent workflows and inspectable experiment memory.

AgentQuant is an open-source ai agent by OnePunchMonk, written mainly in Python, with 218 GitHub stars and the MIT license. Its code was last updated Oct 28, 2026.

AgentQuant

A reproducible, failure-aware harness for research agents. AgentQuant lets an agent propose experiments, test them under a fixed budget, inspect failures, and compare changes to its own research policy. Quantitative strategies are the first testbed.

The goal is to answer a specific question: does evidence from earlier experiments help the agent choose better next experiments on unseen episodes, at the same cost? A changed prompt or a higher in-sample score alone is not self-improvement.

Try it locally

python -m venv .venv
source .venv/bin/activate
python -m pip install -e ".[dev]"
python run_app.py

This zero-key demo uses deterministic synthetic prices and a grid/random fallback. It checks that the loop runs and produces a report in results/; it does not measure trading performance. For the optional dashboard, install .[ui] and run python run_app.py --app. LLM-guided proposals and web research require .[llm] and provider credentials.

How it works

Research harness architecture

Edit the diagram in Excalidraw.

  • Search: a bounded loop proposes strategy candidates, applies one backtest evaluator with costs, and records failed as well as successful attempts.
  • Memory: SQLite stores trials and retrieves evidence available by the market-time cutoff. A temporal evidence graph is an experimental, rebuildable projection for relationship-based discovery.
  • Policy improvement: an outer loop can propose changes to the research process. A candidate must clear protected and statistical evaluation before promotion. The standalone search-aware gate is a foundation; validated Sharpe inference and full application integration remain open work.
  • Replay: manifests, episode bundles, traces, and research memos make decisions inspectable. See the architecture and implementation handoff for current wiring and remaining work.

The assistant tool contract explains how idea, hypothesis, and memory sidecars expose bounded, auditable calls.

Reproduce development comparisons

python scripts/fair_search_benchmark.py --episodes 3 --seeds 7 11 19 \
  --output results/fair_search_benchmark.json
python scripts/bounded_self_improvement.py --episodes 6 --seeds 7 11 19 \
  --n-mutations 3 --output results/bounded_self_improvement.json
python scripts/export_research_memo.py --episodes 6 --seeds 7 11 19 \
  --n-mutations 3 --output results/research_memo

These default to synthetic fixtures. In offline fallback mode, prompt mutation does not reach an LLM; identical mutation-arm results cannot support an evidence-guided improvement claim. The live comparison in #31, statistical work in #48, and prospective evaluation are still required.

Evidence tierWhat it establishes
Synthetic fixtureWiring, replay, and leakage tests; no strategy-quality claim
Historical held-outA result on specified past windows, with search and evaluation separated
ProspectivePrecommitted decisions graded after future observations arrive; planned

Explore the project

Backtests are research measurements, not predictions of future returns. The repository does not claim a profitable strategy or validated autonomous self-improvement. License: MIT.

AgentQuant alternatives

View more →

Similar ai agents in Finance & Trading, ranked by GitHub stars. Compare licence, recent activity and scan status before you choose.

NameStarsLicenceLast updatedScan
AgentQuant (this page)
OnePunchMonk
218MITOct 28, 2026Scanned, no flagged issues
Daily Stock Analysis
ZhuLinsen
67kMITOct 31, 2026Scanned, no flagged issues
Vibe Trading
HKUDS
37kMITOct 30, 2026Scanned, no flagged issues
FinceptTerminal
Fincept-Corporation
33kNone foundOct 26, 2026Not scanned yet
A Stock Data
simonlin1212
11kApache-2.0Oct 30, 2026Scanned, no flagged issues
Bindu
GetBindu
10kNone foundSep 6, 2026Not scanned yet