Artag.dev
FeaturedLast updated: 2026-10-29

Social Harness — Human-Guided AI Coach

An event-driven social media coach that collects trend signals, evaluates them against each profile and produces ideas, calendars and on-demand drafts. The AI never publishes on its own.

Role: AI Engineer & Full-Stack Developer — sole developer

4
social networks supported
5
configurable signal source types
1
batched AI call per profile cycle
NestJSTypeScriptBullMQRedisPostgreSQLpgvectorPrismaNext.jsDeepSeekGroqDocker
Private repositoryTalk about this project

Problem

Social content planning often means manually scanning trends, guessing formats and publishing without a clear connection to profile goals. Full automation can reduce cost of effort while also removing the human voice that the account needs.

Solution

I designed a pipeline that collects signals from configurable sources, deduplicates them and scores relevance separately for each profile. A deterministic prefilter runs before one batched AI call per profile. Ideas and calendars are generated from evidence, while drafts and performance reports remain explicit user actions.

Results

  • Four target networks and five source types in a shared ingestion pipeline.
  • Profile-specific relevance instead of a single generic trend feed.
  • One batched AI call per profile cycle after deterministic prefiltering.
  • No automatic publishing; editorial control stays with the user.

Architecture

  1. 01Official APIs, feeds, public pages and manual input → source adapters
  2. 02Ingestion → canonical URLs, content fingerprints and deduplication
  3. 03Deterministic prefilter → relevance and cost gates per profile
  4. 04Batched AI analysis → ideas, calendar and explainable reasons
  5. 05User action → draft, performance report or publication outside the system

Key decisions

No automatic publishing

The system advises and drafts, but a person decides what appears on the account.

Cost gates before generation

Free filtering, relevance thresholds and batching limit spend before expensive operations.

Multi-user from the start

Profiles are associated with owner and business identifiers rather than relying on a future authorization retrofit.

Catalogs over rigid enums

Networks and content formats can evolve through configuration without database migrations.

Challenges

  • Scoring the same trend differently for distinct profiles and objectives.
  • Avoiding duplicate signals without destroying the ability to revert false positives.
  • Supporting network and format differences without repeated database migrations.

Key learnings

  • Human-in-the-loop is a product requirement when authenticity matters.
  • Cost controls are more reliable when they precede the model call.
  • A shared manual-input path lets useful work continue when an official integration is unavailable.

Limitations & roadmap

  • Server-side end-to-end verification is still pending.
  • Performance metrics currently require manual or CSV input while official connectors are pending.
  • There is no public demo or measured audience-growth claim.

Next project

Doc Harness — Structured AI Document Editing

Private document workflows with editable intermediate content