AgentFloorDocs

For developers

The source code is public on GitHub: agentfloor-dev/AgentFloor.

Stack

  • Client: Vite, React 19, TypeScript and Zustand, with a hand-drawn Canvas 2D isometric renderer. Office files are handled in the browser with ExcelJS, pptxgenjs, pdf.js and docxtemplater.
  • Server: a Cloudflare Worker (Hono) with D1. The browser orchestrates each step so every move can be animated, and the Worker owns all prompts and secrets.
  • AI:
    • OpenRouter: Claude Sonnet for Jason, Claude Haiku for the team, free fallbacks
    • Deepgram: meetings
    • Tavily: search
    • Workers AI: images

Run it locally

git clone https://github.com/agentfloor-dev/AgentFloor.git
cd AgentFloor
npm install
cp .dev.vars.example .dev.vars   # add OPENROUTER_API_KEY and a random TOKEN_SECRET
npm run dev                      # http://localhost:5173

Set MOCK_AI=1 in .dev.vars to work on the UI at zero cost.

Deploy your own

The README covers creating the D1 database, the migrations, secrets and wrangler deploy. Quotas, models and the daily budget are variables in wrangler.jsonc. Technical notes: ARCHITECTURE.md.