FinSight-AI

by juanjuandogVerified

AI equity research agent with resilient workflows, evidence-grounded RAG, versioned reports, and automated quality evaluation.

1,028
Stars
60
Forks
Java
Language
8/23/2026
Added
View on GitHubDownload ZIP

⚠️ Third-Party Software Notice

This skill is third-party open-source software developed and hosted independently on GitHub. SkillTip is an informational directory and does not control or maintain the underlying repository. Any security checks displayed are automated and limited in scope. Review the source code before installing.

Read the Terms of Service

Installation

Add to your Claude Code skills directory:

# Add to your Claude Code skills
git clone https://github.com/juanjuandog/FinSight-AI

Getting Started

Guides for using skills like FinSight-AI.

Security Report

Verified

Last scanned: —

{
  "status": "PASSED",
  "issues": []
}

README.md

FinSight AI logo

FinSight AI

Evidence-grounded equity research with recoverable workflows, snapshot-bound reports, and hybrid RAG.

Turn market data, financial metrics, filings, and company events into structured AI research that can be inspected and reproduced.

CI status Java 17 Spring Boot 3.3.5 PostgreSQL and pgvector MIT License

简体中文 · Architecture · API · Quick Start

FinSight AI company research workspace

FinSight AI is an open-source A-share research workspace and a backend engineering reference for reliable AI agents. It does more than call a model: long-running research tasks are recoverable, duplicate executions are controlled, reports are bound to data snapshots, and generated conclusions retain an inspectable evidence path.

FinSight is a research aid, not an automated trading system. Its output is not investment advice.

A focused research workspace

The interface separates each research activity into a dedicated workspace instead of placing every diagnostic on one dashboard.

WorkspacePurpose
Company ResearchSearch an A-share company and inspect its quote, historical close-price curve, and key financial metrics
AI AnalysisGenerate a structured conclusion with confidence, supporting factors, and risk factors
EvidenceSearch filings, announcements, and structured metrics for verifiable source material
Recent EventsReview disclosures, metric changes, and risk signals on a company timeline
WatchlistKeep a concise list of companies for continued research

Why FinSight is different

Engineering problemFinSight approachImplementation
Long-running AI tasks fail halfwayRecoverable stages, explicit task states, retries, timeout takeover, and dead-letter handlingWorkflowOrchestrator
Identical requests amplify expensive workIdempotency keys plus a Redis Lua single-flight lease and fencing tokenRedisBackedWorkflowLeaseService
A cached report becomes stale when data changesdataSnapshotHash, contextHash, and reportVersion bind a report to its source stateStockAiAnalysisService
RAG answers are difficult to verifyFull-text and vector recall, reciprocal-rank fusion, reranking, evidence trace, and regression evaluationHybridRetrievalGateway
Model infrastructure changes independentlyEmbedding, reranking, and generation run behind a FastAPI sidecar with deterministic fallbacksai-service

From question to evidence

  1. A research request creates an idempotent task.
  2. RabbitMQ dispatches data ingestion, metric calculation, indexing, intelligence building, and report generation.
  3. Redis coordinates duplicate work while PostgreSQL/pgvector stores snapshots, vectors, evidence, and reports.
  4. Hybrid retrieval supplies reranked evidence to the AI sidecar.
  5. The final report preserves its version, snapshot hash, model source, and evidence trace.

FinSight AI evidence search workspace

Quick Start

Lightweight preview

Use this path to inspect the product and core flow with Java 17 and Maven. It runs with local in-memory adapters and does not require infrastructure services.

git clone https://github.com/juanjuandog/FinSight-AI.git
cd FinSight-AI/backend
mvn spring-boot:run

Open http://localhost:8080.

Full research stack

Use Docker Compose to run PostgreSQL/pgvector, Redis, RabbitMQ, the Spring Boot backend, and the FastAPI AI sidecar together.

git clone https://github.com/juanjuandog/FinSight-AI.git
cd FinSight-AI
docker compose up -d --build
./scripts/quick-demo.sh

The default demo requires no API key. Ollama is the default local provider, while the sidecar also has adapters for OpenAI-compatible APIs and Anthropic. If a selected model is unavailable or unconfigured, deterministic fallbacks keep the flow runnable. Allow roughly 8 GB of free memory for the complete Compose stack.

ModeBest forRuntime
LightweightUI review, code reading, and interview demosJava 17, Maven
Full stackWorkflow recovery, Redis coordination, pgvector retrieval, and AI sidecar integrationDocker Compose

For profiles, environment variables, service URLs, and recovery steps, see Troubleshooting.

Architecture

flowchart LR
    UI["Research Workspaces"] --> API["Spring Boot API"]
    API --> WF["Workflow Orchestrator"]
    WF --> MQ["RabbitMQ"]
    WF --> Lease["Redis Lease & Cache"]
    WF --> DB["PostgreSQL / pgvector"]

    API --> Retrieval["FTS + Vector + RRF"]
    Retrieval --> DB
    Retrieval --> Sidecar["FastAPI: Embed · Rerank · Generate"]
    Sidecar --> Providers["Provider adapters"]
    Providers -. default .-> Ollama["Ollama"]
    Providers -. optional .-> OpenAI["OpenAI-compatible"]
    Providers -. optional .-> Anthropic["Anthropic"]
    Sidecar --> Report["Snapshot-bound Report"]
    Report --> DB
    API --> Eval["RAG Evaluation"]
    Eval --> Retrieval

The Spring Boot service owns domain state and orchestration. The Python sidecar owns model-facing operations. This boundary keeps workflow recovery and report consistency independent from the chosen model runtime.

Read the architecture notes for the complete request, state, and data flows.

Technology

LayerStack
Core APIJava 17, Spring Boot 3.3.5, JDBC, Flyway
WorkflowRabbitMQ, task state machine, retry and dead-letter recovery
CoordinationRedis, Lua leases, fencing tokens, snapshot-aware cache
RetrievalPostgreSQL JSONB, full-text search, pgvector, RRF, reranking
AI runtimeFastAPI, sentence embeddings, cross-encoder reranking, Ollama/OpenAI-compatible/Anthropic adapters
Product UIResponsive HTML, CSS, and JavaScript served by Spring Boot
OperationsDocker Compose, Actuator, Prometheus, GitHub Actions

Repository map

backend/        Spring Boot API, workflow, retrieval, metrics, and static UI
ai-service/     FastAPI embedding, reranking, and generation sidecar
scripts/        Demo, verification, benchmark, and screenshot workflows
docs/           Architecture, API, benchmark, product, and interview notes
docker-compose.yml

Validation

CI protects the main branch with:

  • Maven unit and integration tests, including Testcontainers-backed infrastructure tests;
  • shell-script syntax checks;
  • Python service and benchmark-script syntax checks.

Run the backend suite locally:

cd backend
mvn test

Documentation

Scope

FinSight currently targets A-share research and local, production-like demonstrations, with email accounts, server-side sessions, and private watchlists. Team workspaces, regulated research workflows, trade execution, portfolio advice, and multi-market coverage remain outside the current scope.

Contributors

Thanks to everyone who has contributed to FinSight AI.

FinSight AI contributors

License

Released under the MIT License.

Frequently Asked Questions

What is FinSight-AI?

FinSight-AI is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by juanjuandog. AI equity research agent with resilient workflows, evidence-grounded RAG, versioned reports, and automated quality evaluation. It has 1,028 GitHub stars.

Is FinSight-AI safe to use?

Yes. FinSight-AI passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install FinSight-AI?

Clone the repository with "git clone https://github.com/juanjuandog/FinSight-AI" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is FinSight-AI written in?

FinSight-AI is primarily written in Java. It is open-source under juanjuandog on GitHub, so you can review or fork the full source.

Are there alternatives to FinSight-AI?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh FinSight-AI against similar tools.

Comments (0)

No comments yet. Be the first to share your thoughts!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI Agentsai-agentsanthropicclaude-code
View details
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI Agentsai-agentsbrainstorming
View details

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI Agentsai-agentsanthropicclaude-code
View details

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI Agentsclaude-codeai-tools
View details

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI Agents
View details

Developers Also Liked

Based on votes and bookmarks from developers who liked this skill

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI Agentsai-agentsanthropicclaude-code
View details
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI Agentsai-agentsbrainstorming
View details

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP Serversapisai-tools
View details

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI Agentsai-agentsanthropicclaude-code
View details

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI Agentsclaude-codeai-tools
View details