Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

ConnectOnion logo

ConnectOnion

The agent CLI harness. CLI is all you need.

One command line, co, gives your AI agent the accounts and tools it works with: Gmail and Outlook, a logged-in browser, your files, chat apps and other agents. co rem enables decentralized context flow: connect the context in your work, keep it on your machine, and carry it into the next task.

PyPI Python Tests License PyPI Downloads

Website · Docs · Get started · co rem · Releases · Discord

Identity & memory
0x address Agent mailbox co rem Secrets Credits

Mail, calendar & notes
Gmail Outlook Google Calendar Google Meet OneNote Teams meetings

Chat apps
WhatsApp Telegram Discord Slack Feishu / Lark SMS

Browser & files
Your Chrome Remote browser Google Drive YouTube Synology NAS Web search Web fetch

Issues & feedback
Linear Canny

Coding agents
co ai Claude Code Codex Your skills Shared skills Evals CLI audit Cursor Kiro

Models
Managed keys OpenAI Anthropic Gemini Mistral Groq Grok OpenRouter Ollama (local)

Agents & servers
Remote agents Trust Your internet Your servers SSH Schedules

Every command · co commands lists them all.

co rem — decentralized context flow

Your context, connected and ready for the next task. co rem connects context from your mail and coding sessions in local, linked Markdown pages. People, projects, skills and decisions stay connected to their sources, so you and your agents can follow the evidence and reuse that context.

The context lives on your machine, where your tools and agents can read it. Memory keeps it available over time; the goal is to keep context flowing through your work.

Explore co rem → · Try the sample reader · Setup and source controls

co rem morning overview: a changed role, its supporting source, and notebook navigation

The 1.9.0a20 reader with invented example data. The linked sample is a frozen notebook you can explore without connecting an account.

  • Connect scattered context. Bring mail and coding sessions into linked pages about the people, projects and skills involved.
  • Follow the evidence. Trace facts, decisions and changes back to their sources, then carry that understanding into the next task.
  • Keep context in your hands. Local Markdown pages can be read by you and your agents. An approved schedule keeps them current.

Try co rem · 1.9.1

Start with the setup guide for account setup, source choices and model costs. Daily scheduling currently requires macOS. Then run:

pip install --upgrade 'connectonion==1.9.1'
# build your map and first pages; approve nightly upkeep when prompted
co rem init
# read the local notebook
co rem open

Pages stay in ~/.co/rem. Selected source content is sent to the configured model during investigation; see source controls and costs. For access from another device, co rem open --live opens your online co ai Host at https://chat.openonion.ai/<address>/rem, for the Host owner only.

Install and start

One line installs co and sets it up: your agent identity, an OpenOnion key with starter credit, and the skills and command index that tell Codex and Claude Code about co.

curl -fsSL https://raw.githubusercontent.com/openonion/connectonion/main/install.sh | sh

It uses uv (installing it if needed) to keep co out of your system Python, so you need no Python of your own. Then connect what you use:

co auth google      # Gmail and Google Calendar
co auth microsoft   # Outlook
co commands         # everything else; add --help to any
With pip instead
# Python 3.10+
pip install connectonion
co init

The Quick start guide covers Google, the browser, chat apps and project settings.

Your tools, one command line

Use Gmail, Outlook, your browser, files and chat apps from the same co command. Your agent discovers each tool through --help when it needs it.

How the CLI works

CLI is all you need

An agent's work lives in many places: your inbox, your calendar, a chat thread, a web page behind a login, a file on the NAS, an issue tracker, its own notes, another agent. ConnectOnion strings all of that context together with one command line, co. The agent reads a thread with one command, looks something up with the next, and writes the answer with a third. Every step is a line in its shell, and the output of one is the input of the next.

Why a command line, and not MCP or a plugin per tool

  • Every agent already has one. Claude Code, Codex, Cursor and any agent you write can run a shell command. There is no server to start, no client to configure and nothing to install into the agent.
  • It costs no context until it is used. Tool schemas sit in an agent's prompt whether it needs them or not. A command line is discovered on demand: bare co lists the groups, co gmail --help explains one, and only the page the agent opens enters its context.
  • The help page is the prompt. Each --help says what the command does, what it changes (Read-only, Sends, Changes, Deletes…) and gives a real example, so there is no separate skill file or schema to keep in step. CI fails any page that loses one of those parts (co audit).
  • Every answer names the next step. A list ends with how to open the first item, a missing login ends with Next: co auth microsoft, a typo ends with the command you meant. The agent recovers without asking you.
  • It composes. Commands pipe into each other and into scripts, and the transcript is the same commands you would type, so you can read exactly what the agent did, and run it yourself.
# every command group
$ co
# what it does, what it changes, an example
$ co linear --help
$ co linear issues -n 3
3 open issues
CON-3  Todo  No priority  -  2026-10-01  Import your data
CON-1  Todo  No priority  -  2026-10-01  Get familiar with Linear
CON-4  Todo  No priority  -  2026-10-01  Set up your teams
Next: co linear issue CON-3

MCP becomes a command too

MCP servers are useful; the protocol is not the problem, the interface is. co mcp (coming next, #2048) puts any MCP server behind the same command line: co mcp tools <server> lists its tools, co mcp help <server> <tool> renders a tool as a help page, and co mcp call runs it. The agent finds MCP tools the way it finds everything else, through --help, and none of them sit in its prompt.

Credentials stay on your machine, in ~/.co/keys.env or encrypted with co env set … --secret. Writes that matter preview until --yes, and in co ai a risky tool call waits for your approval.

See the CLI in action

Watch the 43-second film — real runs from co 1.8.10.

See search, Linear, Slack, Canny and audit examples co search ConnectOnion printing an answer with its GitHub and website sources

co search ConnectOnion answers from the web and cites its sources. The default engine uses your own search key, then ConnectOnion credits; --engine ddg is free.

co linear issues listing three open issues, then co linear create previewing a new issue

List your Linear issues, then create one. The create shows a preview and changes nothing until --yes.

co slack search finding a message, then co slack thread reading its replies

Search Slack, then read the whole thread. Each message carries the id that co slack send --reply-to takes.

co canny posts ranked by votes, then co canny status previewing a move to planned

Your most-voted Canny requests, and a status change you preview before voters hear about it.

co audit co linear scoring 13 help pages and reporting fit for an agent harness

co audit scores a CLI's help pages the way an agent reads them. CI runs it on every co page, and it works on any other CLI too.

Use it from Claude Code, Codex or Cursor

Nothing to install into them: ask your coding agent to "use co to check my Outlook inbox" and it reads co commands and co outlook --help before it acts. co skills link also links ConnectOnion's skills into Claude Code and Codex (co skills).

ConnectOnion is also a Python framework for building your own agents on the same harness; see the documentation.

Project

Stable 1.9.1 is what pip install connectonion installs; previews remain opt-in (release channels, release notes). Questions go to Discussions or the Discord linked above, bugs to Issues. Contributing · Code of Conduct · Security (report vulnerabilities privately) · Apache-2.0.

Metadata

Release files for connectonion 1.9.2b11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for connectonion 1.9.2b11
File Size Uploaded
connectonion-1.9.2b11.tar.gz 16.7 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for connectonion 1.9.2b11
File Interpreter ABI Platform
connectonion-1.9.2b11-py3-none-any.whl Python 3 none any Details

Total release size: 34.7 MB

Release files / connectonion-1.9.2b11.tar.gz

Download URL connectonion-1.9.2b11.tar.gz
Size 16.7 MB
Tags Source
SHA-256 checksum
How to use checksums
b31fe6a84a70b9df9021ceff7422f604ba56f9227692cbcc069c0f96a37848be
BLAKE2b-256 checksum
How to use checksums
b5cedb61a34a705004b475441e2cdc03ccdf1f13f0f8018b45c9e07c6ef0dac4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.

Transparency log

Release files / connectonion-1.9.2b11-py3-none-any.whl

Download URL connectonion-1.9.2b11-py3-none-any.whl
Size 18.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
bdbdd73b83a5cdc09e6eacbe8b607ccb0bac18f539f5a9d078c3b3b73117cae8
BLAKE2b-256 checksum
How to use checksums
213f783ae8226d889e36cbd6b534e863d306a3abd7dc60a6a65c14a5a6926c65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.9.2b11 This release

2 release files

1.9.1

2 release files

1.9.0

2 release files

1.8.9

2 release files

1.8.8

2 release files

1.8.7

2 release files

1.8.6

2 release files

1.8.5

2 release files

1.8.4

2 release files

1.8.3

2 release files

1.8.2

2 release files

1.8.1

2 release files

1.8.0

2 release files

1.7.4

2 release files

1.7.3

2 release files

1.7.1

2 release files

1.7.0

2 release files

1.6.12

2 release files

1.6.11

2 release files

1.6.10

2 release files

1.6.9

2 release files

1.6.8

2 release files

1.6.6

2 release files

1.6.5

2 release files

1.6.4

2 release files

1.6.3

2 release files

1.6.2

2 release files

1.6.1

2 release files

1.6.0

2 release files

1.5.9

2 release files

1.5.8

2 release files

1.5.7

2 release files

1.5.6

2 release files

1.5.5

2 release files

1.5.4

2 release files

1.5.3

2 release files

1.5.2

2 release files

1.5.1

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.9.7

2 release files

0.9.6

2 release files

0.9.5

2 release files

0.9.4

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.9

2 release files

0.8.8

2 release files

0.8.7

2 release files

0.8.6

2 release files

0.8.5

2 release files

0.8.4

2 release files

0.8.3

2 release files

0.8.2

2 release files

0.8.0

2 release files

0.7.6

2 release files

0.7.5

2 release files

0.7.4

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.9

2 release files

0.6.8

2 release files

0.6.7

2 release files

0.6.6

2 release files

0.6.5

2 release files

0.6.4

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.10

2 release files

0.5.9

2 release files

0.5.8

2 release files

0.5.7

2 release files

0.5.6

2 release files

0.5.5

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.9

2 release files

0.4.8

2 release files

0.4.7

2 release files

0.4.6

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.9

2 release files

0.3.8

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page