PORTFOLIO PROTOTYPE · BUILT FOR PURPOSE-LED TEAMS

AI illustration,
with a human in the loop.

CareCanvas turns a visual brief into a child-appropriate illustration through bounded agents, an explicit approval gate, durable execution, and a trace you can actually debug.

Next.js 16Gemini live agentsBundled image adapterHuman approvalTrace harness
INTERACTIVE PIPELINE

Move from brief to approved visual.

Gemini harness
01

Creative brief

No sensitive or real child data.

Edit mode
Audience · children 6–9162/1,200
Gemini credentials stay server-only. The image stage uses bundled artwork.
OUTPUT REVIEW

Name the feeling

Released
CareCanvas generated wellbeing illustrationRELEASE CANDIDATE
Agent brief

A reassuring, age-appropriate activity card that invites conversation without diagnosing feelings.

Preserve
  • quiet reading nook
  • soft window light
  • open space on the right
Avoid
  • medical claims
  • readable text
  • photorealistic child
Visual QA score94/100
  • Brief alignment
  • Child-safe visual
  • Text integrity
RUN TRACE · 0190F8E4

Every decision leaves evidence.

Attempts1/2
  1. Input accepted

    18 ms

    policy-gateway

    Schema valid · image URL normalized · budget reserved
  2. Scene brief

    622 ms

    brief-agent · demo adapter

    Intent structured into preserve / avoid constraints
  3. Safety review

    346 ms

    safety-agent · demo adapter

    Child-safe · claim-free · no personal data
  4. Human approval

    51,000 ms

    content lead

    Approved before provider spend
  5. Image edit

    7,428 ms

    image-provider · bundled result

    Bundled deterministic image completeddemo••••39n0d
  6. Visual QA

    843 ms

    visual-qa-agent · demo adapter

    Score 94/100 · output released

Trace policy: prompts and provider IDs are redacted before display. Secrets never reach the browser.

SYSTEM DESIGN

Small agents. Explicit boundaries.

The model proposes. Policy and people decide. Durable steps make every failure recoverable instead of mysterious.

01

Brief agent

Structures intent into preserve and avoid constraints. It cannot release an image.

02

Safety agent

Blocks unsafe or medicalized direction before generation. It cannot override a person.

03

Human gate

Reviews the actual refined brief before any paid provider request is submitted.

04

Visual QA

Scores alignment and safety. It gets one corrective retry—not an infinite loop.

Failure modeDetected byRecovery
Unsafe briefSafety agentStop before spend
Provider timeoutInngest traceTwo durable attempts
Visual defectVision QAOne corrected retry
Repeated defectRetry boundaryHuman review queue