Push events into a running session with channels

(code.claude.com)

221 points | by jasonjmcghee 3 hours ago

29 comments

  • ainch 3 hours ago
    I was a little surprised to see a Telegram integration rather than Slack or Teams, given Anthropic's enterprise-first posture. But then I looked it up, and it turns out Telegram dwarfs both, at around 1bn MAUs, vs 50m and 300m respectively! I had no idea - reminds me of the time I found out Snapchat has 2x the userbase of Twitter.
    • jen729w 3 hours ago
      Also, not a single one of those 300m Teams users wants to spend another minute there. Whereas people find Telegram useful and not odious.
      • do_anh_tu 2 hours ago
        I’ve been using Telegram for about 10 years, and it’s one of the few products that has consistently felt great the entire time. It’s fast everywhere: backend, mobile app, desktop app, all of it. Everything just works. Its sync is out of this world—fluid, fast, and seamless across devices. You can use it on your phone, then move to your PC or laptop and continue instantly without friction. Unlimited message history and file storage are fantastic, and the bot platform is absurdly powerful. It’s boring in the best way, which is exactly what you want from a channel for interacting with your agents everywhere.
        • hallway_monitor 55 minutes ago
          Since we are apparently giving messaging platform reviews here, I feel exactly the same way about Microsoft Teams. It works great. It does everything I want. It doesn’t get in my way. 10 out of 10 keep up the great work guys!
          • ozozozd 31 minutes ago
            Username checks out?
      • pokegobots 2 hours ago
        Back in the day, when I used to play pokemon go, there was a small local community and we would struggle to decide where to meet up for the daily raids because people would basically not respond (so as t not commit), or not know which gym each other meant exactly, nor give live updates when people moved around, etc. etc.

        Then I joined a group from a bigger city where I commuted for work. They had a telegram group chat with two "channels", one for talking, one for bot posts. The telegram bot could be sent a single screenshot of a raid, and it would use OCR to automatically generate an interactive UI for that raid for everyone to see, with all the relevant info, and it would also clear itself up when the raid is no longer relevant. You could press buttons to say you were going, that you MAYBE were going, if you were late, and if you already started/done it, all in single clicks. Tons of options, tons of information, all live updated.

        I was bedazzled. That feature singlehandedly removed all attrition from urban social gaming. And it was entirely grassroots. It made me try out making my own telegram bots, and yeah, you basically have the power to make a little app in chat form, even some that feel like CLI commands.

        It's been OVER HALF A DECADE and I have yet to see a single other chat application have that degree of freedom where it comes to applications and bots. Some like discord even did whole ass 100% reworks of their bot AP to support the likes of slash commands, and still fall short. And there's none worse than Teams. Teams hates you. Teams spent the prior 2 years before this one basically pointing a gun to our heads telling us they were removing webhooks and pushing back on it whenever they repeatedly get told that's the most insane and dogshit idea ever. And they still did it. There's just no spark in Teams UX. No self-respect. It's a soulless product made entirely as a dumping place of "synergy" with other M$ products. It's reciprocal, I hate it too.

        Oh and my local group never go into telegram because they didn't want a new app. It died, but I still kept playing after work without problem. It makes me wonder how fast Teams would die if it wasn't proped up by 365 and Azure subscriptions.

        • nozzlegear 2 hours ago
          > we would struggle to decide where to meet up for the daily raids because people would basically not respond (so as t not commit), or not know which gym each other meant exactly, nor give live updates when people moved around, etc. etc.

          This kind of thing is so common in groups of people, it's one of my pet peeves. My own family does this in our group messages when trying to make big decisions like who should host thanksgiving or where we should go for a family vacation.

          I make it a point to just take charge and tell people that we're doing XYZ now. It usually either results in a decision, or gets the discussion going enough that I can do it again with new information.

        • eru 2 hours ago
          I wonder if Teams hates you, because they are doing the bidding of their actual customers (corporate decisions makers and purse holders), and those people's interests are not exactly aligned with the users'.
          • nine_k 2 hours ago
            The problem is that these people holding the actual purse don't care enough about their subordinates' experience. They care about the price tag, and about compliance. Apparently the makers of Teams think about the same. None of them thinks in terms of lost productivity.
            • eru 1 hour ago
              Yes, compliance is a big one. And it's not so much that they are actively hostile to user productivity (and quality of life), they just don't care enough.
      • onair4you 1 hour ago
        My employer keeps Slack so locked down it is not really possible to use anything useful with it anyway…
      • almostdeadguy 2 hours ago
        Odious is one of the most reserved words you could use to describe Telegram, which is primarily a host for scams that the influencers and other bottom feeders aren't allowed to monetize on the big social networks.
    • miki123211 2 hours ago
      Telegram's bot API is literally one of the friendliest APIs (of any kind) I've ever seen. It's the first thing I reach for when server-to-mobile notifications are concerned.

      It's just as easy to set up as ntfy.sh, except that it doesn't break every other week on iOS.

      • vrosas 2 hours ago
        Interesting. I set up a bunch of slack webhooks for server events that's been working decently well but maybe I'll look at telegram.
      • ttul 1 hour ago
        This is so true. I don’t like Telegram for a host of reasons, but the bot architecture is second to none. Try creating a bot in Slack. You’ll pull your hair out for hours. Same goes for Discord. Utter nightmare. Telegram? You send a DM and it is basically done.
    • karlitooo 2 hours ago
      Surprisingly large number of businesses run on whatsapp, as a consultant in Asia it's prob around half the businesses I've worked with prefer it over teams/slack. If Meta had been sensible about API access Telegram wouldn't have even got a foothold.
      • tmatsuzaki 2 hours ago
        WhatsApp is actually more popular than Slack, isn’t it? In my country, almost everyone uses Slack, and I’ve hardly ever heard of any companies using WhatsApp, so that was surprising to me.
        • yen223 1 hour ago
          WhatsApp is more popular than Slack, Teams and Telegram combined. WhatsApp has something like 2-3 billion users worldwide

          WhatsApp vs Slack + Teams is a bit of an apples to oranges comparison though.

      • senectus1 2 hours ago
        south america and africa are both heavily invested in whatsapp in the business space.
    • zerkten 1 hour ago
      One issue is that 95% of the integrations will be fine with the default configuration. The others including some with high profit potential will have weird configs that will frustrate your customers the first time they try if not well tested/documented. It's better to take time and get it right. Enterprise customers love piloting and spending time, so best to approach that the right way too. Going with less complex options, that arguably have better APIs, makes it easier to develop your core product too and get real feedback from users.
    • arjie 1 hour ago
      Telegram has the best programmatic integration. Trivial to get working. You can be up and running in minutes. I use it to talk to a claw-style agent and it's truly unbelievable what you get for free.
    • yen223 2 hours ago
      A lot of such cases. Claude itself had (has?) fewer users than Perplexity, let alone Meta AI, Gemini or ChatGPT
      • Marciplan 2 hours ago
        no they definitely did not have fewer users than Perplexity xD
        • yen223 2 hours ago
          I like Claude, but polling done on Americans late last year shows otherwise:

          https://epoch.ai/data/polling

          Overseas numbers are likely worse for Claude.

          Try and ask someone not in tech what they think of Claude or Anthropic. There's a high chance they've never heard of either.

          Things might have changed with Anthropic showing up at the Superbowl, and in the news over their fight with the Pentagon.

          • borski 2 hours ago
            Late last year is not the timeline you want. Anthropic’s hockey stick happened earlier this year.
            • yen223 1 hour ago
              Late last year was like 3 months ago.

              I'm bullish on Claude. It will see a surge in users, and will likely surpass Perplexity this year. However I don't think it will catch up to even Meta AI (which had 10x the number of users) this year.

              • tharkun__ 53 minutes ago
                I use Claude. I use Codex. I've never heard of or used Meta AI. Nor do I have a Facebook account. Never have, never will.

                I am also a software developer. So while the numbers of "people" that use one AI or another may be higher than either of these, it's not a useful metric for myself.

                • yen223 17 minutes ago
                  That's fine. I'm not making a value judgement about which LLMs you should use, if any.

                  I'm only pushing back against someone thinking "oh HN talks about Claude a lot, therefore Claude must be extremely popular". The information bubble is a real problem.

              • borski 1 hour ago
                I’m aware of how long ago late 2025 was.

                Anthropic’s revenue in Q1 2026 has skyrocketed.

                • yen223 26 minutes ago
                  It's probably true that Anthropic's revenue is booming. But we need massive grains of salt:

                  a) they are private and revenue numbers for private companies are hopelessly unreliable, and

                  b) they are planning an IPO, so there's an extra incentive to big up the numbers. Anthropic always brings up ARR, which is very gameable when the year hasn't ended yet

                  • borski 24 minutes ago
                    You’re right that time will tell the end story.
        • magnio 45 minutes ago
          Talk about a bubble. No one outside of programmers know what the heck is Claude. In Asia, ChatGPT and Gemini dominates LLM usage, followed by Perplexity.
          • yen223 24 minutes ago
            I suspect we're underestimating the number of users Deepseek has in Asia.
    • informal007 3 hours ago
      Maybe most of users of anthropic are individual developers over employee in tech company.

      I'm really happy that they choose telegram and discord.

      • fragmede 2 hours ago
        You're telling me that Anthropic, one of the hottest companies on the planet right now couldn't field four teams of developers to integrate with Discord, Slack, Telegram, and Teams? AI being such a productivity multiplier, seems like they could just choose to do it all. I mean, mythical man month and all that, but do it three times and have a retrospective and use Claude to refactor the pain points and centralize the learnings.
        • whatever1 1 minute ago
          Boris casually implements features and closes tickets the same day they are opened.
        • airstrike 2 hours ago
          You'd be surprised....
        • Forgeties79 2 hours ago
          Turns out the companies making promises don’t exemplify the results of their promises lol
    • revlolz 3 hours ago
      Telegram has a major issue with bots and bad actors though. They paywalled privacy features making it truly a terrible experience for users. 3-10 per day random messaging you.
      • rowanG077 3 hours ago
        Can't say I have had literally anyone ever message me on telegram. And I have been a daily user for years.
        • OJFord 3 hours ago
          I get occasional spam - I'd guess it's because you've never joined a public group or shared your handle anywhere?
        • Gigachad 2 hours ago
          If you join public groups with a lot of users you end up on a bunch of spam lists and get smashed by bots.
  • alexjurkiewicz 3 hours ago
    Claude is leaning into the idea of a local "session" being the host where everything connects.

    I guess this makes sense for now. You can build integrations leveraging the user's personal access credentials. Later, once Claude takes over the world, they can move sessions to live in their own walled garden.

    • ttul 1 hour ago
      They certainly are. And this is likely to some degree a response to enterprise security desires. Enterprise endpoints are locked down already - no need for extra external API security if it’s just the user’s desktop communication as usual.
      • CorpOverreach 59 minutes ago
        I feel like this is absolutely not the case. Our corporate infosec guys are freaking out, as developers and general users alike are finding all new ways to poke holes in literally everything.

        We're finding out quickly that enterprise endpoints are not locked down anywhere near enough, and the stuff that users are creating on the local endpoints is quickly outpacing the rate at which SOC teams can investigate what's going on.

        If you're using Claude via Anthropic's SaaS service it's near impossible to collect logs of what actually happened in a user's session. We happen to proxy Claude Code usage through Amazon Bedrock and the Bedrock logs have already proven to be instrumental in figuring out what led a user to having repeated attempts to install software that they wouldn't have otherwise attempted to install - all because they turned their brains off and started accepting every Claude Code prompt to install random stuff.

        Sandboxing works to an extent, but it's a really difficult balance to strike between locking it down so much that you neuter the tool and having a reasonable security policy.

        • tharkun__ 48 minutes ago
          Oh so much this, in a sense.

          Look, as a software dev myself, I really like that my company lets us use our computers the way we see fit. Pre- or post-AI with no restrictive lockdown. Been there, hated that.

          But I totally get the freaking out over "normal devs". The amount of stuff most people think is reasonable, AI or not, is mind boggling. For myself of course I like to just be able to be responsible myself. But as a security team I'd also be freaking out.

          Like, the amount of people that find our super boring, totally corporate "security training videos", helpful and insightful and "oh dang I'd never have thought of that!" is mind boggling all by itself. Never mind any actual security training that'd be useful to someone with half a brain. You can literally just click through the 8+ hours of stuff you're supposed to watch / answer / do in 30 minutes.

    • clcaev 3 hours ago
      I'd like Claude on IOS to pull/commit from a private git repository for Markdown and ideally drawio diagram editing.
      • fzzzy 1 hour ago
        It can. Go to the code tab, choose your repo, and have it write an image file to disk. If you tell it to read it, it should show in the chat. It works on the web version so hopefully it works on ios.
      • bakies 1 hour ago
        Claude Code for the web would be able to do that
  • 2001zhaozhao 3 hours ago
    At this point the limitation is even requiring a terminal in the first place.

    Claude Code daemon mode in background when?

    • Evan-Purkhiser 9 minutes ago
      I’ve been using opencode’s server command as a systemd unit on my home server. I connect to it with the desktop and mobile client. Use it for a bunch of openclaw-esq things, but with a nicer interface.

      I think CC does have “remote control” now which I think would work similar, but it’s Max only right now

    • theParadox42 2 hours ago
      Just switch it to a background process with

      Ctrl-Z $ bg

      Or run it in tmux so you can pull it up on demand and have it open at startup.

    • dbbk 2 hours ago
      They already have cloud environments you can use, though they're fragile as glass
    • ai_fry_ur_brain 3 hours ago
      [flagged]
      • wbobeirne 3 hours ago
        I'm willing to bet that many people produce code with Claude code that you would not be able to distinguish from a skilled human. Every tool has its uses and misuses.

        Edit: just noticed the username.

        • ai_fry_ur_brain 1 hour ago
          Yeah, sorry I dont know a single engineer working outside of web development, on serious problems (that arent machine learning related) that think this about llm produced code.

          The people saying this have already fried their engineering intuition by using agents (if they had any before) and are probably writing http handlers and identical (to every other llm generated) frontend landing pages all day everyday, for their next "indie SaaS product" (thats definitely not the 500th version of that product).

          You're doing magic tricks on yourself, the equivalent of a toddler being entertained by the sound their vecro shoes make. Or more accurately, the a gambler behaves after they think they've become profitable.

          https://www.media.mit.edu/projects/your-brain-on-chatgpt/ove...

        • wahnfrieden 3 hours ago
          Troll account. Don’t engage
  • ewidar 3 hours ago
    What these 'channels' do is essentially why I was running a nanoclaw at work: triggering a claude code based on events and getting feedback/review/analysis which nicely closes the loop with other agents.

    Not sure why it has to be an mcp, but will be trying this out asap.

  • dbbk 2 hours ago
    It would have surely taken less time to just set up notifications for the Claude Code app? Are they ever going to do this? It's baffling to me that they're just skipping over letting you know when a task is completed... this is basic stuff.
    • gondo 2 hours ago
      What notifications are you missing specifically?

      Personally I’m receiving native macOS notifications from Claude (both the app and the CLI), and there’s also the hook system, which you can script to send even more custom notifications.

      What am I missing?

      • fzzzy 1 hour ago
        They appear to get turned on but then just never work on iOS for me. Hooks work fine, I use it to get a beep.
      • dbbk 2 hours ago
        Anything to do with Code. Not on Mac or iOS, and not with local sessions or cloud sessions. Normal Claude chats send notifications fine.
        • justech 4 minutes ago
          Do you have notifications turned on for your terminal app? I never received notifications from Claude Code until I moved to a new machine and remember explicitly allowing notifications from Ghostty.
    • procinct 2 hours ago
      This already exists for me on iOS? Maybe check your notification settings?
      • dbbk 2 hours ago
        I’ve tried everything. Regular Claude chats notify me fine, but nothing from Code - neither a cloud session or remote control.
    • _betty_ 2 hours ago
      isn't that a completely different use case? messages to Claude from other sources vs from Claude when it's finished?

      hooks can already alert you and have flexibility

    • fragmede 2 hours ago
      that already exists
      • dbbk 2 hours ago
        Not for me
        • antiframe 1 hour ago
          It doesn't make sense that it's implemented for others but not for you. What platform are you running on? I have notifications on my Linux laptop and Linux desktop. But I did have to turn them on.
  • killme2008 2 hours ago
    Claude caught up pretty quickly. I think OpenClaw’s core value is the channel, heartbeat, and the open-source ecosystem.
    • awwaiid 1 hour ago
      Yes -- this is getting very close to ClaudeClaw. Next they'll offer cloud hosting of persistent execution.
    • sanex 2 hours ago
      And unfortunately I think hearbeats are a little cost prohibitive. I burn through my plus plan with half hour cadence heartbeats checking email.
      • djeastm 2 hours ago
        Heartbeat should be set to be a cheaper model.
    • operatingthetan 2 hours ago
      I would rather they build something similar to openclaw than all these individual features that replicate functionality.
    • tekacs 2 hours ago
      I mean you can just use /loop in both Claude Code and Codex for heartbeats.
  • mberg 1 hour ago
    I just created agent-http that leverages the channels feature to enable you to wrap claude code with a http api. This provides an identical API to Agent API (https://github.com/coder/agentapi) that relies on terminal scraping to achieve this. Now you can interact with claude code in a headless manner using your subscription. Previously I think you had to do this via the Agents SDK which relies on api token use.
  • mmaunder 3 hours ago
    This feels like a response to openclaw (and openai's hiring of the lead).
  • hmartin 3 hours ago
  • anthonySs 2 hours ago
    at this point anthropic is dogfooding us a new product every week just to see what might stick - doubt a lot of the features/products they've rolled out will actually be around or supported in a year
  • zerd 2 hours ago
    I was making a telegram to Claude via tmux capture-pane and send-keys, this will be so much nicer. Also sounds like something that addresses some of what Steve Yegge said was missing for agent to agent communication as well.
  • random17 2 hours ago
    I've been looking to build something similar to this so this is very timely!

    What I wanted to build is a way for Claude Code to automatically receive reviews and CP failures from a Github PR and automatically revise code and respond to comments. It looks like with a custom Github PR channel I can get very close to this, although I do wish that a channel can be opened in a running session instead of having to create a new one. Hopefully they add that soon.

  • wewewedxfgdf 1 hour ago
    I enabled the github connector in claude web interface.

    I presumed Claude would then be able to clone repos, make commits, update the code in its container and then write it back to github.

    Instead, the github connector does ..... nothing it all. It's very weird.

    • anamexis 1 hour ago
      Claude Code Web does all of those things for me with the GitHub connector enabled. I did have a lot of song and dance to get the permissions right though.
    • bakies 1 hour ago
      Use GITHUB_TOKEN env var to give it gh access with the CLI. Or is gh not installed?
      • wewewedxfgdf 1 hour ago
        I'm using the web UI and its container.
    • jimmydoe 1 hour ago
      My gh connnector half works in cc web. It clones ok but cant see gh comments.
    • fzzzy 1 hour ago
      It can do all those things from the claude code web version.
      • wewewedxfgdf 1 hour ago
        Quote:

        "i enabled github connector can you see it?"

        Answer: "I don't see a GitHub connector in the available integrations. The search only returned a Microsoft Learn connector (not connected). It's possible the connector hasn't fully activated yet, or it may not be available in your current setup. Could you double-check in Settings → Integrations that it shows as connected?"

        Multiple such checks and re-setups do nothing.

  • ed_mercer 2 hours ago
    I don't understand how this can be economically viable. If this takes off, it will allow businesses to use openclaw-like functionality at non-api prices (pro, max).
    • tpt2 2 hours ago
      Do you know for sure if the pro / max plans are unprofitable at full usage? I did a brief back of the envelope calculation for minimax m2.5 comparing its api pricing to my token usage on a full quota max 20x Claude plan, it worked out around 260 ish which assuming some margin would put the Claude max around breakeven.
      • levocardia 2 hours ago
        It doesn't matter if they are unprofitable at full usage, as long as there are enough users (like me!) who barely ever max out but still pay the $100/month. The people who love Claude Code enough to max out the 20x plan every day, that's probably the best influencer marketing campaign you could ever buy anyways.
      • CuriouslyC 2 hours ago
        Anthropic previously shared that they make ~60% margin on API access. So they're losing money on plan whales.
  • _pdp_ 2 hours ago
    Very cool!

    However, once remote capabilities are added to any software, it is virtually guaranteed that they will eventually be exploited as backdoors.

    This means enterprise security solutions will need to develop the capability to distinguish between legitimate and illegitimate Claude Code instances.

  • sidgtm 1 hour ago
    It’s quite basic if I am using it correctly! It expects certain commands to be still approved on main machine.
  • comboy 3 hours ago
    Claude getting clawed.
    • sidgtm 2 hours ago
      this is exactly i thought!
  • subpixel 2 hours ago
    This is exactly what I planned to figure out how to do: maintain an instance of Claude that can accept triggers that become tasks.
  • aavci 3 hours ago
    Interesting to see it took them so long to implement this. Claude was super limiting without the ability to have a scheduler or a connection to events
  • vessenes 3 hours ago
    This looks super super useful.. I'm making an agent to agent chat tool (that I think is actually ready for testing, so please check it out) -- https://chat.corpo.llc/ or https://github.com/corpo/qntm -- and the difficulty of getting claude to check and respond to messages is real.

    Basically the Claude CLI is the operating system is the product vibe I get right now.

    • vessenes 1 hour ago
      Gosh darn it: github.com/corpollc/qntm. NOT corpo/qntm.
    • mixtureoftakes 3 hours ago
      github unavailable; what you think would be the primary usecase for agent to agent chat?
      • vessenes 1 hour ago
        Dang it, I wrote the wrong link. https://github.com/corpollc/qntm

        I wrote it originally because I wanted my openclaw install to talk to my assistant's openclaw, and my openclaws that were local at different houses.

        It's morphed a lot since then, and is close to being super useful -- it allows group chat, and is close to having a realistic API call on threshold vote gateway system built in.

        That stuff is built to support Corpo's main business model which is providing real world asset and governance access to agents.

        So, for example, I think agents might like to vote on sending a wire transfer by approving a specific mercury bank API call.

        I could go on. You can also use it to remotely chat to an agent across firewalls - it's pull / poll only.

        And if anyone is interested, I made an HN Group chat: https://chat.corpo.llc/?invite=p2F2AWR0eXBlZmRpcmVjdGVzdWl0Z...

    • ai_fry_ur_brain 3 hours ago
      People be doing the most-unnecessary things. Your agents do not need to chat with eachother. You actually dont need agents. Its retarded.
      • vessenes 1 hour ago
        Good handle. Keep up the fight against clankers. my agents like chatting with each other tho
  • vicchenai 2 hours ago
    been running something similar with openclaw for a while now - github webhooks triggering code review, slack messages kicking off tasks, etc. nice to see anthropic building this natively into claude code. the telegram/discord support is a smart call too, way more devs hang out there than people realize.
  • owenthejumper 1 hour ago
    Claw-ification
  • informal007 3 hours ago
    Really surprised for the frequent innovation of Anthropic
    • kgwgk 2 hours ago
      For a suitable value of “innovation”.
  • ftchd 2 hours ago
    we have OpenClaw at home

    (and it may be better)

  • luckydata 2 hours ago
    finally! I'm building an app that's essentially a "sidecar" to an llm subscription and works via mcp and has a web ui to make reviewing deliverables easier, uses the user's subscription for intelligence instead of requiring to pay for tokens inside the app. The problem until now is I couldn't trigger AI work from the web ui, that limitation will be soon gone, it fixes a huge ux issue for me, I honestly thought it would happen sooner but I'm glad the industry is catching up.
  • AIorNot 3 hours ago
    OpenClaw approach has moved into frontier companies I see -
    • sidgtm 2 hours ago
      yes! its all happening
  • vrosas 2 hours ago
    I also get the impression this is way more complicated than it needs to be. Or maybe it's simple and they keep inventing new terminology for stuff that basically already exists. The crypto bros did the same shit. Like, bidirectional communication has been a thing for decades. We're just changing what we call the client and the server? And the protocol is just strings the bot on the other end is a little better at reading?
  • aantix 2 hours ago
    Imagine if they were able to support iMessage.
  • Invictus0 3 hours ago
    so its a webhook
    • samrus 3 hours ago
      i dont like this class of criticism. mostly because i find myself do it alot. it doesnt matter if the tool used is simple, if it generates value then its a good idea

      what should this fallacy be called? ad implementum? ad modum?

    • ray_v 3 hours ago
      it's a webhook ... as MCP!