Knowledge Base updated: 2026-11-22
Ever Gauzy knowledge base
Orientation
Ever Gauzy is an Nx/Lerna monorepo for a multi-tenant business platform: NestJS services expose the business domain and APIs, Angular delivers the primary web product, and Electron applications collect desktop time-tracking data.
The platform is organized around reusable contract and core-domain packages, application-specific bootstraps, and server/UI plugins. Persistent business state is owned by the backend domain and its migrations; browser, desktop, embedded-client, and MCP clients consume those boundaries.
Collaboration features—including documents, chat, inbox, realtime workflows, external work-management integrations, task automation, and Ever platform federation—are delivered primarily through plugins. Deployment, worker scheduling, and workspace tooling operate across the application set.
flowchart TD
Users[Users and organizations] --> Web[Angular Gauzy web app]
Users --> Desktop[Electron desktop apps and agent]
AI[AI clients] --> MCP[MCP client/auth apps]
Embed[Embedded clients] --> API
Web --> API[Nest API application]
Desktop --> API
MCP --> ServerMCP[server-mcp and mcp-server]
ServerMCP --> API
API --> Core[Core domain services]
Core --> Contracts[Contracts and shared libraries]
API --> DB[(Platform database)]
API --> Plugins[Server plugins]
Web --> UI[UI Core/Auth/Config libraries]
Web --> UIPlugins[UI plugins]
Plugins <--> UIPlugins
Worker[Worker and scheduler] --> Core
Worker --> Plugins
Plugins --> Ever[Ever platform services]
sequenceDiagram
participant G as Gauzy instance
participant EC as Ever Connect plugin
participant EP as Ever platform
participant UI as Ever Connect UI
G->>EC: Configure instance connection
EC->>EP: Discover and authenticate endpoint
EP-->>EC: Integration state and metadata
EC->>EP: Synchronize memberships and feeds
EC-->>UI: Expose connection and operator state
Glossary
- Ever Connect: Server and UI plugin pair that connects a Gauzy instance to Ever platform services.
- Ever Instance: Plugin capability for Ever-side operator and instance interaction.
- Site grant: An embedded-client authorization record that constrains an allowed site or origin.
- Member token: Embedded access token exchanged for a permitted organization member context.
- UI Core: Shared frontend packages providing common Gauzy UI services, components, styles, and localization.
Invariants
- Shared API shapes belong in contracts rather than app-local duplicates; see packages/…/*.model.ts.
- Tenant and organization context must be enforced at backend boundaries; see
packages/core/src/lib/**service and resolver patterns. - Embedded access is origin- and grant-constrained, not a general browser API credential; see packages/…/embed-site-grant.service.ts.
- Plugin server and UI registration must remain coordinated through plugin entrypoints; see packages/…/*.plugin.ts.
- MCP tool mutation handling uses shared input and turn-application utilities; see packages/…/input-schemas.ts and packages/…/utils.ts.
Routing table
apps/api/**, apps/…/main.ts,apps/api/src/app/**-> API application lifecyclepackages/core/src/lib/**,packages/contracts/src/lib/**,packages/common/**,packages/config/**-> Domain services and contractspackages/core/src/lib/auth/**,packages/auth/**,apps/gauzy/src/app/@theme/components/header/**-> Identity and access controlpackages/core/src/lib/embed/**,apps/api/src/app/migrations/**/*embed*-> Embedded client accesspackages/core/src/lib/account-deletion/**,apps/gauzy/src/app/pages/auth/**,apps/api/src/app/migrations/**/*deletion*-> Account deletionpackages/plugins/**,apps/api/src/app/plugin/**,apps/gauzy/src/app/@core/services/plugin/**-> Plugin architectureapps/worker/**,packages/core/src/lib/scheduler/**,packages/core/src/lib/**/scheduler/**-> Background jobs and schedulingpackages/core/src/lib/subscription/**,packages/plugins/stripe/**,apps/gauzy/src/app/pages/settings/billing/**-> Subscription billingapps/api/**,packages/core/**,packages/contracts/**,packages/auth/**-> Backend platform and business servicesapps/gauzy/src/**, apps/…/project.json,apps/gauzy/src/manifest.webmanifest-> Angular web applicationpackages/ui-core/**,packages/ui-auth/**,packages/ui-config/**,packages/react-ui/**-> Frontend shared librariesapps/gauzy/src/app/pages/**,apps/gauzy/src/app/@theme/**-> Web client experienceapps/desktop/**,apps/desktop-timer/**,apps/desktop*/electron-builder.*-> Electron desktop applicationsapps/agent/**,apps/agent/src/main/**,apps/agent/src/workers/**-> Desktop agent capture and syncpackages/desktop-core/**,packages/desktop-activity/**,packages/desktop-lib/**,packages/desktop-ui-lib/**,packages/desktop-window/**-> Desktop shared librariesapps/desktop/**,apps/desktop-timer/**,apps/agent/**,packages/desktop-*/**-> Desktop time trackingpackages/mcp-server/**,apps/server-mcp/**-> MCP server capabilitiesapps/mcp-client/**,apps/mcp-auth/**-> MCP authentication and clientpackages/mcp-server/**,apps/server-mcp/**,apps/mcp-client/**,apps/mcp-auth/**-> MCP integration- nx.json, lerna.json, package.json, docker-compose*.yml,
.github/workflows/**,deploy/**-> Build and deployment automation - nx.json, lerna.json,
Dockerfile*, docker-compose*.yml,.github/**,scripts/**-> Deployment and developer operations packages/plugins/chat/**,packages/plugins/docs/**,packages/plugins/integration-*/**,packages/plugins/inbox/**,packages/plugins/realtime/**-> Collaboration plugins and realtime workflowspackages/plugins/jira/**,packages/plugins/jira-ui/**-> Jira integrationpackages/plugins/task-automation/**,packages/plugins/task-automation-ui/**-> Task automationpackages/plugins/ever-connect/**,packages/plugins/ever-connect-ui/**,packages/plugins/ever-instance/**-> Ever platform integrationpackages/plugins/chat/**,packages/plugins/docs/**,packages/plugins/inbox/**,packages/plugins/realtime/**,packages/plugins/ever-connect/**,packages/plugins/task-automation/**-> Collaboration suite