-
Notifications
You must be signed in to change notification settings - Fork 0
overview getting started
Zachary BENSALEM edited this page May 22, 2026
·
1 revision
- Node.js 22+
- pnpm 11+ (
npm install -g pnpm) - AWS credentials with Bedrock access (for LLM calls)
git clone https://github.com/Qredence/fleet-pi.git
cd fleet-pi
pnpm installCopy .env.example to .env and fill in the required values:
cp .env.example .envMinimum required for local use:
# AWS credentials for Amazon Bedrock
AWS_REGION=us-east-1
# AWS_PROFILE=your-profile # if using named profiles
# AWS_BEARER_TOKEN_BEDROCK=... # if using bearer token auth
Optional integrations:
# Neon Postgres (enables session mirror + workspace indexing)
FLEET_PI_CHAT_DATABASE_URL=postgresql://...
FLEET_PI_AUTH_DATABASE_URL=postgresql://... # if separate from chat DB
# Daytona sandboxes (enables per-user isolated execution)
DAYTONA_API_KEY=...
DAYTONA_API_URL=...
# Override the repo root Pi operates inside
FLEET_PI_REPO_ROOT=/path/to/your-repo
pnpm dev # starts the web app on http://localhost:3000Visit http://localhost:3000. If authentication is configured, log in first.
- Type a message. A streaming response should appear.
- Ask
read package.json— a Read tool card should appear with file contents. - Ask
run pnpm --versionin Agent mode — a Bash card should render. - Refresh the page — the transcript should restore from the Pi session.
pnpm build # builds all packages and the web appThe production build outputs to apps/web/.output/. Run it with node apps/web/.output/server/index.mjs.
pnpm lint # ESLint across all workspaces
pnpm typecheck # tsc --noEmit across all workspaces
pnpm test # vitest unit tests
pnpm e2e # Playwright end-to-end tests (requires running dev server)
pnpm format # Prettier formatting
pnpm knip # detect unused exports/dependencies
pnpm syncpack # check dependency version consistencyIf you add FLEET_PI_AUTH_DATABASE_URL to switch from SQLite to Neon, run the migration:
pnpm --filter web auth:migrateFor the chat session mirror:
FLEET_PI_CHAT_MIGRATION_DATABASE_URL=postgresql://... pnpm chat:migrate