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
import { renderToStaticMarkup } from 'react-dom/server';
import { MemoryRouter } from 'react-router-dom';
import { describe, expect, it } from 'vitest';
import { CapabilityTabs } from './CapabilityTabs';
import {
InstanceAuthorizationContext,
type InstanceAuthorizationValue,
} from '../../context/InstanceAuthorizationContext';
import { OWNER_INSTANCE_CAPABILITIES } from '../../lib/sessionInfo';
function renderWith(context: InstanceAuthorizationValue, path = '/agents') {
return renderToStaticMarkup(
<InstanceAuthorizationContext.Provider value={context}>
<MemoryRouter initialEntries={[path]}>
<CapabilityTabs />
</MemoryRouter>
</InstanceAuthorizationContext.Provider>,
);
}
const localOwner: InstanceAuthorizationValue = {
remote: false,
instanceKind: null,
instanceRole: 'owner',
capabilities: OWNER_INSTANCE_CAPABILITIES,
};
describe('CapabilityTabs', () => {
it('shows the Harness tab to a local owner', () => {
const markup = renderWith(localOwner);
expect(markup).toContain('workbench.modules.harness.title');
});
it('shows the Harness tab for an Editor', () => {
const remoteOwner: InstanceAuthorizationValue = {
...localOwner,
remote: true,
instanceRole: 'editor',
capabilities: {
...OWNER_INSTANCE_CAPABILITIES,
can_manage_instance: false,
can_manage_access_members: false,
},
};
const markup = renderWith(remoteOwner);
expect(markup).toContain('workbench.modules.agents.title');
expect(markup).toContain('workbench.modules.harness.title');
});
});