Open-source AI teammates in Slack, Teams, Discord, Telegram and Mattermost. Self-host it, with any agent harness and any model.
Python agent-orchestrationaiai-agentschatopsdiscordlangchainmcpmicrosoft-teamsmulti-agentopen-sourceopenaiself-hostedslack
import { ChatMarkdown } from '@renderer/features/chats/ui/chat-markdown';
import { BuddyAvatar } from './buddy-avatar';
import { buddyWelcomeMessage } from './buddy-welcome-message';
/**
* switch-buddy's welcome while it does not exist yet: the very message it
* posts once created, drawn the way the chat draws an agent's message, so
* nothing changes but the box below when the real one arrives.
*/
export function BuddyWelcome({
firstName,
agentName,
}: {
firstName: string | null;
agentName: string;
}) {
return (
<div className="flex gap-3" data-testid="buddy-welcome">
<BuddyAvatar size={28} shape="round" className="self-start" />
<div className="flex min-w-0 flex-1 flex-col">
<span className="mb-1 text-xs leading-4 font-semibold text-foreground-muted">
{agentName}
</span>
<div className="text-sm leading-relaxed">
<ChatMarkdown>{buddyWelcomeMessage({ firstName, agentName })}</ChatMarkdown>
</div>
</div>
</div>
);
}