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
In development
Case / 03

Affinery / Content command center

Runnable slice
Affinery content command center showing review, publishing, performance and pipeline status
Research, review, publishing and learning in one operator workspaceMock data · 12 Aug 2026

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 slice runs locally with explicit boundaries for retrieval, media generation and TikTok publishing. Production identity, PostgreSQL/pgvector and provider credentials remain deployment work—not portfolio claims.

01Python

Python 3.12

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

02FA

FastAPI + Pydantic

Operator routes, validated actions and the browser-facing application boundary.

03DB

SQLite

The current source of truth for campaigns, evidence, versions, jobs, approvals and metrics.

04AI

Bounded agents

Codex-led orchestration and narrow worker contracts with budgets, retries and telemetry.

05FL

Google Flow handoff

A guarded operator-assisted browser lane packages requests and returns checked MP4 candidates.

06TK

TikTok adapter

An approval-gated publisher queue with explicit OAuth and verified-media requirements for production.

The repository delivers the complete database-backed state flow with deterministic fixtures, while clearly separating working local behavior from credentials and infrastructure still required for production.

16Captured operator views
01Human-only approval boundary
60/30/10Weekly learning allocation

Next case / 04

Application
assistance.