-
Notifications
You must be signed in to change notification settings - Fork 1
Getting Started
This guide walks you from install to your first successful chat. If you hit a snag, check the FAQ or open a Discussion.
npm install -g research-copilot research-copilot
git clone https://github.com/daidong/PiPilot.git
cd PiPilot
npm install
npm run devRequires Node.js ≥ 18 and npm ≥ 9. Python 3 is optional but needed for data analysis and figure generation.
Research Copilot picks the cheapest working auth method it finds, in this order:
ChatGPT subscription → Claude subscription → OpenAI API key → Anthropic API key
- Open the model selector at the top of the chat pane.
- Pick a
GPT-5.4 (sub)entry (ChatGPT Pro / Plus) or aClaude ... (sub)entry (Claude Pro / Max). - Complete the OAuth flow in your browser.
Credentials are stored in the OS keychain and refreshed automatically.
- Open the unified settings panel with Cmd + . (or click the gear icon).
- Go to the API Keys tab.
- Paste your key into
ANTHROPIC_API_KEYorOPENAI_API_KEY. - Click Save & Continue.
Keys are written to ~/.research-copilot/config.json.
Tip: at least one of Anthropic / OpenAI (API key or ChatGPT subscription) is required. The rest are optional.
| Key | What it enables | Without it |
|---|---|---|
BRAVE_API_KEY |
General web search via Brave | Falls back to arXiv-only academic search |
OPENROUTER_API_KEY |
AI-generated scientific diagrams (scientific-schematics skill) |
Other skills still work |
Semantic Scholar, arXiv, OpenAlex, and DBLP work without any key.
- Pick or create a workspace folder. Research Copilot stores artifacts and memory under
<workspace>/.research-pilot/. - Type a request in the chat pane. A few starting points:
- "Find recent papers on quantum error correction and save the top 5 as notes."
- "Load this CSV and plot a correlation heatmap." (attach a file via the paperclip)
- "Draft the introduction for a NeurIPS-style paper on ."
- The agent will use tools — literature search, web fetch, Python analysis, file edits — as needed. Tool calls appear in the chat so you can watch what it's doing.
Paper Wiki is a background agent that indexes every paper you touch into a cross-project knowledge base.
- Open settings (Cmd + .) → Paper Wiki tab.
- Pick a model you're comfortable paying for (subscription-backed is cheapest; "Auto" follows the system priority).
- Pick a speed preset.
Expect roughly 8K–25K input / 2K–4K output tokens per paper. It's disabled by default.
Drop a Markdown file at <workspace>/.pi/skills/<name>/SKILL.md:
--- id: my-skill name: My Skill shortDescription: Brief description of what this skill does --- Summary loaded at startup. ## Procedures Detailed guidance loaded on demand when the skill is activated.
Skills are auto-discovered from three locations (later overrides earlier):
- Shipped builtin skills
-
~/.research-pilot/skills/— user-global -
<workspace>/.pi/skills/— project-specific
- Browse the FAQ for common issues.
- See the README Features section for a tour of literature search, data analysis, attachments, and more.
- Questions? Open a Discussion.