Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.
Python agentagent-osaiai-agentsai-partnerchatopsclaudeclaude-codecodexdevtoolsdiscord-botlark-botllmlocal-firstlong-term-memoryopencodeslack-botvibe-codingvibeywechat
"""IM platform abstraction package
Provides unified interface for different instant messaging platforms.
Example usage:
from modules.im import BaseIMClient, IMFactory, MessageContext
# Create client via factory
client = IMFactory.create_client(config)
# Use platform-agnostic messaging
context = MessageContext(user_id="123", channel_id="456")
await client.send_message(context, "Hello!")
"""
# Core abstractions
from .base import (
BaseIMClient,
BaseIMConfig,
MessageContext,
InlineButton,
InlineKeyboard,
)
# Factory for client creation
from .factory import IMFactory
# Platform implementations are available but not imported by default
# to avoid circular import issues. Import them explicitly if needed:
# from .slack import SlackBot
__all__ = [
"BaseIMClient",
"BaseIMConfig",
"MessageContext",
"InlineButton",
"InlineKeyboard",
"IMFactory",
]
# Convenience function for quick client creation
def create_client(config):
"""Convenience function to create IM client
Args:
config: Application configuration
Returns:
Platform-specific IM client instance
"""
return IMFactory.create_client(config)
# Platform information
def get_supported_platforms():
"""Get list of supported IM platforms
Returns:
List of supported platform names
"""
return IMFactory.get_supported_platforms()