openonion/connectonion
CLI is all you need. The agent CLI harness.
What it solves
ConnectOnion provides a unified command-line interface (CLI) harness that allows AI agents to interact with a wide array of personal and professional tools. It eliminates the need for complex plugin architectures or server configurations by giving agents a single entry point (co) to access Gmail, Outlook, Slack, Discord, Linear, web browsers, and local files, ensuring that the agent's context is discovered on-demand rather than bloating the prompt.
How it works
The project implements a CLI-first approach where every tool is exposed as a command. Agents discover these tools by reading the --help pages of the co command, which serve as the actual prompts for the agent. This allows for a dynamic discovery process: the agent runs co to see available groups, then co <tool> --help to understand how to use a specific tool, and finally executes the command to get data. This process keeps the agent's context window clean and reduces costs.
Who it’s for
Developers building AI agents (such as those using Claude Code, Codex, or Cursor) and power users who want their agents to have secure, local access to their accounts and data across multiple platforms without needing to manage multiple APIs or plugins.
Highlights
- Unified CLI Harness: A single command (
co) for accessing email, chat apps, calendars, and issue trackers. - Decentralized Context Flow (
co rem): Connects scattered context from mail and coding sessions into local, linked Markdown pages for long-term memory. - On-Demand Discovery: Agents use
--helppages as prompts, preventing context window bloat. - Broad Integration Suite: Built-in support for Gmail, Outlook, WhatsApp, Telegram, Discord, Slack, and more.
- Local Security: Credentials stay on the user's machine in encrypted environment files.
- MCP Support: Upcoming support to wrap Model Context Protocol (MCP) servers into the same CLI interface.
Related
- Project
- Dispatch
- Dispatch
- Project
- Project