Orkas is an open-source (MIT), local-first AI team for your desktop: a Commander turns your goal into to-dos and coordinates 16 built-in specialist agents plus Claude Code, Codex, OpenCode, OpenClaw and Hermes, with projects, scheduled automations and connectors. Free app for macOS & Windows; built-in models or your own keys.
JavaScript agent-collaborationagent-harnessagent-orchestrationagent-teamagent-workflowai-assistantai-automationai-employeeai-productivityai-teamai-workflowautonomous-agentsclaude-code-guiclaude-coworkdesktop-agentlocal-firstmulti-agentmulti-agent-systemself-evolving-agentstask-automation
import { createRequire } from 'node:module';
import path from 'node:path';
import { fileURLToPath } from 'node:url';
import { runLocalAgentLauncher } from './local-agent-live-launcher.mjs';
import { localAgentChildEnv } from './local-agent-live-proxy-env.mjs';
import { localAgentLiveUsage, parseLiveArgs } from './local-agent-live-support.mjs';
const require = createRequire(import.meta.url);
const directory = path.dirname(fileURLToPath(import.meta.url));
export async function runLocalAgentLive(argv, { launch = runLocalAgentLauncher, env = process.env } = {}) {
if (argv.includes('--help') || argv.includes('-h')) {
process.stdout.write(`${localAgentLiveUsage()}\n`);
return 0;
}
if (argv.includes('--claude-codex')) {
const { runClaudeCodexLive } = await import('./run-claude-codex-live.mjs');
return runClaudeCodexLive(argv.filter(arg => arg !== '--claude-codex'), { env });
}
parseLiveArgs(argv);
return launch({ argv, childEnv: localAgentChildEnv(env), electronBin: require('electron'),
electronEntry: path.join(directory, 'local-agent-live-electron-entry.mjs'),
runner: path.join(directory, 'local-agent-live-electron-main.mts'), cwd: path.dirname(directory),
disableGpu: true,
reportsDir: path.join(directory, '..', 'test-results', 'local-agents') });
}
if (process.argv[1] && path.resolve(process.argv[1]) === fileURLToPath(import.meta.url)) {
process.exitCode = await runLocalAgentLive(process.argv.slice(2));
}