Grammar of Streaming
Once data is accessible through a streaming interface, CubeDynamics gives you a grammar for computation.
The grammar is intentionally simple:
pipe(...)- verbs
- lazy evaluation where possible
- composable workflows
This simplicity is a feature for both scientists and AI agents.
Core Pattern
from cubedynamics import pipe, verbs as v
result = (
pipe(cube)
| v.anomaly()
| v.aggregate()
| v.detrend()
)
In This Section
Why Grammar Matters
The grammar makes workflows:
- readable
- inspectable
- reproducible
- easy to reason about in notebooks and agent-driven execution