Skip to content

About

An autonomous Instagram content studio: plans, designs, fact-checks and publishes posts with human approval. Showcase.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Instagram Content Agent

An autonomous content studio for Instagram. Every week an AI agent plans, designs and fact-checks a set of posts, delivers them to a private review studio, and publishes the ones a human approves, at the time they choose.

It runs without supervision up to the point where judgement matters. A person decides what goes live.

Status: in production, running a weekly schedule against a real Instagram Business account. Source: this repository is a showcase. The engine itself is private. See Licence and Contact.


What it does

Stage What happens
Plan A scheduled agent chooses the week's topics and formats, avoiding anything repeated from recent posts.
Research Claims are taken from primary sources and recorded in a fact register with where they came from and when they were checked. Nothing unsourced reaches a post.
Design Carousels and single-image posts are rendered programmatically from a typographic design system, using real photography where it exists.
Inspect Every rendered slide is measured pixel by pixel before a human sees it: text collisions, contrast, cropping, soft or dark photographs, empty space. Problems are repaired automatically; posts that still fail are held back.
Review Drafts arrive in a private web studio. A person reads, edits, approves, requests a visual change or rejects.
Publish Approved posts go out through the Instagram Graph API at the scheduled time, with a full audit trail.

Sample output

Everything below was generated by the system. The brand is a placeholder.

A seven-slide myth-or-fact carousel

Myth or fact carousel

A checklist carousel

Checklist carousel

A single-statistic post, with its source and next release date on the image

Statistic post

The review studio

A small web app the agent delivers into and the owner works in. It is protected by single sign-on and designed for one job: make approving a good post fast and approving a bad one hard.

This week

Review and approve

Every post carries its sources, its automated checks and any facts that still need confirming. Approval is tied to an exact version, so editing a post withdraws its approval.

Scheduled post Schedule Activity log
Scheduled post Schedule Activity log

How it fits together

flowchart LR
    A[Scheduled AI agent<br/>weekly] --> B[Plan and research]
    B --> C[Design and render]
    C --> D[Automatic<br/>visual inspection]
    D -->|passes| E[(Review studio)]
    D -->|fails| F[Repair or hold back]
    F --> C
    E --> G{Owner decision}
    G -->|approve + schedule| H[Publisher]
    G -->|request changes| C
    G -->|reject| I[Archived]
    H --> J[Instagram Graph API]
    H --> K[Audit log and alerts]
Loading

The agent and the publisher are deliberately separate. The agent can only deliver drafts. It has no ability to approve or publish, and it holds no Instagram credentials. The publisher can only post what a person has approved.

Design principles

  • Human approval is mandatory. Autonomy is a policy setting that is currently off, not a feature that was never built. The system is designed so it can be widened in stages without a rewrite.
  • Fail safe, not fast. A single switch stops all publishing. When it is off, approved posts are kept and nothing is sent.
  • Never invent facts. Numbers, dates and rules must come from a recorded source. A claim that cannot be verified blocks approval until the owner confirms it.
  • Measure, don't trust. Quality is checked on the rendered pixels, not on the intentions of the code that produced them.
  • Everything is auditable. Every version, approval, schedule change, publish attempt and failure is logged and visible in the studio.
  • Rehearse before going live. The full publish path was exercised end to end against a test account before it touched a real one.

Built with

  • Claude for planning, research and judgement, run as a scheduled cloud routine
  • Python for the design system, rendering and quality inspection
  • TypeScript on Cloudflare Workers, D1 and R2 for the studio, the approval workflow and the publisher
  • Instagram Graph API for publishing
  • Over 300 automated tests across the engine and the studio

Licence

Copyright © All rights reserved.

The images and text in this repository may be shared with attribution for the purpose of reviewing this project. The software it describes is proprietary and is not licensed for use, copying, modification or distribution.

Contact

Interested in the system, a licence, or a similar build? Get in touch through my GitHub profile: github.com/DadoCode.

About

An autonomous Instagram content studio: plans, designs, fact-checks and publishes posts with human approval. Showcase.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors