Open-source AI coworkers that each get a computer of their own: a browser, files and tools, with every action decided before it happens and recorded after. Bring any AG-UI agent.
/** The CLI key is authoritative after reconnecting; older deployments may use the legacy name. */
export function intelligenceApiKey(
environment: Record<string, string | undefined>,
): string | undefined {
return (
environment.CPK_INTELLIGENCE_API_KEY?.trim() ||
environment.INTELLIGENCE_API_KEY?.trim() ||
undefined
);
}