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
// @vitest-environment jsdom
import { cleanup, render } from '@testing-library/react';
import { afterEach, describe, expect, it } from 'vitest';
import { getBackendUiMeta } from '@/lib/agentBackends';
import { BACKEND_BRAND_MARKS } from './backendBrandMarks';
import { BackendAvatar, BackendIcon } from './BackendIcon';
const markPath = (container: HTMLElement) => container.querySelector('path')?.getAttribute('d');
// Vibey's face is one entry in the backend visuals table: every surface that
// draws a backend icon or an Agent avatar takes it from there.
describe('Vibey mark', () => {
afterEach(cleanup);
it('is the built-in backend icon, avatar and brand mark', () => {
const vibey = BACKEND_BRAND_MARKS.vibey.path;
const { Icon, Avatar } = getBackendUiMeta('vibey');
expect(markPath(render(<Icon size={16} />).container)).toBe(vibey);
expect(markPath(render(<Avatar size={16} />).container)).toBe(vibey);
expect(markPath(render(<BackendAvatar backend="vibey" />).container)).toBe(vibey);
expect(markPath(render(<BackendIcon backend="vibey" variant="brand" size={28} />).container)).toBe(vibey);
});
it('follows the text color so it reads on dark and light themes', () => {
const { container } = render(<BackendAvatar backend="vibey" className="size-3.5" />);
const svg = container.querySelector('svg')!;
expect(svg.getAttribute('class')).toBe('size-3.5');
expect(container.querySelector('path')!.getAttribute('fill')).toBe('currentColor');
});
it('leaves native Agents on the generic Agent glyph', () => {
for (const backend of ['claude', 'codex', 'opencode']) {
const { container, unmount } = render(<BackendAvatar backend={backend} />);
expect(container.querySelector('svg')!.getAttribute('class')).toContain('lucide-bot');
unmount();
}
});
});