FastReAct 当前主线是 fastreact-nano:一个面向 PSKA 和其他上层系统的 headless agentic service。它的核心形态不是 Web 应用,而是通过 HTTP/SSE 提供单智能体循环、工具编排、MCP 调用、审批、run/trace/task 管理和事件流。
当前后端版本:fastreact-nano 2.4.2。
推荐从仓库根目录启动完整本地服务:
cd /Users/xudawei/FastReAct
mkdir -p .fastreact
cp fastreact-nano/config.pska.example.json .fastreact/config.json
# Edit .fastreact/config.json and set llm.api_key or llm.api_key_file.
./start.sh默认地址:
Service console: http://127.0.0.1:3000/service
HTTP daemon: http://127.0.0.1:8000
Daemon-only 运行:
cd /Users/xudawei/FastReAct/fastreact-nano
python3 -m fastreact.adapters.http --config /Users/xudawei/FastReAct/.fastreact/config.json完整文档入口:
Primary endpoint:
POST /v1/chat/completionsCommon service endpoints:
GET /healthGET /readyGET /v1/setupGET /v1/metricsPOST /v1/chat/completionsPOST /v1/runsGET /v1/runsGET /v1/tracesGET /v1/tasksGET /v1/approvalsGET /v1/policyGET /v1/toolsGET /v1/skillsGET /v1/workspace/profile
If service.service_token is configured, protected endpoints require either:
X-FastReAct-Service-Token: replace-with-local-service-tokenor:
Authorization: Bearer replace-with-local-service-tokenFastReAct/
├── README.md # Repository entry point
├── start.sh # Starts daemon and optional service console from one JSON config
├── docs/ # Pointer only; current docs live under fastreact-nano/docs
├── docs_archive/ # Pre-nano, v1, migration, and historical project docs
├── fastreact-nano/ # Current Python service implementation
├── fastreact-nano/docs/ # Current maintained documentation
├── fastreact-nano/docs_archive/ # Nano-era historical reports and implementation notes
└── fastreact-nano-web/ # Optional Next.js service console
Runtime/test generated text such as fastreact-nano/MagicMock/..., workspaces/default/HISTORY.md, and workspaces/default/MEMORY.md is not part of the maintained documentation set.
./start.sh resolves config in this order:
- Explicit path passed to
./start.sh /path/to/config.json /Users/xudawei/FastReAct/.fastreact/config.json~/.fastreact/config.jsonfastreact-nano/.fastreact/config.jsonfastreact-nano/config.json
The backend Config.load() also supports --config, then falls back to ~/.fastreact/config.json, ./.fastreact/config.json, and ./config.json relative to the backend working directory.
See configuration file locations for details.
FastReAct and PSKA integrate through service and tool protocols, not direct imports.
PSKA owns knowledge storage, ACLs, review/jobs, citations, and PSKA MCP tools. FastReAct owns agent planning, LLM calls, tool orchestration, session/runtime control, approvals, runs, traces, and event streaming.
Protocol details live in PSKA_FASTREACT_PROTOCOL.md.
Current docs belong in fastreact-nano/docs/. Short-lived implementation notes, sprint summaries, and historical audits belong in the appropriate archive. Before adding a new document, check DOCS_INDEX.md and update an existing page when possible.