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 * as React from 'react';
import { useApi } from '@/context/ApiContext';
import { modelHubEnabledFromConfig } from './featureFlags';
export const useModelHubCapability = (): boolean | null => {
const { getConfig } = useApi();
const [enabled, setEnabled] = React.useState<boolean | null>(null);
React.useEffect(() => {
let cancelled = false;
getConfig()
.then((config) => {
if (!cancelled) setEnabled(modelHubEnabledFromConfig(config));
})
.catch(() => {
if (!cancelled) setEnabled(false);
});
return () => {
cancelled = true;
};
}, [getConfig]);
return enabled;
};