2.7 KiB
2.7 KiB
Feynman
feynman is a research-first agent scaffold built on @mariozechner/pi-coding-agent.
It keeps the useful parts of a coding agent:
- file access
- shell execution
- persistent sessions
- skills
- custom extensions
But it biases the runtime toward research work:
- literature review
- paper lookup
- replication planning
- experiment design
- writing notes and reports
The primary paper backend is @companion-ai/alpha-hub and your alphaXiv account.
The rest of the workflow is augmented through a curated .pi/settings.json package stack.
Setup
cd /Users/advaitpaliwal/Companion/Code/feynman
npm install
cp .env.example .env
npm run start
If you already use pi, Feynman will reuse the usual auth/config locations for model access.
Before deep paper work, make sure alphaXiv auth is set up:
npx @companion-ai/alpha-hub login
Commands
Inside the REPL:
/helpshows local commands/newstarts a new persisted session/exitquits/lit-review <topic>expands the literature-review prompt template/replicate <paper or claim>expands the replication prompt template/reading-list <topic>expands the reading-list prompt template/paper-code-audit <item>expands the paper/code audit prompt template/paper-draft <topic>expands the paper-style writing prompt template
Custom Tools
The starter extension adds:
alpha_searchfor alphaXiv-backed paper discoveryalpha_get_paperfor fetching paper reports or raw textalpha_ask_paperfor targeted paper Q&Aalpha_annotate_paperfor persistent local notesalpha_list_annotationsfor recall across sessionsalpha_read_codefor reading a paper repository
Feynman uses @companion-ai/alpha-hub directly in-process rather than shelling out to the CLI.
Curated Pi Stack
Feynman loads a lean research stack from .pi/settings.json:
pi-subagentsfor parallel literature gathering and decompositionpi-docparserfor PDFs, Office docs, spreadsheets, and imagespi-web-accessfor broader web, GitHub, PDF, and media accesspi-markdown-previewfor polished Markdown and LaTeX-heavy research writeups@kaiserlich-dev/pi-session-searchfor recall across long-running research threads@aliou/pi-processesfor long-running experiments and log tailspi-wandbfor experiment trackingpi-zoterofor citation-library workflows
Layout
feynman/
├── extensions/ # Custom research tools
├── papers/ # Polished paper-style drafts and writeups
├── prompts/ # Slash-style prompt templates
├── skills/ # Research workflows
└── src/ # Minimal REPL wrapper around pi-coding-agent