saas

TalkSense AI

Multi-tenant Twitter/X automation SaaS for African creators and brands — AI-driven scheduling, tone analysis, and engagement intelligence built around the realities of the X API.

Primary stack
NestJS
Fastify · React · Next.js
Category
Saas
Status
Active
Tags
saas
ai · social-media

Why X automation for African markets specifically

Twitter/X is disproportionately influential in Nigerian digital culture. Conversations that matter — brand crises, political discourse, cultural moments — happen there first. But the tools built for X automation assume a creator who can dedicate hours to platform management, has a fast connection for real-time monitoring, and can afford enterprise-tier pricing in USD.

TalkSense is built around the opposite user: a creator or SME in Lagos, Abuja, or Accra who is running multiple things simultaneously, working on a mobile data connection, and needs tooling that is genuinely affordable and genuinely works within X API constraints.

The X API reality

Building on the X API in 2024–2025 was a moving target. The platform shifted from a fixed-tier model to pay-as-you-go credits, deprecated several endpoints with minimal notice, and added OAuth scope restrictions that broke a significant number of third-party integrations.

TalkSense was designed with this instability in mind. Every API call goes through a credit-tracking middleware that monitors burn rate and surfaces alerts before accounts approach limits. The OAuth implementation was rebuilt to use only the minimal required scopes after the email scope was restricted, ensuring that existing authenticated users weren't logged out by API policy changes.

Multi-tenancy architecture

TalkSense is a true multi-tenant platform. Each customer account is fully isolated at the database level — row-level tenant scoping on all queries, separate per-tenant X API credential storage encrypted at rest, and isolated rate limit tracking so a single heavy user doesn't degrade service for others.

  • Tenant isolation: Every query scoped by tenant ID at the ORM level — no data leaks by construction
  • Credential management: X OAuth tokens stored encrypted, rotated on each use, with automatic re-auth flow when tokens expire
  • Rate limit management: Per-tenant credit tracking with configurable thresholds and Slack/email alerts
  • Usage billing: Post-pay model aligned with X's own credit system, metered per API call category

AI features

The AI layer sits on top of an OpenAI-compatible router, making it possible to swap providers without changing application code. In practice this means using OpenAI for high-quality drafts and Mistral for faster, cheaper bulk operations like tone classification and scheduling suggestions.

Core AI features include tone matching (the system learns from a creator's best-performing posts and suggests content in the same register), optimal posting time prediction based on per-account historical engagement data, and thread drafting with structured formatting.

Scheduling engine

The scheduler uses a Redis-backed job queue with priorities. Scheduled posts are enqueued with the target tenant, post content, media references, and desired publish time. A worker pool processes the queue, respects per-tenant X rate limits, and retries with exponential backoff on transient failures. Failed posts surface in the dashboard with the reason and a one-click reschedule option.

Status

TalkSense AI launched a hackathon version in March 2026 and is in private beta. Core scheduling, AI drafting, and multi-tenant infrastructure are production-ready. Analytics and team collaboration features are in active development.

STACK
NestJS
Fastify
React
Next.js
PostgreSQL
Redis
X API v2
OpenAI
Mistral
Interested in this project?

Let's talk.