advaitpaliwal/feynmanPublic

The open source AI research agent.

AI summary: An open-source AI research agent operating from the command line.

Stars
9.4K
+136 today
Forks
1.1K
Watchers
35
Open issues
3
Open PRs
3
Contributors
~7
Commits
492
Branches
4

TypeScriptMITCreated Mar 19, 2026Last push 4d agoLatest release v0.3.48+136 stars this week+136 this month

Star history

since Sep 8, 2026
02.5K5K7.5KSep 2026Sep 2026Sep 2026Sep 2026
9.4K stars as of Sep 10, 2026, tracked back to Sep 8, 2026.

Contribution activity

commits per day, last 52 weeks
SepOctNovDecJanFebMarAprMayJunJulAugSepMonWedFri2025-09-14: 0 commits2025-09-15: 0 commits2025-09-16: 0 commits2025-09-17: 0 commits2025-09-18: 0 commits2025-09-19: 0 commits2025-09-20: 0 commits2025-09-21: 0 commits2025-09-22: 0 commits2025-09-23: 0 commits2025-09-24: 0 commits2025-09-25: 0 commits2025-09-26: 0 commits2025-09-27: 0 commits2025-09-28: 0 commits2025-09-29: 0 commits2025-09-30: 0 commits2025-10-01: 0 commits2025-10-02: 0 commits2025-10-03: 0 commits2025-10-04: 0 commits2025-10-05: 0 commits2025-10-06: 0 commits2025-10-07: 0 commits2025-10-08: 0 commits2025-10-09: 0 commits2025-10-10: 0 commits2025-10-11: 0 commits2025-10-12: 0 commits2025-10-13: 0 commits2025-10-14: 0 commits2025-10-15: 0 commits2025-10-16: 0 commits2025-10-17: 0 commits2025-10-18: 0 commits2025-10-19: 0 commits2025-10-20: 0 commits2025-10-21: 0 commits2025-10-22: 0 commits2025-10-23: 0 commits2025-10-24: 0 commits2025-10-25: 0 commits2025-10-26: 0 commits2025-10-27: 0 commits2025-10-28: 0 commits2025-10-29: 0 commits2025-10-30: 0 commits2025-10-31: 0 commits2025-11-01: 0 commits2025-11-02: 0 commits2025-11-03: 0 commits2025-11-04: 0 commits2025-11-05: 0 commits2025-11-06: 0 commits2025-11-07: 0 commits2025-11-08: 0 commits2025-11-09: 0 commits2025-11-10: 0 commits2025-11-11: 0 commits2025-11-12: 0 commits2025-11-13: 0 commits2025-11-14: 0 commits2025-11-15: 0 commits2025-11-16: 0 commits2025-11-17: 0 commits2025-11-18: 0 commits2025-11-19: 0 commits2025-11-20: 0 commits2025-11-21: 0 commits2025-11-22: 0 commits2025-11-23: 0 commits2025-11-24: 0 commits2025-11-25: 0 commits2025-11-26: 0 commits2025-11-27: 0 commits2025-11-28: 0 commits2025-11-29: 0 commits2025-11-30: 0 commits2025-12-01: 0 commits2025-12-02: 0 commits2025-12-03: 0 commits2025-12-04: 0 commits2025-12-05: 0 commits2025-12-06: 0 commits2025-12-07: 0 commits2025-12-08: 0 commits2025-12-09: 0 commits2025-12-10: 0 commits2025-12-11: 0 commits2025-12-12: 0 commits2025-12-13: 0 commits2025-12-14: 0 commits2025-12-15: 0 commits2025-12-16: 0 commits2025-12-17: 0 commits2025-12-18: 0 commits2025-12-19: 0 commits2025-12-20: 0 commits2025-12-21: 0 commits2025-12-22: 0 commits2025-12-23: 0 commits2025-12-24: 0 commits2025-12-25: 0 commits2025-12-26: 0 commits2025-12-27: 0 commits2025-12-28: 0 commits2025-12-29: 0 commits2025-12-30: 0 commits2025-12-31: 0 commits2026-01-01: 0 commits2026-01-02: 0 commits2026-01-03: 0 commits2026-01-04: 0 commits2026-01-05: 0 commits2026-01-06: 0 commits2026-01-07: 0 commits2026-01-08: 0 commits2026-01-09: 0 commits2026-01-10: 0 commits2026-01-11: 0 commits2026-01-12: 0 commits2026-01-13: 0 commits2026-01-14: 0 commits2026-01-15: 0 commits2026-01-16: 0 commits2026-01-17: 0 commits2026-01-18: 0 commits2026-01-19: 0 commits2026-01-20: 0 commits2026-01-21: 0 commits2026-01-22: 0 commits2026-01-23: 0 commits2026-01-24: 0 commits2026-01-25: 0 commits2026-01-26: 0 commits2026-01-27: 0 commits2026-01-28: 0 commits2026-01-29: 0 commits2026-01-30: 0 commits2026-01-31: 0 commits2026-02-01: 0 commits2026-02-02: 0 commits2026-02-03: 0 commits2026-02-04: 0 commits2026-02-05: 0 commits2026-02-06: 0 commits2026-02-07: 0 commits2026-02-08: 0 commits2026-02-09: 0 commits2026-02-10: 0 commits2026-02-11: 0 commits2026-02-12: 0 commits2026-02-13: 0 commits2026-02-14: 0 commits2026-02-15: 0 commits2026-02-16: 0 commits2026-02-17: 0 commits2026-02-18: 0 commits2026-02-19: 0 commits2026-02-20: 0 commits2026-02-21: 0 commits2026-02-22: 0 commits2026-02-23: 0 commits2026-02-24: 0 commits2026-02-25: 0 commits2026-02-26: 0 commits2026-02-27: 0 commits2026-02-28: 0 commits2026-03-01: 0 commits2026-03-02: 0 commits2026-03-03: 0 commits2026-03-04: 0 commits2026-03-05: 0 commits2026-03-06: 0 commits2026-03-07: 0 commits2026-03-08: 0 commits2026-03-09: 0 commits2026-03-10: 0 commits2026-03-11: 0 commits2026-03-12: 0 commits2026-03-13: 0 commits2026-03-14: 0 commits2026-03-15: 0 commits2026-03-16: 0 commits2026-03-17: 0 commits2026-03-18: 0 commits2026-03-19: 0 commits2026-03-20: 7 commits2026-03-21: 0 commits2026-03-22: 5 commits2026-03-23: 17 commits2026-03-24: 45 commits2026-03-25: 13 commits2026-03-26: 4 commits2026-03-27: 6 commits2026-03-28: 3 commits2026-03-29: 0 commits2026-03-30: 0 commits2026-03-31: 2 commits2026-04-01: 0 commits2026-04-02: 0 commits2026-04-03: 0 commits2026-04-04: 0 commits2026-04-05: 0 commits2026-04-06: 0 commits2026-04-07: 0 commits2026-04-08: 0 commits2026-04-09: 4 commits2026-04-10: 3 commits2026-04-11: 0 commits2026-04-12: 3 commits2026-04-13: 0 commits2026-04-14: 6 commits2026-04-15: 16 commits2026-04-16: 4 commits2026-04-17: 10 commits2026-04-18: 5 commits2026-04-19: 2 commits2026-04-20: 0 commits2026-04-21: 0 commits2026-04-22: 0 commits2026-04-23: 0 commits2026-04-24: 0 commits2026-04-25: 0 commits2026-04-26: 0 commits2026-04-27: 0 commits2026-04-28: 0 commits2026-04-29: 0 commits2026-04-30: 0 commits2026-05-01: 0 commits2026-05-02: 0 commits2026-05-03: 0 commits2026-05-04: 2 commits2026-05-05: 9 commits2026-05-06: 2 commits2026-05-07: 9 commits2026-05-08: 0 commits2026-05-09: 3 commits2026-05-10: 0 commits2026-05-11: 3 commits2026-05-12: 0 commits2026-05-13: 2 commits2026-05-14: 0 commits2026-05-15: 1 commit2026-05-16: 1 commit2026-05-17: 0 commits2026-05-18: 0 commits2026-05-19: 0 commits2026-05-20: 0 commits2026-05-21: 0 commits2026-05-22: 0 commits2026-05-23: 0 commits2026-05-24: 0 commits2026-05-25: 0 commits2026-05-26: 0 commits2026-05-27: 0 commits2026-05-28: 0 commits2026-05-29: 0 commits2026-05-30: 0 commits2026-05-31: 0 commits2026-06-01: 0 commits2026-06-02: 0 commits2026-06-03: 0 commits2026-06-04: 0 commits2026-06-05: 0 commits2026-06-06: 0 commits2026-06-07: 0 commits2026-06-08: 0 commits2026-06-09: 0 commits2026-06-10: 0 commits2026-06-11: 16 commits2026-06-12: 1 commit2026-06-13: 0 commits2026-06-14: 0 commits2026-06-15: 0 commits2026-06-16: 0 commits2026-06-17: 0 commits2026-06-18: 0 commits2026-06-19: 0 commits2026-06-20: 2 commits2026-06-21: 1 commit2026-06-22: 0 commits2026-06-23: 1 commit2026-06-24: 1 commit2026-06-25: 0 commits2026-06-26: 0 commits2026-06-27: 0 commits2026-06-28: 2 commits2026-06-29: 0 commits2026-06-30: 1 commit2026-07-01: 0 commits2026-07-02: 0 commits2026-07-03: 1 commit2026-07-04: 0 commits2026-07-05: 13 commits2026-07-06: 3 commits2026-07-07: 0 commits2026-07-08: 0 commits2026-07-09: 0 commits2026-07-10: 4 commits2026-07-11: 0 commits2026-07-12: 0 commits2026-07-13: 0 commits2026-07-14: 0 commits2026-07-15: 0 commits2026-07-16: 0 commits2026-07-17: 0 commits2026-07-18: 0 commits2026-07-19: 0 commits2026-07-20: 0 commits2026-07-21: 0 commits2026-07-22: 1 commit2026-07-23: 0 commits2026-07-24: 0 commits2026-07-25: 0 commits2026-07-26: 5 commits2026-07-27: 0 commits2026-07-28: 17 commits2026-07-29: 12 commits2026-07-30: 1 commit2026-07-31: 0 commits2026-08-01: 5 commits2026-08-02: 1 commit2026-08-03: 3 commits2026-08-04: 2 commits2026-08-05: 0 commits2026-08-06: 0 commits2026-08-07: 0 commits2026-08-08: 5 commits2026-08-09: 4 commits2026-08-10: 6 commits2026-08-11: 7 commits2026-08-12: 3 commits2026-08-13: 3 commits2026-08-14: 1 commit2026-08-15: 9 commits2026-08-16: 8 commits2026-08-17: 6 commits2026-08-18: 2 commits2026-08-19: 0 commits2026-08-20: 6 commits2026-08-21: 12 commits2026-08-22: 16 commits2026-08-23: 4 commits2026-08-24: 12 commits2026-08-25: 15 commits2026-08-26: 23 commits2026-08-27: 0 commits2026-08-28: 0 commits2026-08-29: 0 commits2026-08-30: 0 commits2026-08-31: 0 commits2026-09-01: 0 commits2026-09-02: 0 commits2026-09-03: 0 commits2026-09-04: 0 commits2026-09-05: 0 commits2026-09-06: 11 commits2026-09-07: 0 commits2026-09-08: 0 commits2026-09-09: 0 commits2026-09-10: 0 commits2026-09-11: 0 commits2026-09-12: 0 commits
433 commits in the last yearLessMore

Signals and awards

derived from tracked data
  • Permissive license

    MIT

What feynman does

Operates as an open-source AI research agent accessible via a command line interface. Enables users to conduct in-depth research tasks autonomously by leveraging advanced language models. Downloads as a standalone native bundle with a pinned Node.js runtime, ensuring reliable execution across platforms without complex dependency management. Verifies release integrity using SHA-2 signatures to ensure secure installations.

Researchers, students, and developers seeking an automated way to gather and synthesize information. Power users who prefer command-line tools for productivity tasks.

  • CLI interface: Provides a lightweight, fast command-line interface for research tasks.
  • Autonomous research: Agents conduct in-depth information gathering automatically.
  • Native bundle: Ships with a pinned Node.js runtime for seamless installation.
  • Secure installation: Verifies releases using SHA-2 signatures to prevent tampering.
  • Cross-platform support: Installs easily on macOS, Linux, and Windows via simple scripts.

Where teams use it

Automating literature reviews

Deploy the agent to autonomously gather and summarize academic papers or articles.

Conducting technical research

Research complex programming topics or emerging technologies directly from the terminal.

Generating study guides

Compile comprehensive study materials on specific subjects using autonomous web searching.

Information synthesis

Aggregate data from multiple sources into coherent, actionable reports.

Getting started: curl -fsSL https://feynman.is/install | bash

README

main branch

Feynman CLI

The open source AI research agent.

Docs License


Installation

macOS / Linux:

curl -fsSL https://feynman.is/install | bash

Windows (PowerShell):

irm https://feynman.is/install.ps1 | iex

The one-line installer fetches the latest tagged release. To pin a version, pass it explicitly, for example curl -fsSL https://feynman.is/install | bash -s -- 0.2.35.

The installer downloads a standalone native bundle with its own pinned Node.js runtime and verifies the release SHA-256 before replacing an existing installation.

To upgrade the standalone app later, rerun the installer. feynman update only refreshes installed Pi packages inside Feynman's environment; it does not replace the standalone runtime bundle itself.

To uninstall the standalone app, remove the launcher and runtime bundle, then optionally remove ~/.feynman if you also want to delete settings, workbench app state, sessions, and installed package state. If you also want to delete alphaXiv login state, remove ~/.ahub. See the installation guide for platform-specific paths.

npm alternative (uses your local Node.js runtime):

npm install -g @advaitpaliwal/feynman

To update an npm installation, run npm install -g @advaitpaliwal/feynman@latest.

If you installed the old scoped package, migrate once:

npm uninstall -g @companion-ai/feynman
npm install -g @advaitpaliwal/feynman

The command remains feynman; the native install commands above are unchanged. See the installation guide for Node.js requirements and uninstall instructions.

Local models are supported through the setup flow. For LM Studio, run feynman setup, choose LM Studio, and keep the default http://localhost:1234/v1 unless you changed the server port. For LiteLLM, choose LiteLLM Proxy and keep the default http://localhost:4000/v1. For Ollama or vLLM, choose Custom provider (baseUrl + API key), use openai-completions, and point it at the local /v1 endpoint.

To authenticate another hosted provider, run feynman model login <provider>. GitHub Copilot sign-in retries model discovery once when GitHub rate-limits the request. OpenRouter login opens an OAuth page and listens for a local callback; over SSH or in another headless environment, paste the browser's final redirect URL or authorization code into Feynman's prompt, or set OPENROUTER_API_KEY before launch to use API-key authentication without OAuth.

Skills Only

If you want just the research skills without the full terminal app:

macOS / Linux:

curl -fsSL https://feynman.is/install-skills | bash

Windows (PowerShell):

irm https://feynman.is/install-skills.ps1 | iex

That installs the skill library into ~/.codex/skills/feynman for Codex. You can also name the Codex target explicitly:

macOS / Linux:

curl -fsSL https://feynman.is/install-skills | bash -s -- --codex

Windows (PowerShell):

& ([scriptblock]::Create((irm https://feynman.is/install-skills.ps1))) -Scope Codex

For a repo-local Claude/agent install instead:

macOS / Linux:

curl -fsSL https://feynman.is/install-skills | bash -s -- --repo

Windows (PowerShell):

& ([scriptblock]::Create((irm https://feynman.is/install-skills.ps1))) -Scope Repo

That installs into .agents/skills/feynman under the current repository.

For an OpenCode project-local install instead:

macOS / Linux:

curl -fsSL https://feynman.is/install-skills | bash -s -- --opencode

Windows (PowerShell):

& ([scriptblock]::Create((irm https://feynman.is/install-skills.ps1))) -Scope OpenCode

That installs into .opencode/skills/feynman under the current repository.

These installers download the bundled skills/ and prompts/ trees plus the repo guidance files referenced by those skills. They do not install the Feynman terminal, bundled Node runtime, auth storage, or Pi packages.


What you type → what happens

$ feynman "what do we know about scaling laws"
→ Searches papers and web, produces a cited research brief

$ feynman -- "- summarize the strongest evidence first"
→ Preserves a research prompt that begins with a dash instead of parsing it as a CLI option

$ feynman --prompt="- summarize the strongest evidence first"
→ Runs a dash-leading research prompt once and exits

$ feynman deepresearch "mechanistic interpretability"
→ Multi-agent investigation with parallel researchers, synthesis, verification

$ feynman lit "RLHF alternatives"
→ Literature review with consensus, disagreements, open questions, and lab/PI corpus mode when the input names a research group

$ feynman rank "mechanistic interpretability sparse autoencoders"
→ Decides what to read first with citation, method, reproducibility, and provenance evidence

$ feynman rank "mechanistic interpretability sparse autoencoders" --expand-citations 2
→ Adds cited and citing papers to the local citation graph before scoring graph prestige

$ feynman rank "mechanistic interpretability sparse autoencoders" --full-text-top 3
→ Adds section-aware full-text evidence and checklist rubric answers before rescoring

$ feynman rank "mechanistic interpretability sparse autoencoders" --critique-top 5
→ Adds research-critique strengths, concerns, and follow-up questions grounded in score evidence

$ feynman rank "mechanistic interpretability sparse autoencoders" --synthesize
→ Writes an auditable model synthesis and names the selected model plus whether it was recommended or explicitly requested

$ feynman paper 10.7717/peerj.4375 --fetch-full-text
→ Resolves legal full-text access candidates for one paper and fetches source-specific text when available

$ feynman serve
→ Opens the standalone science workbench with projects, Pi chat, Feynman Bio Tools, notebooks, compute, artifact previews, provenance, settings, skills, and onboarding context

$ feynman serve --no-auth
→ Opens the same local workbench at a plain localhost URL for trusted local testing

$ feynman audit 2401.12345
→ Compares paper claims against the public codebase

$ feynman replicate "chain-of-thought improves math"
→ Plans replication checks and runs them only after an explicit environment choice

$ feynman recipe "fine-tune a small model for math reasoning"
→ Finds ranked, implementable ML training recipes from papers, datasets, docs, and code

Workflows

Ask naturally or use slash commands as shortcuts.

Command What it does
feynman rank <topic> PaperRank scoring for deciding what to read first, with transparent evidence for citations, methods, reproducibility, and provenance
feynman paper <id-or-title> Paper access resolver for one DOI, arXiv ID, OpenAlex ID, PMID, PMCID, or title, with OpenAlex, arXiv/alphaXiv, DOI, and Europe PMC candidates plus optional source-specific text fetching
feynman serve Standalone science workbench with project/session navigation, project metadata, in-app Pi chat, optional --no-auth plain localhost mode, Feynman Bio Tools, Ketcher chemistry sketch artifacts, notebooks, compute, Files host inventory for local, SSH/BYOC, and cloud-backed artifact contexts, audio/video/spreadsheet/notebook/LaTeX/science artifact previews including element-level HTML report annotations and KET/RXN/CDXML/CXSMILES chemistry sketches, artifact Notes and note preview modals, Cloud storage credential modal, Cloud export target/destination modal, frame records, frame message rows, frame backfill health records, lineage, provenance, settings, org-scoped app-data workbench state under ~/.feynman/orgs/<org_uuid>/workbench, an org-level feynman-workbench.db mirror with physical tables for the full reference-shaped workbench ledger coverage map including compute egress/Modal environment fields and Feynman-owned connector ledgers, watch routine state, skill source/license state, setup decision state, review feedback state, compute poller lease state, redacted credential state, onboarding intent context, verification files, and CHANGELOG.md lab-notebook entries
/deepresearch <topic> Source-heavy multi-agent investigation
/lit <topic-or-lab> Literature review from paper search and primary sources; lab/PI inputs map publication trajectories and originality-ranked papers
/review <artifact> Research review with severity and revision plan
/audit <item> Paper vs. codebase mismatch audit
/replicate <paper> Plan replication checks; execute only after choosing an environment
/recipe <task-or-paper> Ranked ML training recipes with dataset, method, code, and verification status
/compare <topic> Source comparison matrix
/draft <topic> Paper-style draft from research findings
/autoresearch <idea> Bounded experiment loop with benchmark evidence
/watch <topic> Research watch baseline with optional scheduled follow-up
/btw <question> Side conversation while the main research agent is busy, with optional handoff back into the main thread
/thinking [level] View or set model reasoning effort (off through max, model permitting) without leaving the REPL
/outputs Browse all research artifacts

Agents

Four bundled research agents, invoked by workflow prompts when decomposition helps.

  • Researcher — gather evidence across papers, web, repos, docs
  • Reviewer — internal research critique with severity-graded feedback
  • Writer — structured drafts from research notes
  • Verifier — inline citations, source URL verification, dead link cleanup

Skills & Tools

  • AlphaXiv — paper search, Q&A, code reading, annotations (via Feynman's alpha tools and feynman alpha command)
  • Feynman Bio Tools — Feynman-owned open science connector catalog for literature, exact OpenAlex work/citation/reference/author/venue workflows, exact arXiv search and batch-paper retrieval, PubMed metadata, PMID/PMCID/DOI conversion, related-article links, citation matching, copyright/license checks, PMC full-text routing, bioRxiv/medRxiv preprint DOI lookup, date/category windows, published-preprint links, funder/ROR lookup, usage/content statistics, Europe PMC open-access full-text sections, citation graphs, authors, venues, OA status, ClinicalTrials.gov trial search, NCT details, sponsor programs, eligibility filters, investigator records, endpoint summaries, Grants.gov exact opportunity search, FDA labels, adverse events, recalls, Drugs@FDA applications, sponsor/status/route counts, pharmacologic classes, generic-equivalent active-ingredient sets, ChEMBL compound/drug/ADMET/bioactivity/mechanism/target workflows, PubChem compound/search/similarity/bioassay/safety workflows, ChEBI entity/ontology workflows, BindingDB target/compound workflows, editable Ketcher chemistry sketch seeds, gene, BioMart, Ensembl lookup/xref/VEP/homology/sequence/overlap workflows, MyGene query-many, OLS ontology, QuickGO annotation, UniProt entry, Reactome pathway, CellGuide, PanglaoDB marker genes and gene-to-cell-type workflows, exact Antibody Registry antibody/RRID/catalog/stat workflows, reagent, cell-type, metabolomics, genome-track, UCSC exact track/chromosome/conservation/TFBS workflows, UniBind TF-DNA binding, KEGG entry/search/link/ID-conversion workflows, InterPro/Pfam exact domain architecture, entry, clan, family protein/proteome modes, Human Protein Atlas exact gene/search modes, STRING exact ID mapping, network, similarity, and best-hit workflows, purchasable ZINC compounds, protein, predicted-structure, structure, EM-map, complex, interaction, exact ENCODE/JASPAR/UniBind regulation modes for experiments, biosamples, files, matrices, species/taxa/collections/releases, datasets, and regional TFBS, exact ArrayExpress/GEO/MetaboLights/MGnify/PRIDE omics-archive modes for experiments, samples, files, analyses, projects, and protein evidence, metagenomics, chemical-ontology, chemistry, pathway, exact Rfam RNA family metadata, accession/id conversion, seed alignment, covariance model, tree, region, structure-mapping, and sequence-search workflows, exact gnomAD short variant, gene, region, liftover, ClinVar-mirror, structural, and mitochondrial workflows, exact CADD variant/position/range scores, exact direct ClinVar search/accession/rsID workflows, exact dbSNP rsID/region workflows, GWAS Catalog exact association/study/trait/SNP workflows, eQTL Catalogue exact dataset and association workflows, PheWeb/FinnGen PheWAS workflows, GTEx dataset/tissue/sample/gene/expression/eQTL workflows, tissue/protein-atlas, expression, human-genetics, cBioPortal study/detail/mutation-frequency/mutation/CNA/clinical-attribute workflows, DepMap model/gene/dependency workflows, CIViC gene/variant/evidence/assertion/profile/disease/therapy workflows, ClinGen validity/dosage/actionability/classification workflows, Open Targets disease-drug/disease-target/drug/search workflows, and canceromics sources
  • Hugging Face Hub — dataset metadata, split/schema inspection, and small file reads from model, dataset, and Space repos
  • Web research — multi-provider search, explicit proxy routing, bounded GitHub issue/PR documents, raw or question-grounded page retrieval, direct images, external fetched-content caching, stored-page passage lookup, and auditable source text; tools, commands, images, PDFs, and browser cookies remain independently gated
  • Session search — indexed recall across prior research sessions
  • Artifact previews — local workbench viewers for reports, JSON/JSONL, tables, PDFs, images, audio, video, XLSX workbooks, Jupyter notebooks, LaTeX, sequences, alignments, variants, genomes, KET/RXN/CDXML/CXSMILES/Molfile/SDF/SMILES chemistry artifacts, structures, trees, and tensors
  • Observability — PostHog analytics, logs, distributed traces, and Pi AI runtime traces through OpenTelemetry metadata, with signal-specific HTTP OTLP routing for external collectors
  • Research execution options — Docker, Modal, and RunPod instructions for explicitly chosen replication, benchmark, or dataset-heavy experiment runs; not service deployment or generic cloud administration
  • Workbench control plane — local onboarding, project/session/frame state, upload-frame linkage, frame message rows, frame backfill health records, chat-produced artifact attachment, artifact/version lineage, Files host inventory for local workspace files, SSH/BYOC compute hosts, and cloud buckets, media/document/science previews, element-level HTML report annotations, artifact Notes and note preview modals, Cloud storage credential modal, Cloud export target/destination modal with audit logs, execution logs, verification checks, memory categories, watch routine records, skill source/license records, setup decision records, review feedback records, compute poller lease records, scoped settings, and redacted credential availability records under Feynman's own runtime and workspace files

How it works

Built on Pi for the agent runtime, alphaXiv for paper search and analysis, and CLI tools for compute and execution. Runtime resources follow Pi's documented package model for packages, extensions, and skills. Hugging Face inspection uses the public Hub API endpoints and HF_TOKEN / HUGGINGFACE_HUB_TOKEN environment variables documented by huggingface_hub. The ML recipe workflow was informed by the open-source Hugging Face ml-intern research-agent repo, but is implemented as native Feynman prompts, skills, and read-only tools. Research outputs are source-grounded — research claims link to papers, docs, or repos with direct URLs.


Star History

Star History Chart

The bundled research runtime is updated as a coordinated set, including Pi, Alpha Hub's alpha-mcp, document parsing, web research, and subagents. See the package stack and release notes for versions and upgrade details.

Contributing

See CONTRIBUTING.md for the full contributor guide.

git clone https://github.com/advaitpaliwal/feynman.git
cd feynman
nvm use || nvm install
npm install
npm test
npm run typecheck
npm run build

Docs · Release Notes · MIT License

View on GitHub

Recent activity

commits and pull requests

Releases and announcements

98 total
  1. v0.3.48v0.3.48Sep 6, 20261.3K downloads

    ## v0.3.48 - 2026-09-06 ### Installation and source reliability - Moved the canonical GitHub repository to `advaitpaliwal/feynman`. Native installers, skills downloads, package source/issue metadata, and public documentation now use the new owner directly. - The canonical npm package is now `@advaitpaliwal/feynman`. Migrate old npm installs with `npm uninstall -g @companion-ai/feynman`, then `npm install -g @advaitpaliwal/feynman`. Future npm updates use `npm install -g @advaitpaliwal/feynman@latest`. The command remains `feynman`, and native install commands are unchanged. - Historical release attestations retain their original source identity; new releases are verified against the new repository owner without relaxing provenance checks. - Updated affected URL/query parsing dependencies in the CLI and bundled research runtime, plus the website's browser-target resolver, to patched versions.

  2. v0.3.46v0.3.46Aug 26, 20261.6K downloads

    > [!WARNING] > **Do not install v0.3.46.** This release was published from superseded commit `6bbb6e8217967caed3fc03c95a40b1c1bdfdd18c` after its workflow cancellation was retried. It contains a pi-otel shutdown failure, exposes explicit proxy/provider credentials in child-process arguments, and ships stale npm runtime metadata. The repaired `0.3.47` hotfix is in progress. ## v0.3.46 - 2026-08-26 ### Research continuity - Resuming a valid Pi session whose JSONL file lacks a trailing newline now repairs the append boundary before new research messages are persisted, preventing the next record from being fused into the previous one. - `/btw` and `/btw:summarize` now copy extension-registered providers, native providers, and temporary runtime API keys into their isolated child `ModelRuntime`. Side research can use the same custom provider that is already active in the main session. ### Web research - Updated `pi-web-access` to `0.25.0`. Researchers can route search and fetch calls through an explicit HTTP(S) proxy, retrieve bounded GitHub issue and pull-request documents with comments and review threads, use Defuddle when ordinary HTML extraction is insufficient, and select Chrom

  3. v0.3.45v0.3.45Aug 26, 2026198 downloads

    ## v0.3.45 - 2026-08-26 ### Release reliability - Windows publication smoke tests now use the supported .NET ZIP extractor instead of the pathologically slow PowerShell `Expand-Archive` cmdlet, so large native research bundles complete within the release job budget. - Source-checkout runtime archive rebuilds now use the same fifteen-minute process budget as exact locked runtime restores, avoiding premature timeouts on slow clean environments while retaining the existing transactional exact-lock checks. ### Validation - Added workflow and runtime regressions that bind Windows native extraction and source-archive rebuilding to their supported timeout contracts.

  4. v0.3.44v0.3.44Aug 26, 202668 downloads

    ## v0.3.44 - 2026-08-26 ### Research continuity - Stopping a tool run now ends the active Pi loop before queued steering or follow-up research input can be drained into an already-aborted model call. The queued input remains available for the next turn instead of producing a second spurious cancellation. ### Compaction integrity - Small-context local and proxy models now bound compaction reserve and retained-history budgets to the model's actual context window, preventing empty or short sessions from compacting continuously. - Empty or structurally unusable summaries no longer replace research history. OpenAI Responses providers such as Grok also omit `tool_choice` when a compaction request has no tools. ### Model reliability - OpenAI-compatible structured reasoning deltas are accumulated without reparsing and reserializing the complete history for every streamed detail, preventing long reasoning streams from blocking the event loop while preserving same-model replay. - OpenAI models reached through Amazon Bedrock now receive images returned by research tools as sibling user-image blocks instead of unsupported images nested inside `toolResult.content`. Text stays attached to

  5. v0.3.43v0.3.43Aug 26, 2026115 downloads

    ## v0.3.43 - 2026-08-25 ### Installation reliability - Upgrading from an older Feynman installation no longer crashes while migrating a legacy `pi-subagents` package's agent diagnostics source. Fresh native-bundle installs and updates now tolerate the older management-source layout while preserving malformed-agent diagnostics. ### Validation - Added an executable source regression for the `pi-subagents@0.37.2` management layout that previously raised `missing management list diagnostics` during `--version`.

Code frequency

additions and deletions
+164.1K-164.1KWeek of 2026-03-15: +6,969 linesWeek of 2026-03-15: -258 linesWeek of 2026-03-22: +37,593 linesWeek of 2026-03-22: -13,101 linesWeek of 2026-03-29: +4,601 linesWeek of 2026-03-29: -28 linesWeek of 2026-04-05: +1,740 linesWeek of 2026-04-05: -3,885 linesWeek of 2026-04-12: +7,126 linesWeek of 2026-04-12: -2,381 linesWeek of 2026-04-19: +625 linesWeek of 2026-04-19: -33 linesWeek of 2026-04-26: +0 linesWeek of 2026-04-26: -0 linesWeek of 2026-05-03: +4,544 linesWeek of 2026-05-03: -2,036 linesWeek of 2026-05-10: +1,022 linesWeek of 2026-05-10: -289 linesWeek of 2026-05-17: +0 linesWeek of 2026-05-17: -0 linesWeek of 2026-05-24: +0 linesWeek of 2026-05-24: -0 linesWeek of 2026-05-31: +0 linesWeek of 2026-05-31: -0 linesWeek of 2026-06-07: +7,439 linesWeek of 2026-06-07: -6,245 linesWeek of 2026-06-14: +8 linesWeek of 2026-06-14: -0 linesWeek of 2026-06-21: +18,036 linesWeek of 2026-06-21: -1,647 linesWeek of 2026-06-28: +397 linesWeek of 2026-06-28: -150 linesWeek of 2026-07-05: +164,097 linesWeek of 2026-07-05: -1,955 linesWeek of 2026-07-12: +0 linesWeek of 2026-07-12: -0 linesWeek of 2026-07-19: +1,460 linesWeek of 2026-07-19: -1,789 linesWeek of 2026-07-26: +24,149 linesWeek of 2026-07-26: -2,505 linesWeek of 2026-08-02: +19,388 linesWeek of 2026-08-02: -964 linesWeek of 2026-08-09: +39,579 linesWeek of 2026-08-09: -26,933 linesWeek of 2026-08-16: +58,066 linesWeek of 2026-08-16: -15,444 linesWeek of 2026-08-23: +44,729 linesWeek of 2026-08-23: -15,549 linesWeek of 2026-08-30: +0 linesWeek of 2026-08-30: -0 linesWeek of 2026-09-06: +45,220 linesWeek of 2026-09-06: -5,078 linesMar 15, 2026Sep 6, 2026
+486.8K lines added, -100.3K removed over the last year.

Commits per week

last 52 weeks
930Week of 2025-09-14: 0 commitsWeek of 2025-09-21: 0 commitsWeek of 2025-09-28: 0 commitsWeek of 2025-10-05: 0 commitsWeek of 2025-10-12: 0 commitsWeek of 2025-10-19: 0 commitsWeek of 2025-10-26: 0 commitsWeek of 2025-11-02: 0 commitsWeek of 2025-11-09: 0 commitsWeek of 2025-11-16: 0 commitsWeek of 2025-11-23: 0 commitsWeek of 2025-11-30: 0 commitsWeek of 2025-12-07: 0 commitsWeek of 2025-12-14: 0 commitsWeek of 2025-12-21: 0 commitsWeek of 2025-12-28: 0 commitsWeek of 2026-01-04: 0 commitsWeek of 2026-01-11: 0 commitsWeek of 2026-01-18: 0 commitsWeek of 2026-01-25: 0 commitsWeek of 2026-02-01: 0 commitsWeek of 2026-02-08: 0 commitsWeek of 2026-02-15: 0 commitsWeek of 2026-02-22: 0 commitsWeek of 2026-03-01: 0 commitsWeek of 2026-03-08: 0 commitsWeek of 2026-03-15: 7 commitsWeek of 2026-03-22: 93 commitsWeek of 2026-03-29: 2 commitsWeek of 2026-04-05: 7 commitsWeek of 2026-04-12: 44 commitsWeek of 2026-04-19: 2 commitsWeek of 2026-04-26: 0 commitsWeek of 2026-05-03: 25 commitsWeek of 2026-05-10: 7 commitsWeek of 2026-05-17: 0 commitsWeek of 2026-05-24: 0 commitsWeek of 2026-05-31: 0 commitsWeek of 2026-06-07: 17 commitsWeek of 2026-06-14: 2 commitsWeek of 2026-06-21: 3 commitsWeek of 2026-06-28: 4 commitsWeek of 2026-07-05: 20 commitsWeek of 2026-07-12: 0 commitsWeek of 2026-07-19: 1 commitsWeek of 2026-07-26: 40 commitsWeek of 2026-08-02: 11 commitsWeek of 2026-08-09: 33 commitsWeek of 2026-08-16: 50 commitsWeek of 2026-08-23: 54 commitsWeek of 2026-08-30: 0 commitsWeek of 2026-09-06: 11 commitsSep 14, 2025Sep 6, 2026
433 commits in the last 52 weeks.

When work happens

weekday and hour
SunMonTueWedThuFriSat036912151821Sun 0:00 — 2 commitsSun 1:00 — 0 commitsSun 2:00 — 7 commitsSun 3:00 — 0 commitsSun 4:00 — 2 commitsSun 5:00 — 2 commitsSun 6:00 — 0 commitsSun 7:00 — 3 commitsSun 8:00 — 3 commitsSun 9:00 — 0 commitsSun 10:00 — 4 commitsSun 11:00 — 2 commitsSun 12:00 — 2 commitsSun 13:00 — 5 commitsSun 14:00 — 7 commitsSun 15:00 — 2 commitsSun 16:00 — 5 commitsSun 17:00 — 7 commitsSun 18:00 — 3 commitsSun 19:00 — 1 commitsSun 20:00 — 1 commitsSun 21:00 — 0 commitsSun 22:00 — 0 commitsSun 23:00 — 1 commitsMon 0:00 — 0 commitsMon 1:00 — 3 commitsMon 2:00 — 0 commitsMon 3:00 — 1 commitsMon 4:00 — 3 commitsMon 5:00 — 1 commitsMon 6:00 — 2 commitsMon 7:00 — 1 commitsMon 8:00 — 1 commitsMon 9:00 — 6 commitsMon 10:00 — 0 commitsMon 11:00 — 1 commitsMon 12:00 — 1 commitsMon 13:00 — 4 commitsMon 14:00 — 2 commitsMon 15:00 — 1 commitsMon 16:00 — 1 commitsMon 17:00 — 2 commitsMon 18:00 — 3 commitsMon 19:00 — 2 commitsMon 20:00 — 4 commitsMon 21:00 — 4 commitsMon 22:00 — 4 commitsMon 23:00 — 5 commitsTue 0:00 — 0 commitsTue 1:00 — 2 commitsTue 2:00 — 4 commitsTue 3:00 — 2 commitsTue 4:00 — 2 commitsTue 5:00 — 2 commitsTue 6:00 — 4 commitsTue 7:00 — 1 commitsTue 8:00 — 6 commitsTue 9:00 — 8 commitsTue 10:00 — 8 commitsTue 11:00 — 4 commitsTue 12:00 — 7 commitsTue 13:00 — 3 commitsTue 14:00 — 7 commitsTue 15:00 — 4 commitsTue 16:00 — 16 commitsTue 17:00 — 1 commitsTue 18:00 — 2 commitsTue 19:00 — 6 commitsTue 20:00 — 3 commitsTue 21:00 — 5 commitsTue 22:00 — 7 commitsTue 23:00 — 3 commitsWed 0:00 — 5 commitsWed 1:00 — 5 commitsWed 2:00 — 1 commitsWed 3:00 — 3 commitsWed 4:00 — 5 commitsWed 5:00 — 4 commitsWed 6:00 — 4 commitsWed 7:00 — 1 commitsWed 8:00 — 5 commitsWed 9:00 — 0 commitsWed 10:00 — 2 commitsWed 11:00 — 2 commitsWed 12:00 — 2 commitsWed 13:00 — 10 commitsWed 14:00 — 3 commitsWed 15:00 — 5 commitsWed 16:00 — 2 commitsWed 17:00 — 4 commitsWed 18:00 — 6 commitsWed 19:00 — 1 commitsWed 20:00 — 0 commitsWed 21:00 — 0 commitsWed 22:00 — 4 commitsWed 23:00 — 1 commitsThu 0:00 — 0 commitsThu 1:00 — 0 commitsThu 2:00 — 1 commitsThu 3:00 — 0 commitsThu 4:00 — 0 commitsThu 5:00 — 5 commitsThu 6:00 — 0 commitsThu 7:00 — 1 commitsThu 8:00 — 1 commitsThu 9:00 — 0 commitsThu 10:00 — 3 commitsThu 11:00 — 0 commitsThu 12:00 — 1 commitsThu 13:00 — 1 commitsThu 14:00 — 5 commitsThu 15:00 — 8 commitsThu 16:00 — 0 commitsThu 17:00 — 3 commitsThu 18:00 — 1 commitsThu 19:00 — 3 commitsThu 20:00 — 7 commitsThu 21:00 — 1 commitsThu 22:00 — 2 commitsThu 23:00 — 4 commitsFri 0:00 — 2 commitsFri 1:00 — 0 commitsFri 2:00 — 1 commitsFri 3:00 — 3 commitsFri 4:00 — 0 commitsFri 5:00 — 0 commitsFri 6:00 — 0 commitsFri 7:00 — 1 commitsFri 8:00 — 1 commitsFri 9:00 — 1 commitsFri 10:00 — 5 commitsFri 11:00 — 8 commitsFri 12:00 — 5 commitsFri 13:00 — 6 commitsFri 14:00 — 3 commitsFri 15:00 — 4 commitsFri 16:00 — 0 commitsFri 17:00 — 0 commitsFri 18:00 — 2 commitsFri 19:00 — 0 commitsFri 20:00 — 0 commitsFri 21:00 — 1 commitsFri 22:00 — 1 commitsFri 23:00 — 2 commitsSat 0:00 — 0 commitsSat 1:00 — 1 commitsSat 2:00 — 0 commitsSat 3:00 — 0 commitsSat 4:00 — 0 commitsSat 5:00 — 3 commitsSat 6:00 — 2 commitsSat 7:00 — 3 commitsSat 8:00 — 0 commitsSat 9:00 — 0 commitsSat 10:00 — 2 commitsSat 11:00 — 3 commitsSat 12:00 — 3 commitsSat 13:00 — 5 commitsSat 14:00 — 1 commitsSat 15:00 — 3 commitsSat 16:00 — 1 commitsSat 17:00 — 6 commitsSat 18:00 — 3 commitsSat 19:00 — 2 commitsSat 20:00 — 0 commitsSat 21:00 — 7 commitsSat 22:00 — 2 commitsSat 23:00 — 2 commits
Commit volume by weekday and hour (UTC). Larger dots mean more commits.

Who is committing

last 52 weeks
Maintainer commits484 (98%)
Community commits8 (2%)

492 commits in total over the last year.

  • freeCodeCamp/freeCodeCamp

    freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.

    455.3K stars · TypeScript

  • openclaw/openclaw

    The AI that really does things. Any OS. Any Platform. The lobster way. 🦞

    389.4K stars · TypeScript

  • openclaw/openclaw

    Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

    384.4K stars · TypeScript

  • openclaw/openclaw

    Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

    384.4K stars · TypeScript

  • openclaw/openclaw

    Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

    384.4K stars · TypeScript

  • anomalyco/opencode

    The open source coding agent.

    206.4K stars · TypeScript