Knowledge Base updated: 2026-11-22
Dagster knowledge base
Orientation
Dagster is a Python data orchestration platform. Its core package defines declarative assets, ops, jobs, schedules, sensors, execution, and persistent orchestration state.
The runtime is served through a Dagster instance and APIs used by the webserver and UI. It records runs and structured events while coordinating resources, I/O managers, executors, and daemon processes.
Integration packages extend the core runtime for data platforms and external compute. Helm charts and developer tooling package those capabilities for deployment and code-location workflows.
flowchart TD
User[Users and automation] --> UI[Dagster UI]
User --> API[GraphQL API / webserver]
UI --> API
API --> WS[Workspace and code locations]
WS --> Defs[Definitions]
Defs --> Assets[Assets, ops, jobs]
Defs --> Auto[Schedules, sensors, automation]
Auto --> Daemon[Dagster daemon]
Daemon --> Runs[Run coordinator]
Assets --> Runs
Runs --> Exec[Execution runtime]
Exec --> Res[Resources and I/O managers]
Exec --> Events[Events and logs]
Events --> Instance[Dagster instance storage]
Runs --> Instance
Res --> External[External systems and integrations]
External --> Pipes[Pipes external processes]
Glossary
- Dagster instance: The configured boundary that supplies persistent run, event, schedule, and asset storage plus orchestration services.
- Code location: A loadable Python deployment containing Dagster definitions that is exposed through a workspace.
- Asset: A software-defined representation of a data artifact, with dependencies, metadata, materializations, and optional checks.
- I/O manager: A resource that stores outputs and loads inputs at execution boundaries.
- Pipes: Dagster's protocol for launching external compute and receiving structured context and events from it.
Codebase-wide invariants
- Definitions remain declarative and are loaded through code locations rather than embedded in the webserver process; see
python_modules/dagster/dagster/_core/definitions/**andpython_modules/dagster/dagster/_core/workspace/**. - Run and event state is accessed through Dagster instance storage abstractions, not a fixed database implementation; see
python_modules/dagster/dagster/_core/instance/**andpython_modules/dagster/dagster/_core/storage/**. - User compute receives external-system dependencies through resources and I/O managers; see python_modules/…/resource_definition.py and python_modules/…/io_manager.py.
- Operational interfaces consume structured event and run data rather than directly inspecting user code; see
python_modules/dagster/dagster/_core/events/**andpython_modules/dagster-graphql/dagster_graphql/schema/**. - Integration libraries are independently packaged under
python_modules/libraries/**, while Kubernetes deployment defaults and templates live underhelm/dagster/**.
Routing table
python_modules/dagster/dagster/_core/definitions/**-> docs/definitions-and-automation.mdpython_modules/dagster/dagster/_core/definitions/assets/**-> docs/software-defined-assets.md- python_modules/…/op_definition.py -> docs/ops-jobs-and-graphs.md
- python_modules/…/job_definition.py -> docs/ops-jobs-and-graphs.md
python_modules/dagster/dagster/_core/scheduler/**-> docs/schedules-sensors-and-automation.mdpython_modules/dagster/dagster/_daemon/**-> docs/schedules-sensors-and-automation.mdpython_modules/dagster/dagster/_core/execution/**-> docs/execution-runtime.mdpython_modules/dagster/dagster/_core/instance/**-> docs/execution-runtime.mdpython_modules/dagster/dagster/_core/execution/**-> docs/run-planning-and-execution.mdpython_modules/dagster/dagster/_core/executor/**-> docs/run-planning-and-execution.mdpython_modules/dagster/dagster/_core/instance/**-> docs/instance-and-persistence.mdpython_modules/dagster/dagster/_core/storage/**-> docs/instance-and-persistence.md- python_modules/…/resource_definition.py -> docs/resources-and-io-managers.md
- python_modules/…/*io_manager*.py -> docs/resources-and-io-managers.md
python_modules/dagster/dagster/_core/events/**-> docs/events-and-observability.md- python_modules/…/log_manager.py -> docs/events-and-observability.md
python_modules/dagster-graphql/**-> docs/user-interfaces.mdpython_modules/dagster-webserver/**-> docs/user-interfaces.mdpython_modules/dagster-graphql/dagster_graphql/schema/**-> docs/graphql-api.mdpython_modules/dagster-graphql/dagster_graphql/implementation/**-> docs/graphql-api.mdpython_modules/dagster-webserver/dagster_webserver/**-> docs/webserver-and-workspace.mdpython_modules/dagster/dagster/_core/workspace/**-> docs/webserver-and-workspace.mdjs_modules/dagster-ui/**-> docs/dagster-ui.mdjs_modules/ui-components/**-> docs/dagster-ui.mdpython_modules/libraries/**-> docs/ecosystem-and-deployment.mdhelm/dagster/**-> docs/ecosystem-and-deployment.mdpython_modules/dagster-pipes/**-> docs/pipes-and-external-processes.mdpython_modules/libraries/dagster-*/**-> docs/integration-libraries-and-deployment.mdhelm/dagster/**-> docs/integration-libraries-and-deployment.mdpython_modules/**/tests/**-> docs/quality-and-validation.mdexamples/**-> docs/quality-and-validation.mdpython_modules/**/tests/**-> docs/integration-tests-and-examples.mdexamples/**-> docs/integration-tests-and-examples.md