Skip to content

Systems

Choose a practical question.

Each system shows its main path, safety check, effect or limit, and the case that supports it.

01 · AGENT

How can a conversation stay traceable across message and voice?

An AI conversation across message and voice

A customer may reply by message or voice. The team needs one safe, traceable conversation across both channels.

  1. 1Receive the message
  2. 2Check rules before asking AI
  3. 3Save the answer and show its status to the team
Safety check
Identity and conversation rules are checked before the AI can use narrow tools or send a reply; failed validation falls back or hands off to a person.
Effect or limit
The team can see what happened and recover when a channel or provider fails.
Read the related case
Technical detail

An LLM agent connected to messaging and voice, with deterministic guards before the model, retrieval over domain knowledge, narrow tool contracts, human handoff, persistence and an operator-facing control surface.

  • LLM agent
  • WhatsApp
  • Voice
  • Observability
An AI conversation across message and voice. Receive the message. Check rules before asking AI. Save the answer and show its status to the team.
Open full diagram

02 · MESSAGING

How can messages fail without losing their meaning?

Getting messages through safely

A failed message can mean a temporary outage, an invalid number or an opt-out. Treating them alike wastes attempts and hides the cause.

  1. 1Receive the provider's status
  2. 2Classify the reason
  3. 3Retry, pause or stop as appropriate
Safety check
A repeated event cannot send the same message twice; opt-outs stop future attempts.
Effect or limit
Operators get a specific reason and a sensible next action for each failure.
Read the related case
Technical detail

A provider-aware messaging path designed around idempotency, throttling, retries and explicit outcomes instead of treating every failed send the same way.

  • Idempotency
  • Retries
  • Rate limits
Getting messages through safely. Receive the provider's status. Classify the reason. Retry, pause or stop as appropriate.
Open full diagram

03 · SAFETY

How can an agent stop an automated loop before another AI call?

Stopping conversations between bots

An AI agent can end up answering an automated menu again and again, spending time and money without helping anyone.

  1. 1Read the incoming turn
  2. 2Look for repeated bot-like replies
  3. 3Stop the loop or continue the conversation
Safety check
The check runs before another AI call or outbound message.
Effect or limit
Known loops end with a clear status instead of continuing indefinitely.
Read the related case
Technical detail

A deterministic guard detects when an agent is talking to another automated system and terminates the loop before more model calls and messages are wasted.

  • Pre-LLM guard
  • Loop detection
  • Cost control
Stopping conversations between bots. Read the incoming turn. Look for repeated bot-like replies. Stop the loop or continue the conversation.
Open full diagram

04 · ROUTING

How much AI work does this task need?

Choosing how much AI work a task needs

Giving every request the same amount of AI processing can raise cost without improving simple conversations.

  1. 1Read the task and its risk
  2. 2Choose a processing level
  3. 3Evaluate quality and cost before rollout
Safety check
This is an evaluation-first design; a new routing policy is not presented as a deployed result.
Effect or limit
The proposed path makes the cost and quality trade-off measurable before adoption.
Read the related case
Technical detail

Task and risk signals select the reasoning budget through one routing policy, while stable context is cached and every migration remains evaluation-first.

  • Model policy
  • Context cache
  • Evaluations
Choosing how much AI work a task needs. Read the task and its risk. Choose a processing level. Evaluate quality and cost before rollout.
Open full diagram

05 · SECURITY

How can a record stay inside its organization boundary?

Keeping each organization's data separate

A request with another organization's record ID must never expose that organization's data.

  1. 1Identify the person
  2. 2Check which organization owns the record
  3. 3Allow or reject the read
Safety check
Permission is checked against the record owner, not just the ID supplied by the browser.
Effect or limit
The published system describes ownership checks at the API boundary without exposing security findings or path counts.
Read the related case
Technical detail

Identity and tenant ownership are resolved at the boundary so protected resources cannot be fetched through identifiers belonging to another organization.

  • Tenant boundary
  • IDOR
  • Identity
Keeping each organization's data separate. Identify the person. Check which organization owns the record. Allow or reject the read.
Open full diagram

06 · OPERATIONS

How can an operator tell why a delivery failed?

Finding out why a message failed

A generic failure label leaves support teams guessing whether the provider, the contact data or the product caused it.

  1. 1Collect provider responses
  2. 2Join them with internal events
  3. 3Show a specific reason to the operator
Safety check
Evidence is kept with the outcome so a failure is not mistaken for a customer decision.
Effect or limit
The team can investigate the right cause and choose a recovery action.
Read the related case
Technical detail

Provider responses, platform state and internal outcomes are correlated into an operator view that explains what failed and where to investigate.

  • Provider semantics
  • Cloud Run
  • Ops dashboard
Finding out why a message failed. Collect provider responses. Join them with internal events. Show a specific reason to the operator.
Open full diagram

07 · SCHEDULING

How could campaigns be released fairly without crowding others?

Sending campaigns without crowding others

Campaigns need a fair release plan that does not crowd other work or hide ownership after an interruption.

  1. 1Queue eligible work
  2. 2Apply a per-sender release policy
  3. 3Make unfinished work available after interruption
Safety check
The proposed design uses short-lived ownership so workers can coordinate without a long-running global lock.
Effect or limit
Fair dispatch and recovery remain proposed scope; no rollout or timing outcome is claimed.
Read the related case
Technical detail

A proposed leased queue uses per-sender pacing and short-lived work ownership to make dispatch decisions inspectable. Rollout is not confirmed.

  • Leased queue
  • Fair pacing
  • Recovery
Sending campaigns without crowding others. Queue eligible work. Apply a per-sender release policy. Make unfinished work available after interruption.
Open full diagram