Knowledge Base updated: 2026-11-22
Keep knowledge base
Orientation
Keep is an alert-management and automation platform. Its Python backend ingests provider signals, stores and queries alerts, evaluates workflows, and exposes product APIs; its Next.js application provides the operator experience.
The main backend areas are alert lifecycle services, workflow automation, provider integrations, identity and secret management, reusable automation primitives, and the FastAPI/worker runtime. The UI is in keep-ui/, with route-level product screens, shared features and entities, and authentication/API boundary code.
Critical state lives in backend persistence for alerts, incidents, workflows, providers, and execution records; provider and identity configuration resolves through configured secret and identity-manager backends. The browser maintains product-facing query, filter, and UI state while using backend APIs for durable operations.
flowchart LR
Providers[External providers] --> Intake[Alert ingestion]
Intake --> Alerts[Alerts and incidents]
Alerts --> Rules[Rules and conditions]
Rules --> Workflows[Workflow engine]
Workflows --> Actions[Provider actions]
Actions --> Providers
API[FastAPI routes] --> Alerts
API --> Workflows
API --> Config[Provider, identity, and secrets]
Workers[ARQ workers and jobs] --> Intake
Workers --> Workflows
UI[Next.js web application] --> API
UI --> Auth[UI authentication]
Auth --> Config
API --> Observability[Logging and observability]
UI --> Observability
Routing table
- keep/…/alerts*.py, keep/…/alerts*.py -> docs/alert-lifecycle.md
keep/providers/**, keep/…/alerts*.py -> docs/alert-ingestion-and-deduplication.md- keep/…/alerts*.py, keep/…/alerts*.py, keep/…/incidents*.py -> docs/alert-search-filtering-and-incidents.md
keep/workflowmanager/**, keep/…/workflows*.py -> docs/workflow-automation.md- keep/…/workflow*.py, keep/…/workflow*.py, keep/…/workflow*.py -> docs/workflow-definition-and-management.md
keep/workflowmanager/**,keep/rulesengine/**-> docs/workflow-execution-engine.mdkeep/providers/**, keep/…/provider*.py -> docs/provider-integrations.mdkeep/providers/**, keep/…/provider*.py -> docs/provider-implementation-and-dispatch.md- keep/…/provider*.py, keep/…/provider*.py,
keep/providers/**-> docs/provider-configuration-and-provisioning.md keep/api/**,keep/worker/**, keep/…/enrichments_bl.py -> docs/api-and-background-runtime.mdkeep/api/controllers/**,keep/api/models/**-> docs/api-route-domains.mdkeep/worker/**,keep/api/tasks/**, keep/…/**jobs*.py -> docs/asynchronous-jobs-and-event-processing.mdkeep/api/core/identity_manager/**,keep/api/core/secret_manager/**, keep-ui/auth.config.ts -> docs/identity-access-and-secrets.mdkeep/api/core/identity_manager/**,keep/api/auth/**, keep-ui/auth.config.ts, keep-ui/…/keycloakRole.ts -> docs/authentication-and-authorization.mdkeep/api/core/secret_manager/**, keep/…/secret*.py -> docs/secret-management.mdkeep-ui/app/**,keep-ui/components/**, keep-ui/auth.config.ts, keep-ui/errors.ts, keep-ui/…/keycloakRole.ts -> docs/web-application.mdkeep-ui/app/(keep)/alerts/**,keep-ui/features/alerts/**,keep-ui/entities/alerts/**-> docs/alert-operations-ui.mdkeep-ui/app/(keep)/workflows/**,keep-ui/app/(keep)/extraction/**,keep-ui/app/(keep)/mapping/**,keep-ui/features/workflows/**-> docs/workflow-authoring-ui.mdkeep/rulesengine/**,keep/functions/**,keep/actions/**-> docs/automation-primitives.mdkeep/rulesengine/**,keep/functions/**-> docs/rule-evaluation-and-expression-functions.mdkeep/actions/**, keep/…/**throttl*.py -> docs/action-execution-and-throttling.md