apexo-code

Apexo: An open-source, general-purpose coding agent for terminal (TUI), web, and desktop with autonomous goals, workflows, persistent memory, command sandboxing

What is apexo-code?

Apexo: An open-source, general-purpose coding agent for terminal (TUI), web, and desktop with autonomous goals, workflows, persistent memory, command sandboxing, and first-class support for Gemini, Grok, and OpenAI-compatible models.

Overview of apexo-code

What it is

Apexo is an open-source, general-purpose coding agent that provides a unified terminal UI (TUI), web UI, and Electron desktop app, all powered by a single local agent runtime. It supports autonomous goals, multi-session workflows, background task orchestration, persistent project memory, command sandboxing, lifecycle hooks, and side-channel queries. The agent offers first-class support for Google Gemini, xAI Grok, and OpenAI-compatible models, and can also connect to Anthropic (Claude), MiniMax, DeepSeek, Qwen, or any self-hosted endpoint (vLLM, Ollama, LM Studio). Authentication is handled locally via OAuth or API keys; no hosted gateway or telemetry relay is used.

Key features

  • Autonomous Goals (/goal): Define a target objective and verification criteria; the agent iterates until the goal is verified, paused, blocked, or out of budget.
  • Multi-Session Workflows (/workflow): Run structured multi-step workflows in dedicated child sessions while keeping the main conversation responsive.
  • Background Tasks & Subagents (/tasks): Manage background shell commands, scheduled recurring jobs (/loop), subagents, and coordinator sessions.
  • Persistent Memory (/memory, /remember, /flush, /dream): Review, curate, and consolidate durable project and user memory across sessions.
  • Command Sandbox (/sandbox): Enforce OS-level sandboxing (seatbelt on macOS, bubblewrap on Linux) for native shell commands.
  • Lifecycle Hooks (/hooks): Inspect and govern repository and user hooks with explicit per-repository trust controls.
  • Side Questions (/btw): Ask a quick side question in a modal without polluting the active session turn.

Use cases

Apexo is designed for coding tasks in terminal, web, and desktop environments. It can be used for autonomous goal achievement, running multi-step workflows, managing background tasks, and interacting with code repositories. The agent supports one-shot CLI execution (e.g., apexo run 'explain this repo') and can serve as an Agent Client Protocol (ACP) server for editors like Zed.

Getting started

Install via npm: bash npm install -g apexo-code apexo --version Start the terminal UI: bash apexo For authentication and provider setup: bash apexo auth login See the repository README for detailed installation guides, platform-specific instructions, and build-from-source steps.

License and pricing

Apexo is open-source under the MIT license. It is free to use with no hosted middleman, subscription, or ads.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/cluster1900apexo-code.svg)](https://yunodb.com/tools/cluster1900apexo-code?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/cluster1900apexo-code?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/cluster1900apexo-code.svg" alt="Featured on YunoDB" height="20"></a>