Connect AI agents to your web and mobile applications with ease.
AgentBridge is a framework that allows you to expose your application components and functions to AI agents. It provides a standardized way for agents to discover, interact with, and manipulate your application.
- Dual-Mode Communication: Choose between Pub/Sub services like Ably and Firebase, or Self-Hosted mode with WebSockets
- Framework Support: Ready-to-use SDKs for React, Angular, and React Native
- Component Registration: Easy component registration with HOCs, hooks, or decorators
- Function Registration: Expose application functions to agents
- Type-Safety: Full TypeScript support
agentbridge/ ├── packages/ │ ├── core/ # Core functionality and interfaces │ ├── frameworks/ # Framework-specific implementations │ │ ├── react/ # React SDK │ │ ├── angular/ # Angular SDK │ │ ├── react-native/ # React Native SDK │ ├── providers/ # Communication providers │ │ ├── ably/ # Ably provider │ │ ├── firebase/ # Firebase provider │ │ ├── pusher/ # Pusher provider │ │ ├── supabase/ # Supabase provider │ ├── server/ # Self-hosted mode server ├── examples/ # Example applications ├── docs/ # Documentation # Core package npm install @agentbridge/core # Framework SDKs npm install @agentbridge/react # For React applications npm install @agentbridge/angular # For Angular applications npm install @agentbridge/react-native # For React Native applications# Communication Providers npm install @agentbridge/provider-ably # For using Ably as communication provider npm install @agentbridge/provider-firebase # For using Firebase as communication providerFor more detailed installation instructions, see Installation Guide.
// React exampleimport{AgentBridgeProvider}from'@agentbridge/react';import{AblyProvider}from'@agentbridge/provider-ably';constablyProvider=newAblyProvider({apiKey: 'your-ably-api-key'});functionApp(){return(<AgentBridgeProvidercommunicationProvider={ablyProvider}>{/* Your app components */}</AgentBridgeProvider>);}For more examples, see Quick Start Guide.
See our Roadmap for upcoming features and improvements.
Contributions are welcome! See Contributing Guide for details.
MIT