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 { createContext, useContext } from 'react';
export interface RuntimeStatus {
state?: string;
last_action?: string;
[key: string]: any;
}
interface StatusContextType {
status: RuntimeStatus;
health: boolean;
refreshStatus: () => Promise<RuntimeStatus | null>;
control: (action: string, payload?: any) => Promise<any>;
}
export const StatusContext = createContext<StatusContextType | undefined>(undefined);
export const useStatus = () => {
const context = useContext(StatusContext);
if (!context) {
throw new Error('useStatus must be used within a StatusProvider');
}
return context;
};