Understand the markets.Explore AI agents.
Deep Copy is my AI project for financial markets. Read a public market report, then explore the engineering choices behind it.
Market Scanner.
The market, in one report.
Explore major indices, volatility and the economic context. Read the latest published report below, freely available without an account.
Loading the latest report…
Momentum.
Company analysis in your assistant.
Momentum explores a company in depth and explains the arguments behind its recommendation. MCP lets your assistant access published reports and use them in your conversations.
What your assistant can read
- Find a stock analysis
- Read an available report and the arguments behind its recommendation.
- Read recommendations
- Reuse published results in your assistant or workflow.
- Add market context
- Read the latest Market Scanner report through the same endpoint.
Connect your assistant
Access is public, with no API key. Add this address to the MCP connections in your compatible assistant.
https://mcp.deepcopy.frSome available tools
list_analysesget_analysisget_recommendationslatest_market_scan
Ticker suggestions are moderated and do not automatically start an analysis.
Explore all toolsThe technologies behind the ecosystem
- Interactive Brokers
- Anthropic
- OpenAI
- Scaleway
- Amazon
- Python
- Next.js
- Docker
- PostgreSQL
- Redis
- Google ADK

The technology
behind Deep Copy.
The building blocks of the ecosystem, from the interface to agents, storage and deployment.
- Application
Next.js · React · TypeScript · Tailwind CSS
The public site and its reading experience.
- Agents & data
Python · Google ADK · FastAPI · Pydantic · SQLAlchemy
Collect, calculate, analyse and validate before publication.
- Storage & inference
PostgreSQL · LiteLLM · Redis / Valkey
Persisted reports and a model gateway, with optional shared Redis state.
- Delivery
uv · Docker · Cloud Run · Terraform · Secret Manager
Locked dependencies, container images and infrastructure as code.
Experimental trading.
Explore the path to execution.
Private experiment
This part of Deep Copy explores how agents can analyse a portfolio and prepare trades on Interactive Brokers. Paper trading trials use a simulation account with virtual funds.
Access to this workflow is private. Scanner and Momentum can be used independently, without connecting a brokerage account.
Questions this experiment explores
- Understand portfolio state
- A held position and a pending order describe different states. The workflow must account for both before proposing another trade.
- Set decision boundaries
- The investor profile, permitted assets and allocation limits set boundaries for agent proposals.
- Track what actually happened
- A proposal, an order submitted to the broker and a confirmed execution are separate steps that need to be tracked individually.
Engineering.
The choices behind Deep Copy.
Market Scanner is the example: why separate the stages, where to enforce checks and which tradeoffs to accept. Each choice links to the project code.
Explore the code on GitHubWhy separate report generation from reading?One analysis can serve many readers without repeating agent calls.
- The choice
- The workflow collects data, calls the agents and saves the report in PostgreSQL. A separate read API then serves that result to the site. Opening the page does not trigger another scan.
- The benefit
- The generation cost is shared across readers. Reading does not wait for the agents, and the latest saved report remains available if a new analysis fails.
- The tradeoff
- An available report can be old, so its date must remain visible. The producer and reader also share a report format that must stay compatible.
Why keep calculations in Python?Reproducible calculations, followed by an interpretation from the agents.
- The choice
- Python calculates changes and percentiles from dated observations. The agents use this snapshot to research the context and propose a diagnosis. During assembly, figures come from the calculated data.
- The benefit
- Calculations can be tested with known inputs. Their accuracy can be checked separately from the quality of the explanations produced by the model.
- The tradeoff
- The code still depends on data quality and freshness. The market regime proposed by the agents remains a qualitative interpretation.
Why add a critical review?A convincing explanation can still contain contradictions.
- The choice
- After research, a critic agent reviews dates, contradictions and causal explanations. The synthesiser weighs these objections against the available evidence before writing the report and explaining its diagnosis.
- The benefit
- The workflow includes a step to challenge the analysis and make its limits explicit. A critique that does not match the expected format stops the scan before synthesis and persistence.
- The tradeoff
- This step adds a model call. The critic uses the same model and no external tools, so its review is not an independent fact check.
Why run scans as background jobs?Accepting a request and completing an analysis are different states.
- The choice
- The scheduled trigger submits a Cloud Run Job that runs the workflow. The job requires a persisted report before it considers the run successful.
- The benefit
- The analysis runs without keeping an HTTP request open throughout. An accepted launch is not enough to announce that a new report is available.
- The tradeoff
- The agent session stays in memory during the job. Saving the final report does not allow the graph to resume automatically from an interrupted step.
Data
Data collection and Python calculations
Analysis
Research, review and synthesis
Persistence
Validation and PostgreSQL storage
Reading
Read API, then display on the site
What the tests check.
Tests cover calculations, report formatting and API responses. These checks verify software behaviour. They do not measure its ability to predict markets.
Explore the API testsKeep in mind
- Deep Copy is not a broker.
- Deep Copy does not hold your funds.
- Investing involves the risk of losing capital.
- Past or simulated performance does not predict future results.
A first look at the market.
Read the Market Scanner report for free. Explore the engineering choices behind the project to understand how it is produced.