Close Menu
NCIJ Network NCIJ Network
    What's Hot

    Michigan Democratic primary seen as latest test for party’s progressive wing

    August 5, 2026

    Armed man arrested after appearing to scope out security for Trump fundraising dinner

    August 5, 2026

    The AI Notetaker Has Been Invited to All the Meetings

    August 5, 2026
    Facebook X (Twitter) Instagram
    Trending
    • Michigan Democratic primary seen as latest test for party’s progressive wing
    • Armed man arrested after appearing to scope out security for Trump fundraising dinner
    • The AI Notetaker Has Been Invited to All the Meetings
    • QuickFox Supply Chain Attack Delivers FDMTP Backdoor via Trojanized Windows Installer
    • New Ethereum proposal would cut issuance to zero if staked ETH reaches $112 billion
    • NASA Provides Updates on Moon Base Cargo Landers, Tech Demonstrations
    • These mice live on volcano summits at extreme elevations. Study finds how
    • El Niño Hits Southeast Asia Hard
    • About
      • Our Team
      • Editorial Policy
      • Editorial Independence
      • International Support
    • Trust & Standards
      • AI Usage Policy
      • Conflict of Interest Policy
      • Corrections Policy
      • Ethics Policy
      • Fact-Checking Policy
      • Source Protection
    • Get Involved
      • Guide for Sources
      • Support Independent Journalism
    • Legal
      • Cookie Policy
      • Privacy Policy
      • Terms of Use
    Facebook X (Twitter) Instagram
    NCIJ Network NCIJ Network
    Wednesday, August 5
    • Home
    • World
    • Ai
    • Business
    • Politics
    • Health
    • Crypto
    • Science
    • Technology
    • Cybersecurity
    • Defense & Security
    • Economy
    • Energy
    • Europe
    • More
      • Fact Check
      • Investigations
      • Opinion & Analysis
      • Environment
    NCIJ Network NCIJ Network
    Home»Artificial Intelligence

    CopilotKit Open Sources Channels SDK: An MIT Licensed Library That Runs Any AG-UI Agent Inside Slack And Microsoft Teams

    NCIJ NETWNCIJ NETWORKBy NCIJ NETWNCIJ NETWORKAugust 5, 2026 Artificial Intelligence No Comments5 Mins Read
    Share
    Facebook Twitter LinkedIn Pinterest Email

    CopilotKit has just released the Channels SDK. It is an open source library that puts an existing agent inside a messaging platform. The core assumption is focused and verifiable. You already have an agent. It already has a model, tools and business logic. Channels gives it a place to work with people, without a rewrite per platform.

    It runs on Slack and Microsoft Teams as early access surfaces. Discord and Google Chat are named as planned.

    Installation is two packages:

    npm install @copilotkit/channels @copilotkit/runtime

    The connection to your agent is AG-UI, the agent-user interaction protocol CopilotKit maintains. Anything that speaks AG-UI works. That includes LangGraph, CrewAI, Mastra, Pydantic AI, Google ADK, and a plain HTTP agent you wrote yourself. Your model and orchestration layer stay where they are.

    The distinction that matters is what a channel is not. It is not a second agent. It is a transport along with a rendering target. You write a message once, and the adapter lowers it into each platform’s native format. That means Block Kit in Slack and Adaptive Cards in Teams. Not a text blob pushed through a webhook.

    Is It Deployable? 

    Yes. The SDK is published, MIT licensed, and has a documented runtime contract. 

    How One Turn Actually Flows

    Here is the single path for every turn:

    1. A person messages your app in Slack or Microsoft Teams.
    2. CopilotKit Intelligence receives the platform event and delivers it to your Channels process.
    3. Channels runs your agent over AG-UI, executes tools, and renders the result.
    4. Intelligence sends native platform UI back into the conversation.

    The split of responsibility follows from that. You run your agent, model credentials, tools and business logic. You run the long-running Channels listener, plus application state, deployment and logs. Intelligence manages the Slack and Teams platform credentials. It also owns platform ingress, credentialed delivery, runtime registration, health and reconnects.

    Rendering is worth one more sentence. Messages are authored as JSX and lowered to a serializable intermediate representation. The adapter translates that into the platform’s native format, and interactive handlers are bound through an action store.

    The Runtime Contract

    The lifecycle is the part worth understanding. There is no channel.start(). The runtime owns activation.

    import { createChannel } from "@copilotkit/channels";
    import { CopilotRuntime, CopilotKitIntelligence } from "@copilotkit/runtime/v2";
    import { createCopilotNodeListener } from "@copilotkit/runtime/v2/node";
    
    const channel = createChannel({
      name: process.env.CHANNEL_CODE,
      provider: "slack",
      agent: makeAgent,
    });
    
    const runtime = new CopilotRuntime({
      agents: {},
      intelligence: new CopilotKitIntelligence({ apiKey: process.env.INTELLIGENCE_API_KEY }),
      identifyUser: () => ({ id: "channels-runtime", name: "Channels Runtime" }),
      channels: [channel],
    });
    
    const listener = createCopilotNodeListener({ runtime, basePath: "/api/copilotkit" });
    await listener.channels.ready({ timeoutMs: 30_000 });

    Creating the listener starts the channel connection. Awaiting channels.ready() makes a broken configuration fail startup loudly instead of silently. channels.status() returns an overall state you can gate on, and channels.stop() tears the channel down for graceful shutdown.

    The runtime exposes listeners for Node, Hono and Express through the @copilotkit/runtime/v2/* subpaths.

    createChannel takes more than a name and an agent. The shipped options include tools, context, components, commands, store, sanitizeAgentEvents, showToolStatus and replyContinuation. Registering named JSX components is what lets a channel re-render and re-fire handlers after a restart. Without registration, a click on a message posted before the restart degrades to an expired action.

    What The Agent Can Do Inside The Channel

    The feature set targets work that happens in a thread, not chat for its own sake.

    • Generative UI, so the agent renders interface when the task calls for it.
    • Human in the loop, so a person approves before a critical action runs.
    • Tools, so the agent can file an issue, book a meeting or open a pull request.
    • A persistence layer, plus transcripts that carry memory across platforms.
    • Slash commands and mentions, mapped to the right agent interaction.

    OpenTag demonstrates the approval pattern concretely. Every Linear and Notion mutation is intercepted in code before the MCP request runs. The interceptor emits a confirm_write and proceeds only after approval. Reads and rendering do not pause.

    Key Takeaways

    • @copilotkit/channels 0.5.0 is live on npm under MIT, with Slack and Microsoft Teams as the early access surfaces.
    • Every channel requires a CopilotKit Intelligence API key, on the managed path and the direct path.
    • Slack is generally available as a managed provider; Teams is listed as early access but still carries a gating note in the shipped types.
    • Discord, Telegram and WhatsApp adapters ship in the package as upcoming integrations.
    • Deployment needs Node.js 22+, an ESM project, and a long-running process; serverless will not hold the connection.

    Thanks to the Copilotkit team for the thought leadership / resources for this article. This article is sponsored by Copilokit.


    Asif Razzaq is the CEO of Marktechpost Media Inc.. As a visionary entrepreneur and engineer, Asif is committed to harnessing the potential of Artificial Intelligence for social good. His most recent endeavor is the launch of an Artificial Intelligence Media Platform, Marktechpost, which stands out for its in-depth coverage of machine learning and deep learning news that is both technically sound and easily understandable by a wide audience. The platform boasts of over 2 million monthly views, illustrating its popularity among audiences.

    agent AGUI channels CopilotKit Library Licensed Microsoft mit open Runs SDK Slack Sources Teams
    NCIJ NETWNCIJ NETWORK
    • Website

    Keep Reading

    Why Visa, Mastercard and Coinbase aren’t abandoning USDC stablecoin for Open USD

    Google Deletes 3 ADK AI Workflows After Malicious GitHub Issue Could Trigger Privileged Agent

    Pixel-Native RAG: A Practical Guide to Visual Document Indexing

    Phishing service spoofs RingCentral to steal Microsoft 365 accounts

    Cursor Open-Sources Mixture-of-Kittens (MoK): A Deterministic MoE Training Megakernel for GB300 NVL72 Racks

    Building an Advanced AI Skill Security Auditing Pipeline with NVIDIA SkillSpector, LangGraph, YARA Rules, SARIF, and CI Policy Gates

    Add A Comment
    Leave A Reply Cancel Reply

    Editors Picks

    Michigan Democratic primary seen as latest test for party’s progressive wing

    August 5, 2026

    Armed man arrested after appearing to scope out security for Trump fundraising dinner

    August 5, 2026

    The AI Notetaker Has Been Invited to All the Meetings

    August 5, 2026

    QuickFox Supply Chain Attack Delivers FDMTP Backdoor via Trojanized Windows Installer

    August 5, 2026
    Latest Posts

    Oil prices hit $100 for the first time since May

    July 23, 2026

    Pew Survey: China May Be Liked More, but It Is Celebrating a Race It Never Ran

    July 23, 2026

    Yinson Production and PTSC’s FSO heads off to Southeast Asian oil project

    July 23, 2026

    Subscribe to News

    Get the latest sports news from NewsSite about world, sports and politics.

    NCIJ Network is an independent digital news platform delivering trusted investigative journalism, European and global news, in-depth analysis, and fact-based reporting with accuracy, transparency, and integrity.

    Facebook X (Twitter) Instagram Pinterest YouTube

    Michigan Democratic primary seen as latest test for party’s progressive wing

    August 5, 2026

    Armed man arrested after appearing to scope out security for Trump fundraising dinner

    August 5, 2026

    The AI Notetaker Has Been Invited to All the Meetings

    August 5, 2026

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    Type above and press Enter to search. Press Esc to cancel.