wordware-ai/twitter

AI Agent for Twitter Personality Analysis

What it solves

It provides a way to analyze a user's Twitter/X profile and recent posts to generate a personalized, AI-driven personality profile, including roasts, strengths, and spirit animals.

How it works

The application fetches a user's profile and approximately 15 recent posts using the X API v2 (or SocialData as a fallback). This data is then sent to an LLM via the Vercel AI Gateway, which streams a structured analysis of the user's personality. The results are cached in a Neon Postgres database and can be rendered into shareable dynamic OG images.

Who it’s for

Users who want a fun, AI-generated analysis of their social media presence or a compatibility check between two Twitter handles.

Highlights

  • Official X API v2 integration for data retrieval.
  • Model-swappable architecture via a single environment variable.
  • Real-time streaming of structured analysis results to the client.
  • Caching system to deduplicate concurrent generations and maintain historical analyses.

Related

  • Project
  • Project
  • Project
  • Dispatch
  • Project