Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
"""Redis key helpers for run records and per-run event streams."""
def run_record_key(prefix: str, run_id: str) -> str:
"""Return the Redis string key holding one serialized run record."""
return f"{prefix}:runs:{run_id}:record"
def run_events_key(prefix: str, run_id: str) -> str:
"""Return the Redis stream key holding one run's event log."""
return f"{prefix}:runs:{run_id}:events"
def run_cancel_intent_key(prefix: str, run_id: str) -> str:
"""Return the private Redis stream key holding one cancellation intent."""
return f"{prefix}:runs:{run_id}:cancel-intent"
__all__ = ["run_cancel_intent_key", "run_events_key", "run_record_key"]