Facebook’s Secret Chat SDK Lets Developers Build Messenger Bots


Image Credits:

M won’t be the only artificial intelligence on Facebook Messenger. Facebook has given some developers access to an unannounced Chat SDK that allows them to build interactive experiences and “bots” in Messenger for shopping, booking travel, and more, sources with direct knowledge of the SDK confirm.

The Chat SDK allows developers to create bots that users can send text messages to directly and that automatically respond with information, images, location services, product prices, Buy buttons, and more. The Chat SDK can also tap into Messenger built-in payments system to let users make purchases via bots.

Facebook hasn’t publicized any of the documentation for the Chat SDK, which is currently being shared with developers through PDF documents. The project is in part led by Facebook Messenger’s head of strategic partnerships Bryan Hurren. Facebook declined to comment.

[Update 1/6 10:25am PSTAssist appears to be one of the bots built on the Messenger Chat SDK. It claims that it offers interactive bot functionality on Messenger. When I asked the company about whether it uses the Chat SDK, it’s refused to say, writing back “We are excited to be available on Facebook messenger. We cannot discuss the specifics of the integration.”]

While it’s only in limited release right now, the Chat SDK could flourish into a more open platform beyond its early big-name partnership experiments like Uber.

We’re just getting people used to the idea that you can message more than just people on Messenger. Seth Rosenberg, Facebook product manager

At first it might seem odd that Facebook would help developers build Messenger bots that might compete with its own hybrid human/AI assistant. But one of the big goals of M is to differentiate Messenger as a chat app with super powers, and make it what people want to use for everyday communication instead of SMS or other competitors.

By nurturing an ecosystem of chat bots, Facebook could get outside developers to enhance Messenger’s value and make it more addictive. That way users stay in Facebook’s family of apps, where they’re more likely to be exposed to ways Facebook earns money and delivers connection.

The Messenger Chat SDK could get more developers the ability to build bots like Uber’s.

The WeChat Of The West

The concept of lightweight chat-based interfaces for commerce, news, and more was pioneered and popularized in Asia by apps like China’s WeChat and Japan’s Line. Rather than forcing people to download entire apps for each business or use case, they can simply send messages “official accounts” or chat bots inside the instant messaging app they already use all day. These allow you to make purchases with a WeChat-connected payment option, order a taxi, buy movie tickets, pay bills, and more.

These bots and official accounts make accessing added utility not only convenient for the user. Chat app platforms relieve businesses from having to build, popularize, and maintain whole mobile apps for multiple phone operating systems. With so many apps flooding the app stores, getting people to discover them and go through the hassle of installing an app can be tough for businesses. It’s much more casual and less daunting for businesses to get users to simply message them.

The more useful features developers and businesses build into Messenger, the stickier it gets. It’s a similar strategy to Slack, which formally launched its workplace chat app platform last month.

Facebook previewed customer service over Messenger at F8 last April
Facebook previewed customer service over Messenger at F8 last April

Previously Facebook has worked with specific partners to build bot-like integrations for Messenger, but they were rather controlled experiments with big names. We broke the news last year that Facebook would turn Messenger into a platform for full-scale apps like Giphy and PingTank For Messenger, which help users make rich media content to send friends.

But at the launch at Facebook’s F8 conference, it also unveiled its Businesses On Messenger platform for allowing companies to offer real-time customer service via chat, plus receipts and ways to change orders. Its initial partnership with Everlane showed customers able to chat with someone to get their shipping address changed, and take care of all the confirmations in the chat thread rather than by email.

Facebook In-line botsSince then, Facebook hasn’t talked much about Businesses On Messenger, as focus shifted to the limited launch of then Facebook M assistant. Meanwhile, it built a way for users to get real-time World Series baseball updates from the MLB, and get price quotes on handywork and connect to contractors from

TechCrunch was tipped off about one more curious thing Facebook has done in Messenger. For some users, entering the @ symbol at the start of a message brings up a “Command” menu with just one option called “Holiday Challenge”. It seems Facebook is testing in-line bots similar Telegram and Kik in addition to full-fledged bot accounts built through the SDK.

Useful = Addictive

Last month, Facebook finally showed off the real potential of bots on Messenger with its Uber integration. Tap the Transportation button or an address and select Uber, and you’ll start a chat thread with the car service. An interactive panel in the chat lets you set your pickup point, destination, and payment option. You’ll then get updates in the thread as the driver approaches, with options to view a map or call the driver.

Facebook Chat Uber

Bots built with the Messenger Chat SDK will look and work similar to these screenshots. They’ll be immediately messageable without having to Friend or Like them. The bots can react to taps on interactive buttons or keywords typed into the thread. Sockets technology will allow them to respond in real-time Rather than seeing M as a competitor to developers’ apps, Facebook could use it to test and experiment with what people want and what’s possible with bots on Messenger.

Chat As A Portal

On the web, keyword search was the core of the experience. But on mobile, it’s become clear that chat is where people spend most of their time. That makes winning the messaging war both a requirement and an opportunity for Facebook.

Screen Shot 2016-01-05 at 8.04.29 PMTo stay dominant on phones, it must make Messenger irresistibly useful, and the best way to do that is to augment its own product with bots from developers that offer convenience and utility for every niche use case. If Facebook controls messaging, it controls the portal to commerce and content as well as communication.

Suddenly it makes more sense that Mark Zuckerberg’s 2016 challenge to himself is building an artificial intelligence assistant to run his house like Iron Man’s Jarvis. “I’ll start teaching it to understand my voice to control everything in our home — music, lights, temperature and so on” he wrote. He too is building a bot that responds to natural language.

Before the Uber integration launch, Facebook Product Manager Seth Rosenberg told TechCrunch “We’re just getting people used to the idea that you can message more than just people on Messenger.” The Chat SDK could bring those people more to message.

More TechCrunch

Welcome back to TechCrunch’s Week in Review. This week had two major events from OpenAI and Google. OpenAI’s spring update event saw the reveal of its new model, GPT-4o, which…

OpenAI and Google lay out their competing AI visions

Expedia says Rathi Murthy and Sreenivas Rachamadugu, respectively its CTO and senior vice president of core services product & engineering, are no longer employed at the travel booking company. In…

Expedia says two execs dismissed after ‘violation of company policy’

When Jeffrey Wang posted to X asking if anyone wanted to go in on an order of fancy-but-affordable office nap pods, he didn’t expect the post to go viral.

With AI startups booming, nap pods and Silicon Valley hustle culture are back

OpenAI’s Superalignment team, responsible for developing ways to govern and steer “superintelligent” AI systems, was promised 20% of the company’s compute resources, according to a person from that team. But…

OpenAI created a team to control ‘superintelligent’ AI — then let it wither, source says

A new crop of early-stage startups — along with some recent VC investments — illustrates a niche emerging in the autonomous vehicle technology sector. Unlike the companies bringing robotaxis to…

VCs and the military are fueling self-driving startups that don’t need roads

When the founders of Sagetap, Sahil Khanna and Kevin Hughes, started working at early-stage enterprise software startups, they were surprised to find that the companies they worked at were trying…

Deal Dive: Sagetap looks to bring enterprise software sales into the 21st century

Keeping up with an industry as fast-moving as AI is a tall order. So until an AI can do it for you, here’s a handy roundup of recent stories in the world…

This Week in AI: OpenAI moves away from safety

After Apple loosened its App Store guidelines to permit game emulators, the retro game emulator Delta — an app 10 years in the making — hit the top of the…

Adobe comes after indie game emulator Delta for copying its logo

Meta is once again taking on its competitors by developing a feature that borrows concepts from others — in this case, BeReal and Snapchat. The company is developing a feature…

Meta’s latest experiment borrows from BeReal’s and Snapchat’s core ideas

Welcome to Startups Weekly! We’ve been drowning in AI news this week, with Google’s I/O setting the pace. And Elon Musk rages against the machine.

Startups Weekly: It’s the dawning of the age of AI — plus,  Musk is raging against the machine

IndieBio’s Bay Area incubator is about to debut its 15th cohort of biotech startups. We took special note of a few, which were making some major, bordering on ludicrous, claims…

IndieBio’s SF incubator lineup is making some wild biotech promises

YouTube TV has announced that its multiview feature for watching four streams at once is now available on Android phones and tablets. The Android launch comes two months after YouTube…

YouTube TV’s ‘multiview’ feature is now available on Android phones and tablets

Featured Article

Two Santa Cruz students uncover security bug that could let millions do their laundry for free

CSC ServiceWorks provides laundry machines to thousands of residential homes and universities, but the company ignored requests to fix a security bug.

1 day ago
Two Santa Cruz students uncover security bug that could let millions do their laundry for free

TechCrunch Disrupt 2024 is just around the corner, and the buzz is palpable. But what if we told you there’s a chance for you to not just attend, but also…

Harness the TechCrunch Effect: Host a Side Event at Disrupt 2024

Decks are all about telling a compelling story and Goodcarbon does a good job on that front. But there’s important information missing too.

Pitch Deck Teardown: Goodcarbon’s $5.5M seed deck

Slack is making it difficult for its customers if they want the company to stop using its data for model training.

Slack under attack over sneaky AI training policy

A Texas-based company that provides health insurance and benefit plans disclosed a data breach affecting almost 2.5 million people, some of whom had their Social Security number stolen. WebTPA said…

Healthcare company WebTPA discloses breach affecting 2.5 million people

Featured Article

Microsoft dodges UK antitrust scrutiny over its Mistral AI stake

Microsoft won’t be facing antitrust scrutiny in the U.K. over its recent investment into French AI startup Mistral AI.

1 day ago
Microsoft dodges UK antitrust scrutiny over its Mistral AI stake

Ember has partnered with HSBC in the U.K. so that the bank’s business customers can access Ember’s services from their online accounts.

Embedded finance is still trendy as accounting automation startup Ember partners with HSBC UK

Kudos uses AI to figure out consumer spending habits so it can then provide more personalized financial advice, like maximizing rewards and utilizing credit effectively.

Kudos lands $10M for an AI smart wallet that picks the best credit card for purchases

The EU’s warning comes after Microsoft failed to respond to a legally binding request for information that focused on its generative AI tools.

EU warns Microsoft it could be fined billions over missing GenAI risk info

The prospects for troubled banking-as-a-service startup Synapse have gone from bad to worse this week after a United States Trustee filed an emergency motion on Wednesday.  The trustee is asking…

A US Trustee wants troubled fintech Synapse to be liquidated via Chapter 7 bankruptcy, cites ‘gross mismanagement’

U.K.-based Seraphim Space is spinning up its 13th accelerator program, with nine participating companies working on a range of tech from propulsion to in-space manufacturing and space situational awareness. The…

Seraphim’s latest space accelerator welcomes nine companies

OpenAI has reached a deal with Reddit to use the social news site’s data for training AI models. In a blog post on OpenAI’s press relations site, the company said…

OpenAI inks deal to train AI on Reddit data

X users will now be able to discover posts from new Communities that are trending directly from an Explore tab within the section.

X pushes more users to Communities

For Mark Zuckerberg’s 40th birthday, his wife got him a photoshoot. Zuckerberg gives the camera a sly smile as he sits amid a carefully crafted re-creation of his childhood bedroom.…

Mark Zuckerberg’s makeover: Midlife crisis or carefully crafted rebrand?

Strava announced a slew of features, including AI to weed out leaderboard cheats, a new ‘family’ subscription plan, dark mode and more.

Strava taps AI to weed out leaderboard cheats, unveils ‘family’ plan, dark mode and more

We all fall down sometimes. Astronauts are no exception. You need to be in peak physical condition for space travel, but bulky space suits and lower gravity levels can be…

Astronauts fall over. Robotic limbs can help them back up.

Microsoft will launch its custom Cobalt 100 chips to customers as a public preview at its Build conference next week, TechCrunch has learned. In an analyst briefing ahead of Build,…

Microsoft’s custom Cobalt chips will come to Azure next week

What a wild week for transportation news! It was a smorgasbord of news that seemed to touch every sector and theme in transportation.

Tesla keeps cutting jobs and the feds probe Waymo