The AI Companion API enables seamless integration between personal sovereign AI agents and client applications, providing users with personalized AI assistance while maintaining data sovereignty and privacy.
Overview
The AI Companion API provides a standardized interface for connecting personal sovereign AI agents with various client applications. Each companion agent operates through a dedicated Matrix bot service that connects to the user’s Matrix room via the Matrix MCP (Matrix Client-Server Protocol) interface.The Matrix MCP interface is currently in development. This documentation serves as a placeholder and will be updated as the implementation progresses.
Key Capabilities
Sovereign AI Agents
Personal AI assistants that respect user data sovereignty and privacy
Matrix Integration
Secure communication through Matrix protocol and rooms
Multi-Client Support
Connect with web, mobile, and desktop applications
Personalization
Customizable AI behavior and knowledge base
Architecture
Matrix Bot Service
Matrix Bot Service
- Dedicated bot for each companion agent
- Secure communication channel
- Event-driven messaging
- End-to-end encryption support
- Persistent connection management
Matrix MCP Interface
Matrix MCP Interface
- Client-server protocol implementation
- Authentication and authorization
- Room management
- Message encryption
- Media handling
Client Integration
Client Integration
- SDK libraries for various platforms
- WebSocket connections
- Event listeners
- Message formatting
- UI components
Implementation Guide
1
Setup Matrix Connection
2
Connect to Companion Bot
3
Send Commands
4
Handle Responses
API Reference
Authentication
Authentication
Message Exchange
Message Exchange
Companion Configuration
Companion Configuration
Use Cases
Personal Assistant
Daily task management, reminders, and information retrieval
Knowledge Navigator
Guide through complex information and learning resources
Data Analyst
Process and analyze personal or Organisational data
Domain Expert
Specialized knowledge in specific domains like finance or healthcare
Privacy & Security
Data Sovereignty
Data Sovereignty
- User maintains control of all data
- Local processing options
- Selective sharing controls
- Data retention policies
- Export and deletion capabilities
Encryption
Encryption
- End-to-end encryption
- Zero-knowledge protocols
- Secure key management
- Encrypted storage
- Secure communication channels
Consent Management
Consent Management
- Explicit permission controls
- Granular access settings
- Usage transparency
- Audit logging
- Revocation mechanisms
Integration Examples
Development Status
The AI Companion API and Matrix MCP interface are currently under development. Key milestones include:1
Matrix Protocol Integration
Implementation of the Matrix Client-Server Protocol for secure communication
2
Bot Service Development
Creation of the companion bot service architecture
3
Client SDKs
Development of client libraries for web, mobile, and desktop applications
4
Security & Privacy Framework
Implementation of encryption, data sovereignty, and consent management
Resources
Matrix Protocol
Learn about the Matrix communication protocol
IXO Matrix SDK
Matrix client SDK documentation
AI Companion Guide
Implementation guide for AI companions
GitHub Repository
Source code and examples
For technical support or questions about the AI Companion API, join our Developer Community or contact our Developer Relations Team.