Auto-generated overview of the monorepo workspace. Start with the Introduction and Quickstart if you are new to Fleet Pi.Documentation Index
Fetch the complete documentation index at: https://docs.qredence.ai/llms.txt
Use this file to discover all available pages before exploring further.
Workspace layout
Key dependencies
| Package | Purpose |
|---|---|
| @tanstack/react-start | Full-stack React framework |
| @earendil-works/pi-coding-agent | Pi coding-agent runtime |
| @earendil-works/pi-ai | Pi AI primitives |
| Amazon Bedrock | Primary LLM provider |
| pino + pino-pretty | Structured logging |
| opossum | Circuit breaker pattern |
| zod + @asteasolutions/zod-to-openapi | Schema validation & OpenAPI generation |
| vitest + @playwright/test | Testing frameworks |
| husky + lint-staged | Pre-commit hooks |
Data flow
- The browser sends a user message to
/api/chatvia NDJSON stream. - The server route sanitizes input (PII), logs with correlation IDs, and creates or resumes a Pi session.
- The Pi server module invokes Amazon Bedrock through a circuit breaker.
- Streaming events (
start,delta,tool,done,error) flow back to the client. - The client hydrates messages from the Pi session file on reload and opens supporting resources/workspace panels on demand.
- Supporting endpoints expose models, resources, workspace files, sessions, and health checks.
- Durable agent context lives in
agent-workspace/, including project memory, plans, artifacts, and workspace-installed Pi resources.