# Repository Briefing: Einsia/InsightPro
> Source: https://repoforai.com/repo/Einsia/InsightPro (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/Einsia/InsightPro
- **Category**: Agents & Frameworks (智能体与框架)
- **Primary Language**: Python
- **License**: See repository
- **Engineering Health**: B (55/100 · Maintenance 35/35 · Adoption 3/25 · Releases 11/20 · License 6/20)
- **Review Snapshot**: 2026-12-02
- **Deployment / Stack Signals**: CLI, API
- **Momentum**: 77 ★ total (+10 24h / +10 7d) · 2 forks
- **When to Use**: Best for: Research teams comparing preloaded versus retrieved evidence or independent versus collaborative ideation under a shared evaluation protocol. Start with the public API prompt for a pilot, then move to the native harness for protocol-aligned comparisons. Skip if: You need a turnkey air-gapped package, cleared commercial redistribution rights, or an independently verified reproduction of the paper scores.

## Overview
```text
### Architecture & Core Mechanics
InsightPro is a Python experiment harness with two configuration axes: Single versus Multi changes how authors work, while Full versus API changes what material they start with. Single runs five isolated, one-idea sessions per domain. Multi starts with six authors and five candidates per author, followed by discussion, one revision round and independent Top 5 selection. Full preloads domain material; API workspaces never receive that snapshot.

`system/run.py` drives the four configurations, and `system/runtime/` provides native execution, stage validation, retries, source verification and Research Blueprint writing. Generation uses native Codex sessions against an OpenAI-compatible Responses endpoint. `benchmarks/evaluate.py` dispatches evaluation and keeps GPT and Claude reports separate. Baseline integration uses workflow-specific adapters. The Python manifest includes `requests`, `httpx`, `numpy`, `PyYAML`, `nest_asyncio`, `jsonschema` and `PyMuPDF`.

### Key Capabilities & Differentiators
The experimental setup spans 38 domains at five slots per domain for each of five generation models. Hosted generation options are GPT-6 Astra, DeepSeek-V4.1-Flash-1017 and GLM-5.3-Flash; Qwen3.8-27B and Qwen3.8-Flash-Next are served through self-hosted vLLM, with 262,144 total tokens per request. `--model`, `--effort` and `--base-url` select the generation configuration, and `run.json` records the values actually used. Claude Opus 5.5 is a judge, not a main-result generator.

Generation grades contribution, novelty, soundness and importance. Reconstruction measures grade, direction hits and mechanism hits across 69 target papers, 58 tasks and 37 domains. IS covers six quality dimensions, literature novelty and structural transfer. The web-evidence judging variant supplements the offline corpus with bounded abstract searches and excludes work first published after the idea card was generated. Keep scores separated by judge and evidence protocol rather than assuming they are interchangeable.

### Trade-offs & Limitations
Relative to running IdeaScientist or CoI directly, InsightPro adds a shared evaluation layer and explicit comparisons between input access and collaboration modes. IdeaScientist retains its multi-role workflow, while CoI retains paper chaining, novelty checks and internal review. The seven offline AR snapshots add a common-corpus, common-model comparison with a 250-request ceiling for generation and scoring, but their corpora, upstream dependencies, machine paths and per-slot admission still need separate preparation.

Full gives runs a fixed starting snapshot, not an air-gapped workflow: linked papers and cross-domain material still require the InsightPro API. API mode avoids local corpus setup but depends on live retrieval. The complete paper library, Svalbard database and historical run logs are absent. Native CLI compatibility, endpoint credentials and separate judge runs add operational overhead. The repository license is unspecified; third-party notices alone do not establish permission to redistribute the code or data.

### Hardware & Deployment Guide
The native harness requires Linux, Python 3.12, `bubblewrap`, and Codex and Claude CLIs that support the configured models and effort levels. Install `requirements.txt` in a virtual environment and use `.env.example` to configure service addresses and protected credentials. The generation credential's base URL must match the generation endpoint. Switching to local vLLM relocates generation inference but does not replace the native orchestration or separate judging sessions.

Start with `python system/run.py single-full check`, then use `prepare`, `run`, `status` and `export` on one domain before scaling out. The documented session budgets are at least five for Single and six for Multi; `--external-gpt-reserved` accounts for capacity already occupied by other jobs. `scripts/check_release.py` and the unit tests run without model calls and cover packaging, isolation and scoring checks. No GitHub release is listed, and the paper experiments were not rerun through the repackaged entry points.
```

## Key Capabilities
```text
- Input isolation: Full ships a 7,641-entry material snapshot; API workspaces do not receive it.
- Collaboration: Multi runs six authors with five candidates each, then discussion, one revision round and independent Top 5 selection.
- Endpoint traceability: A common Codex generation path records the effective model, effort and endpoint in `run.json`.
- Evaluation coverage: The three benchmarks assess generated ideas, reconstruction of historical contributions and IdeaScientist rubric criteria.
- Evidence controls: Web-evidence-v1 adds 5–6 bounded arXiv/OpenAlex searches and hides work first published after idea-card generation.
- Baseline budget: Seven offline AR adapters share Astra/xhigh, a common corpus and a ceiling of 250 actual model requests for generation and scoring.
```

## Quick Start / Clone
```bash
git clone git@github.com:Einsia/InsightPro.git
cd InsightPro
python3.12 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
cp .env.example .env
# Fill in the service addresses in .env and point it at your own protected credentials.
set -a
source .env
set +a
```
