Conversation
… SDK) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Slack connects through CopilotKit Intelligence (required by design); code samples now follow CopilotKit's canonical minimal-channel shape: no direct Slack adapter, Channel ID + API key from the Intelligence dashboard, and subscribe-on-mention thread handling.
|
Thanks for this @mme |
|
I pasted the dashboard's actual ID field ( |
|
API keys are project scoped , I first used a key from a different project and got a silently dead bot ( |
|
The sample agent has no memory a threaded follow ups gets no context because |
|
The install as written doesn't typecheck the plain |
|
in here there it says other platforms (Teams, Discord, WhatsApp, Telegram) connect the same easy way as Slack. But CopilotKit's own docs say only Slack works this way today, the others need extra setup on your side. Can you please update this line there |
|
two small things:
|
- Use CHANNEL_CODE (the Channel's kebab-case Code) and CPK_INTELLIGENCE_API_KEY, matching the CopilotKit docs; note that API keys are project scoped - Give the sample agent a SqliteDb with add_history_to_context so in-thread follow-ups keep context (Agno's AG-UI interface runs the latest user message against the session keyed by thread id) - Pin the tested @copilotkit/channels + @copilotkit/runtime pair, add an @ag-ui/* overrides block and a NodeNext tsconfig so a plain install typechecks - Check channels.status() after ready() and log the connection result - Document showToolStatus for tool-call progress in Slack - Correct the platform list: managed Slack today, Teams controlled, Discord/ WhatsApp/Telegram via direct adapters; drop "other platforms" from intro - Node.js 22 prerequisite; replies are posted, not streamed, on managed Slack
The Channel page's Connect a runtime dialog labels the value CHANNEL NAME; the setup wizard calls it Code. Name both, and point at the ID field as the value it is not.
# Conflicts: # docs.json # examples/agent-os/interfaces/agui/overview.mdx
v3.0.4 moved the AG-UI examples from examples/agent-os/interfaces/agui to examples/agent-os/agui, leaving the old location as migration stubs. Put the new Slack example in the current location, restore the stub overview, and align its model id with the sibling examples.
|
Thanks for running it end to end! All seven are fixed and pushed.
Also added a Node.js 22 prerequisite, and changed "streams the reply" to "posts the reply", since managed Slack buffers. Verified against a real workspace too: mention gets a reply, the in-thread follow-up runs without another mention and correctly recalls the earlier turn. Merged latest main and resolved the conflicts. |
Description
Adds an AG-UI Channels guide plus a runnable Slack example. The same Agno agent that serves an AG-UI frontend from AgentOS can also run as a bot in Slack and other messaging platforms through the CopilotKit Channels SDK: the AgentOS server stays unchanged, and a separate Node channel process — connected through CopilotKit Intelligence, which holds the platform credentials — drives the agent through
AgnoAgentfrom@ag-ui/agno.Changes:
agent-os/interfaces/ag-ui/channels.mdxguide (how it fits together, Slack steps, other platforms, production note).examples/agent-os/interfaces/agui/slack-channel.mdxrunnable example.docs.jsonnavigation entries for both, an AG-UI group, and a row in the AG-UI examples overview table.Type of Change
Related Issues/PRs (if applicable)
N/A
Checklist
Code verification: the TypeScript snippets typecheck against the published
@copilotkit/channels,@copilotkit/runtime, and@ag-ui/agnopackages; the AgentOS snippet and/aguiendpoint match the existing AG-UI introduction.docs.jsonvalidated as JSON.