Inspiration
I wanted to build an AI teammate that can actually do work inside communication tools, not just chat. Teams spend too much time context-switching between Slack, Discord, and manual updates. Delegate was inspired by the idea of one secure assistant that can read channel context, summarize what matters, and help draft or send updates faster.
What it does
Delegate is an Auth0-secured AI agent for Slack and Discord. Users sign in, connect services through Auth0 Token Vault, and chat with the agent to read recent messages summarize conversations identify blockers/action items draft and post updates to channels The app streams responses in real time and shows tool execution events so users can see what the agent is doing.
How we built it
e built Delegate as a full-stack TypeScript app:
React + Vite frontend for chat UX Express backend for API routes and SSE streaming Auth0 for authentication and secure token handling Token Vault pattern for provider access tokens OpenRouter model routing for the agent brain Slack and Discord tool layers for real actions The deployment was done on Vercel with serverless API routing and environment-based configuration.
Challenges we ran into
Getting production API routing correct for /api/* endpoints Separating local vs production env values cleanly Handling OAuth connection edge cases (connection enabled vs bot installed) Keeping UX clear when a service is partially configured Debugging deployment errors caused by build/install command mismatche
Accomplishments that we're proud of
Full stack Ai agent succesfully built with Auth0
What we learned
Secure token architecture matters as much as model quality OAuth integrations fail in subtle ways unless app/connection names are exact Streaming + tool traces significantly improve trust in AI actions Deployment reliability depends on build/runtime parity and strict env hygiene
What's next for Delegate
richer channel discovery and guided onboarding safer confirmation flows for write actions better multi-workspace support analytics for decisions/blockers over time expanded integrations beyond Slack/Discord
Built With
- api
- auth0
- discord
- events
- express.js
- node.js
- openrouter
- react
- server-sent
- slack
- token
- typescript
- vault
- vite
- web
Log in or sign up for Devpost to join the conversation.