Dilan Kochhar← All work

Agency operating system · 2026

Sage

An operating system for social media agencies, built for Sage Marketing & Media: strategy, weekly planning, content calendar, shoots, client approvals, and analytics in one place. It is in development.

The challenge

A social media agency juggles many clients, each with its own brand rules, content calendar, shoots, and rounds of approval, usually spread across spreadsheets, chat threads, and shared drives.

Sage puts all of that in one app with three kinds of users: agency admins, account managers who only see their assigned clients, and a portal where clients review and approve their own content.

What I built

  • A Next.js App Router app on PostgreSQL with Drizzle ORM, where every record belongs to an agency and one access layer decides which clients each user can see.
  • Email and password auth with signed session cookies, and a client portal for approvals.
  • An AI weekly planner on the Claude API. It is fed structured client data, its output is validated with Zod and checked against real client records, and nothing is ever published automatically. If the AI is unavailable, a rules-based planner takes over.
  • Planning tools: brand kits, a content calendar, shoot planning, approvals that keep every round, and version history for content and strategy edits.
  • A creative studio that renders branded post and carousel templates to images.
  • An approval-gated publishing queue and an activity log that feeds dashboards and the client portal.

Stack

  • Next.js
  • TypeScript
  • PostgreSQL
  • Drizzle ORM
  • Claude API
  • Vercel AI SDK
  • Stripe
  • Sentry
  • Tailwind CSS
  • Zod
  • Vercel
  • Product design

Want something like this?

I design and build every site myself, start to finish. Tell me what you need and I will tell you how I would build it.

← All work