FR Demo

Architecture

dep DeploymentThe app runs in the browser and on Cloudflare. The agent runs on my computer and calls the same API.«device» browser«cloud» Cloudflare«device» my computerWeb app (Svelte)Checking engineTypeScriptONNX modelsreading, productsDevice-only modePython in the browserAPI (Python Worker)D1R2Workers AIreading modelTimer and emailMCP serverAgent(LangGraph)Search index(RAG)Other MCP clientsRESTHTTPSMCPdep Deployment
dep Three ways to runThe same code runs hosted, in the browser or on your own machine.«hosted»Cloudflare WorkerD1, R2, Workers AITimer, email«in the browser»Python (Pyodide)SQLite file, photosNo server«self-hosted»Python serverSQLite, folderDockerOne core: same routes,same checksdep Three ways to run
pkg Code packagesFolders of the repository and what depends on what.webapp, engineapicore, routesagentgraph, rag, mcpmldata, trainingevalstests of the enginesitethis websiteRESTRESTmodels (ONNX)testsimportsreads resultspkg Code packages