Teams Bot
Reference Microsoft Teams bot wrapping createChatTrigger from @agentskit/runtime. Consumes Bot Framework activities at /api/messages with injectable JWT verifier.
Driver-light Microsoft Teams bot. Consumes Bot Framework activity payloads at /api/messages and verifies the inbound JWT via an injected verifyToken callback.
No botbuilder / microsoft-graph-client dependency in the template. In production, wire botbuilder's JwtTokenValidation.authenticateRequest (or any JWT lib against Microsoft's OpenID config).
#Setup
- Register a bot in Azure Bot Service + create an Azure AD app. Copy App ID + secret.
- Set messaging endpoint to
https://<your-host>/api/messages. - Sideload the Teams app manifest into a Teams tenant.
export TEAMS_APP_ID=...
export TEAMS_APP_SECRET=...
pnpm --filter @agentskit/example-teams-bot devTEAMS_DISABLE_AUTH=1 skips JWT verification for local testing.
#Related
Explore nearby
- PeerExamples
Interactive demos. For copy-paste code, see Recipes.
- PeerBasic Chat
The simplest use case β streaming AI conversation with auto-scroll, stop button, and keyboard handling. All in 10 lines with AgentsKit.
- PeerTool Use
AI assistants that call functions β weather, search, DB queries. Tool calls render as expandable cards.
Slack Bot
Reference Slack bot wrapping createChatTrigger from @agentskit/runtime. Uses Events API + chat.postMessage REST. No Bolt dependency.
Edge (Cloudflare Workers)
AgentsKit running on Cloudflare Workers. Demonstrates the sub-50 KB hot path β adapter + ReadableStream, no runtime, no memory, no tools.