AgentReacher
AgentReacher connects your AI to social media. Open-source platform for AI agents.
The product is intentionally split into two layers:
the fully open-source product in this repository
a hosted service layer for managed execution, connected accounts, analytics, and convenience
Social Integrations
Platform | Status |
X (Twitter) | ✅ |
✅ | |
Bluesky | ✅ |
⏳ | |
TikTok | ⏳ |
YouTube | ⏳ |
⏳ | |
Threads | ⏳ |
⏳ |
What is in this repo
TanStack Start app for AgentReacher
auth, billing, onboarding, workspace, and dashboard flows
MCP server and CLI
multi-platform social connection and publishing flows
post creation, scheduling, and publishing APIs
basic analytics and calendar views
Open Source vs Hosted
Everything in AgentReacher is open source in this repository.
The hosted service exists for users who want the completed product experience without assembling the infrastructure themselves.
The hosted layer primarily adds:
managed deployment and operations
connected account setup in a ready-to-use product
managed credentials and third-party service configuration
convenience, reliability, and reduced setup time
You can self-host the full product, but you will need your own accounts, credentials, and infrastructure for the third-party services AgentReacher integrates with.
Stack
React 19
TanStack Start
Cloudflare Workers
InstantDB
Better Auth
Stripe
MCP SDK
Getting started
Prerequisites
Node.js 22+
pnpm
an InstantDB app and admin token
Local development
Install dependencies:
pnpm installCopy the environment template:
cp .env.example .env.localFill in the required values in
.env.local.
At minimum, local development expects:
VITE_INSTANT_APP_IDINSTANT_APP_ADMIN_TOKENBETTER_AUTH_SECRETBETTER_AUTH_URLVITE_BETTER_AUTH_URL
Start the app:
pnpm devMCP CLI
The package exposes an agentreacher CLI for MCP setup.
Initialize MCP config
npx -y agentreacher@latest initFor local development inside this repository:
node bin/agentreacher.mjs initThere is a sanitized example config at .mcp.json.example.
Available MCP tools
list_connected_social_accountsget_social_connection_oauth_urlconnect_bluesky_accountinstagram_publish_mediacreate_text_postcreate_image_postupload_mediaschedule_postpublish_post_nowlist_postssubmit_feedback
The tool schema is defined in src/lib/agent-mcp-spec.json.
Current limitations and notes
some providers have provider-specific media and OAuth constraints
self-hosting requires your own platform app credentials and API configuration
media publishing flows depend on publicly reachable assets where the provider requires them
media must be reachable at a public
httporhttpsURLInstagram video publishing uses the Reels flow
Bluesky uses direct account connection instead of OAuth
Deployment
For self-hosting:
set Cloudflare Worker secrets separately from
wrangler.jsoncreplace placeholder vars and routes in
wrangler.jsoncconfigure your own InstantDB, Stripe, Better Auth providers, Resend, Upstash, OpenAI, Runware, and social platform apps as needed
Project policy
License: MIT
Contributions: CONTRIBUTING.md
Security reporting: SECURITY.md