CivAgent is now a desktop-first connected agent product with a separate public website.
/serves the CivAgent Desktop product website./appserves the operating workspace used by the Electron app.desktop/main.jsstarts the Python backend, waits for/api/health, loads/app, and stops the backend when the app exits.server.pyserves static files,.envreadiness APIs, real-agent APIs, SQLite evidence, audit events, and Supabase sync.
- User creates
.envfrom.env.exampleand fills every required provider value. - User opens CivAgent Desktop; Electron starts the backend and the backend reads
.env. - User submits an organization profile and required website.
- Backend validates readiness for Gemini, Tavily, Supabase, Firecrawl, Composio, and E2B.
- Tavily performs live company and market research.
- Firecrawl extracts the submitted website.
- Composio fetches available SaaS/action toolkits.
- E2B executes sandboxed ROI, risk, and workflow analysis.
- Gemini generates the company operating model through the Gemini
generateContentREST API. - Supabase writes production evidence tables and must succeed before completion.
- SQLite stores the completed local evidence record and audit event.
Local SQLite tables:
workspaces: latest organization profile by name.agent_runs: complete real-agent report payloads.agent_artifacts: generated company artifacts.agent_sources: Tavily and Firecrawl research evidence.tool_calls: Gemini, Tavily, Firecrawl, Composio, E2B, and Supabase sync events.approvals: human approval policies.audit_events: append-only system activity.
Runtime provider configuration is .env-only. The app shows masked readiness, but it does not collect or save provider secrets in the UI.
- Gemini: required model reasoning and organization-agent orchestration.
- Tavily: required live research.
- Firecrawl: required website extraction.
- Composio: required SaaS tool/action graph.
- E2B: required sandbox execution lane.
- Supabase: required cloud evidence store.
The product can be evaluated as installable software while keeping the public website clean. Company users operate inside the desktop command workspace, provider values stay in .env or backend environment variables, and completed runs require live tools, generated artifacts, cloud evidence, and local auditability.