Data Flow

How data moves through the Hoziron platform — message processing, workflow orchestration, PII boundaries, and provider interactions.

Message Processing Flow

Workflow Execution Flow

PII Boundary Enforcement

When PII Is Applied

BoundaryPII Applied?Direction
API → AgentNoOperator trusts their own input
Agent → Agent (workflow)YesEach step tokenizes for the next agent
Agent → Channel responseConfigurableTrust policy determines if hydrated
Agent → External API (via tool)ConfigurableTrusted destinations see real data
Agent → LLM providerYes (Phase 2)LLM sees tokens, not real PII
Agent → Audit logYesLogs never contain raw PII

Memory Isolation in Workflows

Data between steps flows only through step outputs (text passed as {{input}}). Each agent's ScopedMemory wrapper enforces that caller == scope_owner on every operation.

Provider Interaction

Tool Execution Flow

Credential Flow

Secrets never appear in config files, logs, or error messages:

Audit Trail Flow

Every authenticated API operation is recorded:

Audit writes are non-blocking (background task) to avoid adding latency to responses.