Academic Paper Intelligence Platform with Epistemic Analysis Engine
π¨π³ δΈζζζ‘£ Β |Β π¬π§ English
Kaleidoscope is a full-stack research platform for discovering, ingesting, reading, and analyzing academic papers. It combines a Markdown-first storage approach with a powerful Epistemic Analysis Engine β over 2,075 specialized AI tools that detect cognitive biases, logical fallacies, rhetorical distortions, and reasoning failures in academic claims.
- π‘ ArXiv Ingestion β Batch-fetch papers across categories, auto-convert to Markdown
- π Markdown Reader β Read papers in-browser with table of contents, font controls, and section navigation
- π Analytics Dashboard β Library insights: timeline, categories, top authors, keyword cloud, citation network
- π Multi-modal Search β Keyword, semantic, and claim-first search across your library
- π§ Epistemic Analysis Engine β 2,075+ AI-powered tools for deep reasoning analysis
- π€ Autonomous Research Agent β Multi-step research workflows with tool orchestration
- π MCP Server β Model Context Protocol integration for external AI agent access
- π¦ Python SDK β Programmatic access to all platform capabilities
- π Bilingual UI β Full English/Chinese internationalization
- π Original Links β One-click access to arXiv abstract, PDF, and ar5iv HTML
The core differentiator β a comprehensive taxonomy of 2,075+ detection tools organized across domains:
| Domain | Examples | Count |
|---|---|---|
| Cognitive Biases | Anchoring, availability heuristic, confirmation bias, Dunning-Kruger | 200+ |
| Logical Fallacies | Ad hominem, straw man, false dilemma, slippery slope | 150+ |
| Causal Reasoning | Post hoc, reverse causation, spurious correlation, single cause | 100+ |
| Epistemic Scale | Ecological fallacy, composition/division, scope neglect | 80+ |
| Social Dynamics | Groupthink, pluralistic ignorance, reputation cascade, conformity | 100+ |
| Institutional | Citation cartel, credentialism, regulatory capture, peer review theater | 80+ |
| Communication | Sealioning, tone policing, jargon gatekeeping, strategic ambiguity | 80+ |
| Narrative | Origin myth, survivorship bias, teleological thinking, hindsight | 80+ |
| Decision Making | Premature closure, analysis paralysis, commitment escalation | 80+ |
| Methodology | P-hacking, Texas sharpshooter, streetlight effect, reification | 80+ |
| Temporal | Presentism, shifting baseline, recency illusion, end-of-history | 60+ |
| Emotion | Affect infusion, moral outrage substitution, empathy gap | 60+ |
| Power & Identity | Epistemic injustice, manufactured consent, tribal epistemology | 100+ |
| Technology | Algorithm opacity, filter bubble, automation bias, digital amnesia | 60+ |
| Meta-cognition | Blind spot bias, illusion of explanatory depth, calibration neglect | 60+ |
| + more | Ecology, virtue, attention, measurement, collective⦠| 600+ |
Each tool accepts domain-specific parameters and returns structured JSON with detection results, severity ratings, and actionable recommendations.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Frontend (Nuxt 3) β
β Vue 3 Β· TypeScript Β· Lucide Icons Β· GSAP Animations β
βββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββββββ
β REST API
βββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββββ
β Backend (FastAPI) β
β SQLAlchemy Β· Celery Β· Pydantic Β· Structlog β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Agent Layer β
β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββββββ β
β β Tool β β Research β β MCP Server β β
β β Dispatcher β β Runtime β β (2075+ tools) β β
β β (2075 tools) β β (autonomous) β β β β
β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββββββ β
βββββββββββββββ¬ββββββββββββ¬ββββββββββββ¬ββββββββββββββββββββββββ€
β PostgreSQL β Redis β Meilisearchβ Qdrant β
β (primary) β (cache) β (fulltext) β (embeddings) β
βββββββββββββββ΄ββββββββββββ΄ββββββββββββ΄ββββββββββββββββββββββββ€
β Neo4j (graph) Β· MinIO (objects) Β· GROBID (PDF) β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Kaleidoscope/
βββ backend/
β βββ app/
β β βββ api/v1/ # REST endpoints (20+ routers)
β β βββ clients/ # External API clients (arXiv, MinerU, OpenAlex, LLM)
β β βββ models/ # SQLAlchemy ORM models
β β βββ schemas/ # Pydantic request/response schemas
β β βββ services/ # 2075+ epistemic analysis services
β β β βββ agent/ # Tool dispatcher & agent orchestration
β β β βββ extraction/ # QA engine, summarizer
β β β βββ search/ # Vector & hybrid search
β β β βββ graph/ # Citation graph analysis
β β β βββ *.py # Individual detection services
β β βββ mcp_server.py # MCP protocol server (all tools exposed)
β β βββ tasks/ # Celery async tasks
β β βββ graph_db/ # Neo4j driver & queries
β β βββ utils/ # Shared utilities
β βββ kaleidoscope_sdk/ # Python SDK client
β βββ alembic/ # Database migrations
β βββ docker/ # Docker Compose for infrastructure
β βββ pyproject.toml # Python dependencies & tooling
β
βββ frontend/ # Nuxt 3 frontend
β βββ components/ # Vue components
β βββ pages/ # File-based routing
β βββ composables/ # Shared logic
β βββ i18n/ # en-US / zh-CN translations
β βββ nuxt.config.ts
β
βββ docker-compose.yml # Full-stack orchestration
- Docker & Docker Compose
- Node.js 20+ / pnpm
- Python 3.12+ / uv (or pip)
cd backend/docker
docker compose up -d # PostgreSQL, Redis, Qdrant, Meilisearch, Neo4j, MinIOcd backend
cp .env.example .env # Configure API keys and DB URLs
uv sync # Install dependencies
alembic upgrade head # Run migrations
uvicorn app.main:app --reload --port 8000cd frontend
pnpm install
pnpm dev # http://localhost:3000cd backend
python -m app.mcp_server # Exposes 2075+ tools via MCP protocolfrom kaleidoscope_sdk import KaleidoscopeClient
client = KaleidoscopeClient(base_url="http://localhost:8000")
# Detect confirmation bias in a claim
result = await client.call_tool(
"confirmation_bias_detect",
claim="Studies consistently show X",
evidence_pattern="Only favorable studies cited",
domain="medicine"
)
# Run autonomous research
run = await client.research(
query="What is the evidence for X?",
depth="deep"
)| Module | Prefix | Description |
|---|---|---|
| Papers | /papers |
CRUD, batch import, Markdown conversion |
| Collections | /collections |
Paper organization |
| Search | /search |
Multi-modal search |
| Agent | /agent |
Autonomous research agent |
| Intelligence | /intelligence |
AI-powered insights |
| OpenAlex | /openalex |
External search + citation graph builder |
| Knowledge | /knowledge |
Note graph |
| Feeds | /feeds |
RSS management |
Interactive docs available at http://localhost:8000/docs when backend is running.
| Layer | Technology |
|---|---|
| Frontend | Nuxt 3, Vue 3, TypeScript, Lucide Icons, GSAP |
| Backend | FastAPI, SQLAlchemy 2, Celery, Pydantic v2 |
| Database | PostgreSQL 16, Redis 7 |
| Search | Meilisearch, Qdrant (vector) |
| Graph | Neo4j 5 |
| Storage | MinIO (S3-compatible) |
| PDF Parser | GROBID, MinerU API |
| AI/LLM | Configurable endpoint (OpenAI-compatible) |
| Protocol | MCP (Model Context Protocol) |
- Fork the repo
- Create your feature branch (
git checkout -b feat/amazing-feature) - Commit with conventional commits (
feat:,fix:,docs:) - Push and create a Pull Request
This project is licensed under the Kaleidoscope Non-Commercial License (KNCL) v1.0. Commercial use requires separate written permission or a commercial license. See LICENSE for details.