How sakshi3027/signal works
Signal autonomously gathers AI/ML and Fintech signals, turns domain batches into evaluated intelligence reports, stores reports and embeddings, and serves them through an API and dashboard. The graph preserves the documented ingestion, agent, storage, analytics, search, and reporting capabilities. Sampled source confirms several orchestration and storage calls; broader subsystem links rely on the README, so unsampled implementation details are not inferred.
Main entry points: pipeline.py Ingestion pipeline · page.tsx Intelligence feed · main.py FastAPI application · nodes.py Supervisor, researcher, analyst, judge
Components 31
Signal ingestion
- Ingestion pipeline
packages/ingestion/src/ingestion/pipeline.py - RSS feeds
packages/ingestion/src/ingestion/feeds.py - GitHub fetcher
packages/ingestion/src/ingestion/github_source.py - arXiv fetcher
packages/ingestion/src/ingestion/arxiv_source.py - Signal types
packages/ingestion/src/ingestion/sources.py
Intelligence agent
- Agent runner
packages/agent/src/agent/runner.py - Agent graph
packages/agent/src/agent/graph.py - Supervisor, researcher, analyst, judge
packages/agent/src/agent/nodes.py - Agent state
packages/agent/src/agent/state.py - Signal query tools
packages/agent/src/agent/tools.py
Storage and analytics
- Raw signal store
packages/storage/src/storage/db.py - Report database
packages/storage/src/storage/db.py - Vector search store
packages/storage/src/storage/vector_store.py - Report storage runner
packages/storage/src/storage/runner.py - Analytics models
packages/storage/src/storage/dbt_models.py
API service
- FastAPI application
api/main.py - Reports endpoints
api/routes/reports.py - Semantic search endpoint
api/routes/search.py - Analytics endpoints
api/routes/analytics.py - Pipeline trigger and status
api/routes/pipeline.py - Health checks
api/dependencies.py - API response models
api/models.py
Dashboard
- Intelligence feed
dashboard/app/page.tsx - Report cards
dashboard/components/ReportCard.tsx - Search interface
dashboard/components/SearchBox.tsx - Trend charts
dashboard/components/TrendChart.tsx - Source reliability
dashboard/components/SourceTable.tsx
Other components
- Six-hour scheduler
- External sources
- Mistral via Ollama
- Dashboard user
Connections 42
- Six-hour scheduler → Ingestion pipeline: triggers periodically
- External sources → RSS feeds: provides feeds
- External sources → GitHub fetcher: provides repository data
- External sources → arXiv fetcher: provides papers
- Ingestion pipeline → RSS feeds: fetches
packages/ingestion/src/ingestion/pipeline.py - Ingestion pipeline → GitHub fetcher: fetches
packages/ingestion/src/ingestion/pipeline.py - Ingestion pipeline → arXiv fetcher: fetches
packages/ingestion/src/ingestion/pipeline.py - RSS feeds → Signal types: creates signals
packages/ingestion/src/ingestion/pipeline.py - arXiv fetcher → Signal types: creates signals
packages/ingestion/src/ingestion/arxiv_source.py - Ingestion pipeline → Raw signal store: loads raw signals
packages/ingestion/src/ingestion/pipeline.py - Ingestion pipeline → Agent runner: signals feed analysis
- Agent runner → Agent graph: runs graph
packages/agent/src/agent/runner.py - Agent graph → Supervisor, researcher, analyst, judge: dispatches nodes
packages/agent/src/agent/graph.py - Agent graph → Agent state: uses state
packages/agent/src/agent/graph.py - Supervisor, researcher, analyst, judge → Signal query tools: queries signals
packages/agent/src/agent/nodes.py - Supervisor, researcher, analyst, judge → Mistral via Ollama: invokes model
packages/agent/src/agent/nodes.py - Supervisor, researcher, analyst, judge → Supervisor, researcher, analyst, judge: retries low scores
packages/agent/src/agent/nodes.py - Agent runner → Report storage runner: passes reports
run_pipeline.py - Report storage runner → Report database: saves reports
packages/storage/src/storage/runner.py - Report storage runner → Vector search store: stores embeddings
packages/storage/src/storage/runner.py - Report storage runner → Analytics models: runs models
packages/storage/src/storage/runner.py - Report database → Reports endpoints: serves reports
- Vector search store → Semantic search endpoint: answers vector queries
api/routes/search.py - Analytics models → Analytics endpoints: supplies analytics
- FastAPI application → Reports endpoints: registers route
api/main.py - FastAPI application → Semantic search endpoint: registers route
api/main.py - FastAPI application → Analytics endpoints: registers route
api/main.py - FastAPI application → Pipeline trigger and status: registers route
api/main.py - FastAPI application → Health checks: checks health
api/main.py - Pipeline trigger and status → Ingestion pipeline: runs ingestion
api/routes/pipeline.py - Pipeline trigger and status → Agent runner: runs agent
api/routes/pipeline.py - Pipeline trigger and status → Report storage runner: stores reports
api/routes/pipeline.py - Reports endpoints → API response models: formats responses
api/routes/reports.py - Semantic search endpoint → API response models: formats responses
api/routes/search.py - Analytics endpoints → API response models: formats responses
api/routes/analytics.py - Dashboard user → Intelligence feed: views feed
- Intelligence feed → FastAPI application: requests reports and analytics
- Intelligence feed → Report cards: renders
dashboard/app/page.tsx - Intelligence feed → Search interface: renders
dashboard/app/page.tsx - Intelligence feed → Trend charts: renders
dashboard/app/page.tsx - Intelligence feed → Source reliability: renders
dashboard/app/page.tsx - Search interface → Semantic search endpoint: submits semantic queries