# FAROS: six stages, one human gate, and a user identity that arrives in a header

> FAROS is a bilingual, blueprint-driven multi-agent system that takes a research question through literature search, planning, code, experiments, a paper and a review. Its own documentation is unusually specific about what it is not yet, and unusually specific about deployment: the production notes require a trusted reverse proxy to inject the user header that the per-user credential isolation depends on.

**OpenNSWM-Lab/FAROS** — A blueprint-driven AutoResearch runtime for orchestrating AI research workflows from idea generation and experiments to paper writing and peer review.

- Repository: https://github.com/OpenNSWM-Lab/FAROS
- Stars: 3,049 · Forks: 388
- Language: Python
- License: MIT
- Published: 2026-09-17 · Updated: 2026-09-17 · Language: en
- Canonical page: https://hysenlabs.com/projects/opennswm-lab-faros

## Six stages, one human gate, and a loop back to the start

The research loop is drawn as a flowchart and it is the clearest statement of the design. A research interest becomes an Idea stage of retrieval and topic selection, which becomes a PlanPackage holding the plan and its quality gate, which becomes Code for the experiment engineering, then an Experiment stage for runs and metrics, then a Paper stage for the manuscript and figures, then ReviewX for checking claims against evidence against measurements, and then a human review node. That node has two exits. Approval leads to a deliverable. Revision loops back to the Idea stage rather than to whichever stage raised the problem. So the machine does six stages and the human holds one decision, and the revision path deliberately returns to the beginning of the research process rather than patching the paper. The project calls this a closed loop, and the mechanism that makes it a loop rather than a pipeline is that one branch goes backwards.

## The loop has an Experiment stage and the module tree does not

The documentation contains a directory tree, and comparing it with the pipeline diagram shows a mismatch. The loop names six machine stages: Idea, PlanPackage, Code, Experiment, Paper and ReviewX. The tree lists six backend module directories, but they are not those six. There is app/modules/idea, app/modules/code, app/modules/paper, app/modules/review and app/modules/platform, plus app/faros which holds the blueprint-driven runtime and capability registry. Experiment has no directory of its own; its comment sits inside the platform module, which is annotated as holding PlanPackage, experiments, runs and the provider. So the stage that produces the numbers the paper is written from is folded into the module that also owns the cross-module contract. Two comments also sit under experiments inside the backend while a separate experiments directory sits at the top level, and the English half of the readme never translates any of these annotations.

## User identity arrives in a header from a proxy you control

The Quick Start ends with a caution block and it contains the most consequential three sentences on the page. Do not commit real API keys to Git. For a production deployment you should set an environment variable named for the credential key, and a trusted reverse proxy should inject a request header carrying the user identity, at which point runtime provider configuration is isolated per user and stored encrypted. That is the whole isolation model in one line, and it means the application does not authenticate anybody: it reads an identity from a header. Anyone who can reach the service directly can set that header and be treated as that user, which is presumably why the note insists the header come from a trusted proxy. The UI offers the other route, configuring a provider key per account under the settings page, so the encrypted storage the note describes is the storage behind that form.

## Missing LaTeX and CJK fonts silently produce a fallback PDF

The requirements list is short and one of its entries is a degradation rather than a failure. Formal paper PDFs need latexmk, XeLaTeX, the ctex Chinese macro package and a set of CJK fonts, and when those are missing the system can only produce a fallback PDF. So the difference between a real typeset paper and a placeholder is a set of system packages, and the page does not say which of the two you get or how you would be told. The same list makes Docker optional in one sentence and mandatory in the next half: browsing and light development need no Docker, but the formal Code and Experiment sandbox must use a Docker Engine. Node and Python requirements are given as a Python version floor and a Node version floor, and the LLM requirement is one compatible provider with a named recommendation.

## The backend runs on 8005 and the frontend on 5176

The startup sequence is two terminals and two ports, and the wiring between them is done with an environment variable rather than a config file. The backend is a virtual environment, a pip install from a requirements file, and a server started on the loopback interface at port 8005 with reload enabled. The frontend is an npm clean install followed by a dev server whose base URL is passed in for that one command, after which you open port 5176 in a browser and the API documentation is served from the backend under an /api/docs path. The backend start line is the whole of it:

```bash
uvicorn app.main:app --host 127.0.0.1 --port 8005 --reload
```

and the frontend start line passes the address in for that one command only:

```bash
VITE_API_BASE_URL=http://127.0.0.1:8005 npm run dev
``` Provider configuration follows, either through the settings page for the current account or through three exported environment variables naming the active provider, the base URL and the API key. That base URL points at an OpenAI-compatible endpoint on a cloud vendor's dash scope service, which is how a recommended provider chosen for convenience is reached without a native client.

## The published baseline is 644 backend tests and 35 frontend tests

The verification section gives the commands and then the numbers, which is more than most projects publish. The backend suite is run through pytest in quiet mode from inside the virtual environment, the frontend suite through the package runner's test script, and then a production build is run as a third step. The stated baseline is 644 passing backend tests, 35 passing frontend tests, a passing TypeScript production build, and a passing check of real topic recommendation against the recommended provider along with the main page flows. The last line is the notable one: the baseline includes a live model call, so the suite as described is not hermetic and its numbers depend on a provider being configured and reachable. The repository has no GitHub releases at all, so this list is the only statement of where the project stands.

## The documented tree omits three top level directories

The layout block in the readme is a useful map and is not the whole repository. It shows a backend directory with its application packages, an experiments directory for reproducible entry points, backend tests, a frontend source directory, a top level experiments directory holding the review evaluation, ablation and human assessment tools, and a docs directory. The actual top level also contains a deploy directory, an assets directory and a scripts directory, none of which appear in the block, along with a root image file. The scripts directory is not incidental, because the requirements section tells you to run a dependency check script from it. So the one structural map in the document omits the deployment guide that the same page tells you to read for Ubuntu dependencies and for the compute node and proxy configuration, and omits the directory holding the script it tells you to run.

## Two of the six linked documents are Chinese only, and so is the tree

The readme is genuinely bilingual, with a language switch at the top and the English half repeating the overview and the problem table. The rest is not duplicated. Of the six documents linked at the end, two carry a Chinese suffix in their filename and therefore have no English counterpart: the project documentation overview and the paper skill pipeline reference. The remaining four, including the developer guide and the handoff guide from Idea to Plan, are not marked for a language. The layout block has the same asymmetry in a quieter form, because every comment in it is written only in Chinese, so a reader working in the English half gets the directory names and has to guess what each one is for. The project states its current boundaries in the same way, as a release candidate for competition validation and research prototypes rather than an unattended replacement for a researcher, with cross-disciplinary experiment execution, further domain blueprints, large-scale parallel scheduling and broader human evaluation still being built.

## Conclusion

FAROS is worth reading if you are interested in how to make a multi-agent research pipeline auditable, because the design choices that matter for that are all documented: a structured contract between modules, an evidence gate before ideation, traceable identifiers shared across artifacts, and a human decision point rather than an automatic loop. It is not a research system to run unattended, and the page says so, calling itself a release candidate for competition validation and prototyping. Before you deploy anything, read the security note about the credential key and the user header, because the isolation model depends on a proxy you control, and install the LaTeX toolchain with CJK fonts if you intend to produce real PDFs rather than fallbacks.

## FAQ

### What is FAROS?

It is a blueprint-driven AutoResearch runtime and a multi-agent system built around the real scientific workflow. It covers topic selection, literature retrieval, research planning, code generation, experiment recording, paper writing and peer review, preserving provenance, decisions, artifacts and human feedback at every stage. The runtime is designed as Blueprint plus Capability plus Profile plus Provider so new workflows can be added without rebuilding the orchestration core.

### What are the environment requirements for FAROS?

Python 3.11 or newer and Node.js 18 or newer. Docker is not needed for browsing or light development but a Docker Engine is required for the formal Code and Experiment sandbox. Producing real paper PDFs needs latexmk, XeLaTeX, the ctex Chinese macro package and a set of CJK fonts, and without them only a fallback PDF can be produced. At least one compatible LLM provider is required, with one provider recommended.

### How do I run FAROS locally?

Clone the repository, change into the backend directory, create a virtual environment, install from requirements.txt, and start the server on the loopback interface at port 8005 with reload. Then change into the frontend directory, run a clean npm install, and start the dev server with the API base URL pointed at port 8005. The interface is served on port 5176 and the API documentation from the backend under an /api/docs path.

### How does FAROS configure its model provider and keep keys?

You can configure a provider key for the current account in the interface under settings for the LLM provider, or export three environment variables before starting the backend naming the active provider, the base URL and the API key. The production note says not to commit real keys, to set an environment variable for the credential key, and to have a trusted reverse proxy inject a user header, with runtime provider configuration isolated per user and stored encrypted.

### What is PlanPackage in FAROS?

It is the cross-module contract. It freezes hypotheses, variables, steps, acceptance criteria and evidence references into a structured object so that modules do not exchange unstructured prose. The stated effect is that downstream code does not have to guess upstream intent and that the review stage can trace each conclusion back to the evidence that supported it.

### What are the current limitations of FAROS?

The project describes itself as a release candidate for competition validation and research prototypes rather than an unattended replacement for a researcher, and says human review and checking the original evidence are still expected for important conclusions. Cross-disciplinary experiment execution, further domain blueprints, large-scale parallel scheduling and broader human evaluation are all listed as still being built.

## Sources

- [Issues](https://github.com/OpenNSWM-Lab/FAROS/issues)
- [OpenNSWM-Lab/FAROS on GitHub](https://github.com/OpenNSWM-Lab/FAROS)
- [README](https://github.com/OpenNSWM-Lab/FAROS/blob/main/README.md)

---

Hysen Labs editorial analysis, written from the project's own repository and release notes. Cite the canonical page: https://hysenlabs.com/projects/opennswm-lab-faros
