← Open Source

AI deep-research agent that turns any question into a cited report: plans searches, reads real sources, verifies evidence. Self-hosted, multi-provider, Docker-ready.

ApplicationsResearch & knowledgeTypeScript
Momentum
+0stars in 24 hours0.0%
2.23k
Stars
313
Forks
+1
This week
18
Contributors
Created 2025-02-10 · Updated 2026-12-05 · #10549 today
Top developers
README

DeepFolio

DeepFolio (formerly Deep Research Web UI) — Open-source Deep Research Workbench. Ask a question, steer the investigation as evidence comes in, and get a cited report you can inspect and revise.

English · 中文

Live demo: https://deep-research.ataw.top · Deploy your own


Sponsors

MangoProxy provides Residential, ISP, Mobile, and Datacenter proxies in 200+ locations for web scraping, automation, SEO, and multi-account management. Promo code: GITHUBISP - 8% off Static ISP proxies.


What's new in V2

  • An autonomous agent that adapts its depth. A straightforward lookup starts with one focused query and wraps up when the evidence is sufficient. A complex question can branch into parallel searches, then read key pages in full if the provider supports it. The agent can pause for clarification (ask_user), check relevance, apply supported time and source filters, and rewrite an unproductive query once per search task within a shared budget. Saved excerpts are matched word for word against retrieved text and labeled as search snippets or full-page excerpts. Replies and reports can follow the question’s language even when the interface is set to another language. The interface language is the fallback when detection is inconclusive; search language is configured separately.
  • Queued steering and versioned reports. Add, edit, or remove instructions while research runs. Let the agent pick them up at its next planning checkpoint, or interrupt the current step to apply them sooner while keeping verified evidence. In the same thread, ask for more evidence or have the agent revise specific report blocks. A successful revision from v1 to v2 highlights the changed blocks, and you can switch back to earlier versions after the run. Download Markdown or save a PDF through the browser’s print dialog.
  • Generative UI in chat and reports. Powered by Vercel’s json-render (@json-render/core and @json-render/vue), chat and reports render KPI cards, sortable comparison tables, pure-SVG bar, line, and stacked bar charts for part-to-whole comparisons, timelines, pros-and-cons cards, and entity profiles as the response streams in. Click a [n] badge to open the evidence drawer. Markdown export automatically preserves chart data and comparison values in GitHub Flavored Markdown (GFM) tables, with other cards converted to readable Markdown and citations carried over.
  • A live research graph and an editorial workspace. Follow searches, page reads, and findings in the node graph, then select a node to see its details in the inspector. Switch between a warm paper light theme and a charcoal dark theme; use the interface in English, 中文, 한국어, or Nederlands. Both modes store threads locally in IndexedDB v2, support JSON backup and import, and automatically migrate available V1 history. Migrated findings with no saved excerpt are labeled accordingly.
  • Two deployment modes, one research workflow. Client Mode runs from a static site and keeps API configuration in the browser, which calls the providers directly. In Server Mode the browser still owns the thread and coordinates research; each request to the stateless Nuxt/Nitro server streams a single model turn or tool invocation over SSE. The server loads credentials from environment variables, checks source URLs for server-side request forgery (SSRF), enforces a process-wide concurrency limit with HTTP 429, and supports optional password protection.
  • Native tools first, JSON when needed. Auto mode streams native tool calls on supported models and uses prompt-based JSON on models known not to support them. If a provider rejects native tools before any reply or tool call is emitted, the agent can retry in JSON mode automatically.

Research in a thread

  1. Ask a question, such as “Compare the latest eligibility rules and costs for these two programs.” If the scope is unclear, answer the agent’s clarification in the thread.
  2. Watch the plan and research graph as they update. Use Queued Steering to narrow the scope or prioritize a source while the current research runs.
  3. Open a citation in the chat or report to see the source, retrieval time, and matching excerpt. Read the excerpt in context when deciding how much it supports a finding.
  4. Ask a follow-up or request a specific edit, such as “Verify the latest fees and update just the cost comparison.” Compare versions in the report pane. If the new run is stopped or fails, the last saved report remains available.

Deploy

Use Client Mode for static hosting and personal API keys. Use Server Mode when you can run Nuxt/Nitro and want to supply credentials centrally. Both modes keep conversation history in each visitor’s browser.

One-click deployment

EdgeOne Pages hosts the static Client Mode build:

Railway runs anotia/deepfolio:latest as a single stateless service with an HTTPS domain and health check. It starts in Client Mode. To enable Server Mode, set the environment variables on the service.

Server Mode with Docker

Replace the example keys and model with values from your providers:

docker run -p 3000:3000 \
  -e NUXT_PUBLIC_SERVER_MODE=true \
  -e NUXT_AI_API_KEY=your-ai-api-key \
  -e NUXT_WEB_SEARCH_API_KEY=your-search-api-key \
  -e NUXT_PUBLIC_AI_PROVIDER=openai-compatible \
  -e NUXT_PUBLIC_AI_MODEL=gpt-6-luna \
  -e NUXT_PUBLIC_WEB_SEARCH_PROVIDER=tavily \
  anotia/deepfolio:latest

Or copy the configuration template, set NUXT_PUBLIC_SERVER_MODE=true, and fill in your provider settings:

cp .env.example .env
# Edit .env before starting the container.
docker run -p 3000:3000 --env-file .env anotia/deepfolio:latest

Open http://localhost:3000. Set NUXT_ACCESS_PASSWORD for a publicly reachable Server Mode deployment so only visitors with the password can use your provider keys.

Client Mode with Docker or static hosting

Start the published image, open http://localhost:3000, and enter your provider settings in the app:

docker run -p 3000:3000 --name deepfolio -d anotia/deepfolio:latest

To build the image from source:

git clone https://github.com/AnotiaWang/deepfolio
cd deepfolio
docker build -t deepfolio .
docker run -p 3000:3000 --name deepfolio -d deepfolio

For a backend-free deployment, run pnpm generate and publish .output/public. Provider endpoints must support direct browser requests. Server Mode requires a live Nuxt/Nitro runtime and cannot run on static hosting.

Providers

Type Supported providers
AI OpenAI-compatible endpoints (openai-compatible), including ApiSmart via a custom API base; SiliconFlow (siliconflow), 302.AI (302-ai), DeepSeek (deepseek), OpenRouter (openrouter), Requesty (requesty), Ollama (ollama), and LiteLLM (litellm).
Web search Tavily (tavily, 1,000 free credits/month), Firecrawl (firecrawl, cloud or self-hosted), fastCRW (crw, cloud or self-hosted), Google PSE (google-pse), You.com (youcom, optional key), Serply (serply), Parallel (parallel, free and keyless, Server Mode only), Keenable (keenable, keyless or keyed), and Exa (exa, Server Mode only).

Provider setup and limits

  • NUXT_WEB_SEARCH_API_KEY accepts comma-separated keys for rotation with Tavily, Google PSE, You.com, Serply, Keenable, and Exa, for example key1,key2,key3.
  • Google PSE requires both NUXT_WEB_SEARCH_API_KEY and NUXT_PUBLIC_GOOGLE_PSE_ID.
  • To use a self-hosted Firecrawl instance, set NUXT_WEB_SEARCH_API_BASE.
  • fastCRW (crw) is a Firecrawl-compatible scraper distributed as a single binary. Its cloud endpoint defaults to https://fastcrw.com/api. Put the fastCRW key (CRW_API_KEY) in NUXT_WEB_SEARCH_API_KEY; set NUXT_WEB_SEARCH_API_BASE for a self-hosted instance.
  • You.com (youcom) reads its key from NUXT_WEB_SEARCH_API_KEY (optional, comma-separated keys supported for rotation). Without a key it uses the keyless endpoint with a limited daily quota; get a key at https://you.com/platform/api-keys.
  • Serply (serply) returns Google web and news results through the Serply API and reads its key from NUXT_WEB_SEARCH_API_KEY (comma-separated keys supported for rotation). Time range, news intent, language and domain filters are applied natively; explicit publication-date windows are not.
  • Keenable (keenable) reads its key from NUXT_WEB_SEARCH_API_KEY (optional, comma-separated keys supported for rotation). Without a key it uses the public endpoints, which allow 1,000 requests per hour and 10 per second per IP (rate limits); a key from https://docs.keenable.ai/api-keys removes the hourly cap. Searches send the query, and page reading sends the source URL; keyless requests are logged with the query or URL, IP address and user agent (details). Time range, explicit dates and a single domain are applied natively; news intent, several domains and language are reported as limitations. It works in Client Mode and Server Mode, and can stand in for Google PSE, whose Custom Search JSON API Google is closing to existing customers on January 1, 2027 (overview).
  • Exa (exa) is available only in Server Mode because the official API does not return CORS headers on POST responses from public origins. Set NUXT_WEB_SEARCH_API_KEY to an API key or a comma-separated list of keys for rotation. At the fixed endpoint https://api.exa.ai, /search returns highlights and /contents retrieves compact page text on demand. News, publication dates and multiple domains are supported; language filtering is reported as unsupported.
  • Ollama uses http://localhost:11434/v1 as the default API base. When running the app inside Docker, localhost refers to the container itself, so set NUXT_AI_API_BASE to a reachable host or Docker network address if Ollama runs outside the container.
  • If Ollama truncates input with a small context window (such as 4K), increase OLLAMA_CONTEXT_LENGTH on the Ollama server or set PARAMETER num_ctx in the model's Modelfile. Set DeepFolio's Context Length to fit the resulting window.
  • LiteLLM uses http://localhost:4000/v1 as the default API base. Its API key is optional when the proxy does not require authentication; set NUXT_AI_API_BASE when the proxy is not reachable at the default local address.
  • Requesty uses https://router.requesty.ai/v1 as the default API base and expects model IDs in provider/model format, such as openai/gpt-6-luna.

AI API protocol

Select API protocol in Client Mode settings or set NUXT_PUBLIC_AI_PROTOCOL in Server Mode. The setting accepts:

  • auto (default): Uses Responses for recognized GPT-5, GPT-6, o3-pro, and Codex model IDs on the official OpenAI endpoint with openai-compatible. Other configurations use the provider's existing chat integration. Client Mode displays the selected protocol.
  • chat-completions: Keeps the provider's existing chat integration.
  • responses: Uses the Responses API at /responses. In DeepFolio, this option is available for openai-compatible, litellm, 302-ai, requesty, and openrouter. The selected endpoint and model must support Responses. SiliconFlow, DeepSeek, and Ollama keep their existing integrations.

If a browser blocks requests to the official OpenAI Responses API (CORS), use Server Mode or a gateway that explicitly allows browser requests.

In Client Mode, DeepFolio filters SiliconFlow's /models list to chat models and asks 302.AI for LLMs, including custom models. Model IDs can also be entered manually. For OpenRouter, the settings show the selected model's reported context window, output limit, and reasoning support when available.

Model reasoning and sampling

gpt-6-luna is the default for a fresh Client Mode configuration and for Server Mode when the model is unset. Existing model selections and explicit server settings take precedence. For a different provider, use its model ID.

Reasoning effort is optional in Client Mode settings and in the server environment. The app sends an explicit effort only when it offers that choice for the selected provider and model. For gateway aliases, the available choices describe the gateway API. The deployed route and model determine which values take effect.

Temperature is optional. Leave the Temperature field empty in Client Mode, or leave NUXT_PUBLIC_AI_TEMPERATURE unset or empty in Server Mode, to omit temperature and use the provider's default. To keep the previous SDK default, explicitly enter 0 for models that support it. The provider and model determine which explicit values take effect. The app leaves top_p to the provider.

The Responses API uses reasoning.effort and max_output_tokens where supported. The provider-specific request fields below describe the existing chat integrations.

On the native DeepSeek API, deepseek-flash serves DeepSeek V4.1 Flash. Both Flash and V4 Pro ignore temperature in thinking mode. Flash applies top_p only in thinking mode, and V4 Pro applies it only with thinking disabled. DeepSeek models · DeepSeek thinking mode

AI provider Reasoning effort and output limits
OpenAI compatible Uses reasoning_effort and sends max_completion_tokens for recognized GPT-6 models. Luna supports none, low, medium, high, xhigh, and max. GPT-6 Astra, GPT-6.2 Astra, GPT-6.1 Sol, and GPT-6.2 Sol require reasoning. Custom endpoints and aliases depend on their own API support. OpenAI model guide
OpenRouter Uses reasoning.effort for capable models and max_tokens for the output limit. Available effort levels depend on the model and route. OpenRouter reasoning
Requesty Uses reasoning_effort and the SDK's output-limit format. Requesty forwards supported levels, including max for openai/gpt-6-luna, and may map other values to the closest level as it routes the request. Requesty reasoning
302.AI Offers low and medium for gpt-6-luna, and low, medium, and high for o3, o3-mini, and o4-mini. The gateway's Chat Completions documentation lists max_tokens. Luna · Chat reference · o4 example
DeepSeek DeepSeek Flash and V4 Pro use thinking and reasoning_effort with low, high, or max. The none setting disables thinking via the thinking field. DeepSeek thinking mode
SiliconFlow Offers high and max for Pro/deepseek-ai/DeepSeek-V4, deepseek-ai/DeepSeek-V4-Flash, and Pro/zai-org/GLM-5.2. Its max_tokens limit counts visible output. SiliconFlow Chat reference
Ollama Uses reasoning_effort and max_tokens on compatible /v1 versions. GPT-OSS offers low, medium, and high. Other models may interpret levels as an on/off toggle or use their own defaults. Ollama compatibility
LiteLLM Uses reasoning_effort and sends max_completion_tokens for recognized GPT-6 models. LiteLLM documents Luna support from v1.101.0. Custom aliases depend on the gateway deployment and upstream model. LiteLLM GPT-6 support

Parallel Search MCP (Server Mode only)

Set these variables in your server deployment:

NUXT_PUBLIC_SERVER_MODE=true
NUXT_PUBLIC_WEB_SEARCH_PROVIDER=parallel

Keep your AI provider configured as usual. Parallel search needs no Parallel account or API key and does not use NUXT_WEB_SEARCH_API_KEY or NUXT_WEB_SEARCH_API_BASE. Tavily remains the default when no search provider is selected.

This provider uses the free, rate-limited Parallel Search MCP at https://search.parallel.ai/mcp. Searches send queries and objectives to Parallel; on-demand page reading sends source URLs. Related calls share a random research session ID. Requests include deepfolio/<app version> as their User-Agent so Parallel can measure aggregate project usage. See Parallel's Customer Terms and Privacy Policy.

Public Server Mode deployments share one outbound IP, so users share the anonymous free-tier rate limits. Reduce concurrency if requests are rate-limited.

Search excerpts retain their URLs, titles and publication dates. The app can also request full source pages when excerpts are insufficient. News, time, domain and language filters are unsupported and appear through the app's existing limitation notices. The result count is capped locally. Service errors are surfaced without switching providers.

Parallel is available only in Server Mode, including follow-ups. Static deployments and the Client Mode provider picker do not support it because browsers cannot reliably send the project User-Agent. Server requests honor the outbound proxy settings.

Environment variables

Use .env.example as a starting point. The tables show runtime defaults when variables are unset; the template contains sample keys, an OpenAI API base, and a sample Google PSE ID. Replace or clear those values for your deployment.

Runtime and timeouts

Variable Purpose Default
NUXT_PUBLIC_SERVER_MODE Run model turns and tools on the server. false
NUXT_ACCESS_PASSWORD Optional password for the protected Server Mode API routes. Unset
NUXT_AGENT_MAX_CONCURRENT_REQUESTS Total active agent turn and tool requests per server process. Excess requests receive HTTP 429 before SSE starts. 8
NUXT_PUBLIC_AGENT_TURN_TIMEOUT_MS Agent turn timeout in milliseconds, used in both modes. 120000
NUXT_PUBLIC_AGENT_TOOL_TIMEOUT_MS Agent tool request timeout in milliseconds, used in both modes. 300000

AI provider (Server Mode)

Variable Purpose Default
NUXT_PUBLIC_AI_PROVIDER AI provider ID. openai-compatible
NUXT_PUBLIC_AI_PROTOCOL AI API protocol: auto, chat-completions, or responses. auto
NUXT_PUBLIC_AI_MODEL Model ID for the selected provider. gpt-6-luna
NUXT_PUBLIC_AI_REASONING_EFFORT Optional reasoning effort for supported models. Provider default
NUXT_PUBLIC_AI_TEMPERATURE Optional non-negative, finite sampling temperature. 0 is valid. Provider default
NUXT_PUBLIC_AI_CONTEXT_SIZE Model context size in tokens. 256000
NUXT_PUBLIC_AI_MAX_OUTPUT_TOKENS Optional output token limit per call. The provider decides whether this includes reasoning tokens. Provider default
NUXT_AI_API_KEY Private AI provider API key. Unset
NUXT_AI_API_BASE Private override for the AI provider’s API base URL. Provider default

Web search provider (Server Mode)

Variable Purpose Default
NUXT_PUBLIC_WEB_SEARCH_PROVIDER Search provider ID. tavily
NUXT_PUBLIC_WEB_SEARCH_CONCURRENCY_LIMIT Maximum concurrent search and source-read calls to the provider. A value between 1 and 5 is recommended. 2
NUXT_PUBLIC_WEB_SEARCH_SEARCH_LANGUAGE Optional search language: en, zh, nl, ko, or ja. The agent chooses relevant query languages when unset. Unset
NUXT_PUBLIC_TAVILY_ADVANCED_SEARCH Enable Tavily’s advanced search. false
NUXT_PUBLIC_TAVILY_SEARCH_TOPIC Tavily topic: general, news, or finance. general
NUXT_PUBLIC_GOOGLE_PSE_ID Programmable Search Engine ID, required for Google PSE. Unset
NUXT_WEB_SEARCH_API_KEY Private search API key. Optional or unused for keyless providers as described above. Unset
NUXT_WEB_SEARCH_API_BASE Private API base override for self-hosted Firecrawl or fastCRW. Provider default

Proxy settings (Server Mode)

Variable Purpose Default
NUXT_PROXY_URL Optional outbound HTTP or SOCKS proxy URL. Unset
NUXT_NO_PROXY Comma-separated hosts or domains to bypass when a proxy is configured. localhost,127.0.0.1,::1

API access

  • Agent API routes return 401 unless NUXT_PUBLIC_SERVER_MODE=true, even when an AI key is configured. The access-status probe and static Nuxt icon sets are public.
  • When a password is configured, visitors must enter it before running research. The server also rejects requests marked as cross-origin by Sec-Fetch-Site or Origin, even with the correct password. If your reverse proxy rewrites Host, forward the original host as X-Forwarded-Host.
  • The server sanitizes streamed errors before returning them to the browser. AI provider API errors are reduced to a generic message or HTTP status instead of exposing the provider’s response body.

Outbound proxy (Server Mode only)

Set NUXT_PROXY_URL to route server-side requests through a proxy:

NUXT_PROXY_URL=socks5h://user:pass@gate.example.com:7777
NUXT_NO_PROXY=localhost,127.0.0.1,::1
  • Supported schemes: http, https, socks5, socks5h, socks.
  • http(s) proxies cover everything: AI providers, Google PSE, You.com, Serply, Parallel, Keenable, Exa, Tavily, Firecrawl, and CRW.
  • socks* proxies cover AI providers, Google PSE, You.com, Serply, Parallel, Keenable, and Exa. Tavily, Firecrawl, and CRW use Axios and connect directly with a SOCKS proxy configured. Use the http:// endpoint of the same proxy (same credentials on most providers) for full coverage.
  • NUXT_NO_PROXY accepts *, exact hosts, and parent domains (example.com also matches api.example.com). The default covers loopback addresses; add other local gateways or self-hosted scrapers to bypass the proxy for those hosts.
  • Standard HTTP_PROXY / HTTPS_PROXY / NO_PROXY env vars are honored as fallback when NUXT_PROXY_URL is unset.
  • Proxy credentials are redacted in logs.
  • Client Mode does not use this setting. Configure a system or browser proxy for traffic originating in the browser.
  • URL-encode special characters in credentials (% as %25, @ as %40, : as %3A).
  • An invalid NUXT_PROXY_URL fails server startup (fail-fast) instead of silently going direct.

Proxy example: Helodata

If your server needs geo-targeted or rotating egress IPs, run the deployment behind a standard HTTP/SOCKS5 proxy. Example with Helodata:

# HTTP covers all providers.
NUXT_PROXY_URL="http://YOUR_HELODATA_USERNAME:YOUR_HELODATA_PASSWORD@gate.helodata.io:7777"
# For SOCKS5 instead, replace http:// above with socks5h://.
docker run -p 3000:3000 \
  -e NUXT_PUBLIC_SERVER_MODE=true \
  -e NUXT_AI_API_KEY=your-ai-api-key \
  -e NUXT_WEB_SEARCH_API_KEY=your-search-api-key \
  -e NUXT_PROXY_URL="$NUXT_PROXY_URL" \
  anotia/deepfolio:latest

Get credentials from your Helodata dashboard. See Helodata docs for region / city / sticky-session username format. For proxy behavior details, see Outbound proxy (Server Mode only).

Local development

The workspace is built with Nuxt 4, Vue 3, Nuxt UI, and TypeScript. Use pnpm 9 and a Node.js version supported by package.json: ^22.23.4, ^24.22.1, or >=26.12.1.

pnpm install
pnpm dev

Open http://localhost:3000. For local Server Mode, copy .env.example to .env and configure it before starting pnpm dev.

# Build for a Nuxt/Nitro server:
pnpm build
# Or generate for static hosting:
pnpm generate
# Preview the last production build locally:
pnpm preview

See the Nuxt deployment guide for hosting options.

License

MIT

Star History

If DeepFolio is useful to you, give it a star on GitHub.

Acknowledgements

The project is also hosted on AtomGit, which is more accessible from mainland China. Thanks to AtomGit for the hosting.

Nearby in the ranking
Similar items

AI Rank for iPhone

Follow AI model rankings

Download on the App Store