03 Agentic media workflow · 2026

Affinery.

An evidence-backed, human-approved workflow for researching affiliate opportunities and preparing professional TikTok-ready product media.

Role
System design · Python development
Focus
Evidence · Agents · Media QA
Status
Runnable vertical slice
Case / 03

Affinery / Human review console

Vertical slice
Project screenshot will be added hereEvidence in.
Professional ads out.
ResearchVerifyCreateReviewPublishLearn
Every public action ends with a human decisionImage pending

Automate the workflow, not accountability.

Affinery turns a constrained niche into a traceable production loop: product research, evidence verification, opportunity ranking, creative strategy, scripts, assets, media generation, quality checks, human review and publishing.

The runnable build includes database-backed campaigns, products, evidence, claims, review decisions, publishing records, metrics, automation jobs and agent telemetry. External providers remain explicit integrations rather than mocked production claims.

01

Evidence first

An advertising claim cannot enter creative output without attributable supporting evidence.

02

Human authority

Agents may research and prepare work, but only an operator can approve public publishing.

03

Bounded agents

Budgets, typed contracts, retries, idempotency and audit records constrain every automated stage.

Designed as
a controlled loop.

The current vertical slice is testable without paid provider calls, while preserving clear boundaries for production media, retrieval and TikTok integrations.

01Python

Python 3.12

Typed workflow contracts, orchestration, QA, review and supervision logic.

02FA

FastAPI

Authenticated operator actions and the browser-facing application boundary.

03DB

SQLite → PostgreSQL

SQLite powers the current runnable slice; PostgreSQL and pgvector are the production retrieval target.

04AI

Bounded agent adapters

Structured contracts for orchestration, workers, media generation and TikTok publishing.

The repository proves the complete state flow with deterministic fixtures while clearly separating what works locally from provider configuration still required for production.

01Evidence-backed research
02Immutable human review
03Metrics and learning loop

Case studies / 03

Back to the
selected work.