WONDEROUS / FIELD GUIDE

Agentic workflows

See what triggers an agent, where an engineer makes the call and how the result is checked. The first two diagrams summarize delivered work. The remaining three are reference designs.

01 / IMPLEMENTATION EXAMPLE

Production incident response

From an alert to a verified recovery. The approval rule depends on the risk of the proposed action.

01 / OBSERVE

Collect telemetry

Read traces, logs and metrics from affected services.

02 / REASON

Trace the cause

Connect API latency to evidence such as connection-pool saturation.

03 / ACT

Check authority

Run the approved recovery step within the permitted scope.

04 / VERIFY

Check recovery

Compare service health against its baseline.

APPROVAL DECISION

The proposed action follows one of two paths:

Within policy

Run the bounded action, then verify recovery.

Above the risk threshold

Send the proposal to the on-call engineer. Wait for approval before acting.

IF HEALTH DOESN’T RECOVER

Follow the approved rollback path where applicable and escalate to on-call with the evidence and actions already taken.

Tools included OpenTelemetry, Prometheus, Loki and Keep for telemetry and triage. Recovery workflows used n8n and LangGraph.

Read the AIOps case study

02 / IMPLEMENTATION EXAMPLE

Pull request review

The review agent returned findings in the delivery pipeline. The engineer retained the merge decision.

01 / TRIGGER

PR opened

The pipeline submits the changed code for review.

02 / REVIEW

Inspect the diff

Check logic and test coverage. Flag security findings.

03 / HANDOFF

Return findings

Send findings to the developer for review or revision.

04 / DECISION

Engineer decides

Review findings and required checks before approving a merge.

MERGE BOUNDARY

The agent can flag a concern. It cannot approve its own findings or bypass required checks.

Tools included PR-Agent, GitLab Duo, GitHub Actions and Ollama.

03 / REFERENCE ARCHITECTURE

Evaluation before and after deployment

A reference design for release checks, Production monitoring and maintaining a test suite from reviewed failures.

PRE-RELEASE

INPUT

Versioned test set

Run a candidate against known scenarios.

EVALUATE

Score the responses

Check task quality and defined safety criteria.

DECIDE

Release gate

Block release if required checks fail.

PRODUCTION

CAPTURE

Collect traces

Log permitted inputs, actions and outcomes.

MONITOR

Review samples

Watch for drift and failing cases.

ROUTE

Flag for review

Send failures to the responsible team.

FEEDBACK

TRIAGE

Review the failure

Confirm the issue and remove sensitive data.

LABEL

Define expected behavior

Document what should have happened.

RETEST

Add a test case

Run it against subsequent releases.

Tool examples: GitHub Actions for CI, OpenTelemetry for traces and DeepEval or Ragas for evaluation.

04 / REFERENCE ARCHITECTURE

Agent system architecture

Separate the parts that plan work from the parts that authorize and execute it.

REQUEST TO EXECUTION

REQUEST

Define the task

Identify the request, caller and task limits.

PLAN

Coordinate the work

Use an orchestrator and model to propose steps.

EXECUTE

Call permitted tools

Check permissions and approvals outside the model.

SUPPORTING SERVICES

STATE

Task memory

Keep scoped working state with retention limits.

CONTEXT

Knowledge retrieval

Supply context from approved sources.

OPERATIONS

Deployment and evidence

Trace actions and evaluate results in the runtime.

CONTROLS ACROSS THE STACK

Keep identity, tool permissions, evaluation and audit records independent of the model choice.

05 / REFERENCE ARCHITECTURE

Retrieval with policy controls

A retrieval-augmented generation (RAG) design that separates document preparation from answering a request.

DOCUMENT INGESTION

SOURCE

Approved sources

Read authorized documents and records.

PREPARE

Classify and redact

Split documents and attach access metadata.

INDEX

Publish the index

Store searchable content with source and access metadata.

REQUEST TO ANSWER

RETRIEVE

Filter by access

Retrieve and rank only permitted material.

GENERATE

Answer from sources

Use retrieved material and preserve source references.

VERIFY

Check or decline

Cite support for the answer or say the evidence is insufficient.

MODEL AND AUDIT BOUNDARY

Use a provider interface for models and embeddings. Re-evaluate when either changes and record source lineage without retaining unnecessary sensitive inputs.

Discuss your desired outcomes

Discuss the workflow, the operating constraints and the result you need.

Contact wonderous.ai