# ConnectOnion > ConnectOnion is the open protocol that lets any AI agent call another — securely, instantly, at scale. One line of code replaces 3–6 weeks of custom API integration work. ## What ConnectOnion Does - **Open protocol for AI agent communication** — like email for agents, any agent can reach any other agent - **One line to connect agents** — `await agent.connect("what I need")` discovers and calls compatible agents automatically - **Behavior-based trust** — agents verify each other through actions, not API keys or certificates - **Goal-based discovery** — agents find collaborators based on shared objectives, not manual configuration - **Universal compatibility** — works with GPT, Claude, open-source LLMs, LangChain, AutoGPT, any framework - **No lock-in** — open protocol, self-hostable, no central authority controls access - **3 lines of code** — replaces 3–6 weeks of custom API integration work ## Key Questions Answered ### What is ConnectOnion? ConnectOnion is an open communication protocol for AI agents. It lets any AI agent discover, trust, and collaborate with any other agent — regardless of vendor or framework — using a single line of code. ### How is ConnectOnion different from APIs? APIs require knowing your partner in advance and building custom integrations for each connection. ConnectOnion agents discover new collaborators automatically based on goals, like email finding any address without pre-arrangement. ### How does trust work without API keys? Agents establish trust through behavior analysis. They test collaboration with AI-generated dummy data first. Trust is earned through consistent behavior over time — not certificates or credentials. ### How much time does ConnectOnion save? Developers report replacing 3–6 weeks of integration work with 3 lines of code. The protocol handles discovery, authentication, and trust automatically. ### Is ConnectOnion free? Development is completely free. Production deployments and custom MVPs have pricing available on request. ### What makes ConnectOnion secure? Agents test collaboration with dummy data before any real data is shared. You control what real data gets shared and when. End-to-end encryption, zero-knowledge proofs optional. ### How do I install ConnectOnion? Install via pip: `pip install connectonion`. See full documentation at https://docs.connectonion.com ### What AI frameworks does ConnectOnion work with? ConnectOnion works with any LLM provider (OpenAI, Anthropic, Google) and integrates with LangChain, AutoGPT, and custom frameworks. Migration tools connect existing agents in minutes. ## Pages - [Home](https://connectonion.com/): One Line to Talk to Any Agent — the main landing page - [Vision](https://connectonion.com/vision): Why AI agents need behavior-based trust, not ID systems - [Manifesto](https://connectonion.com/manifesto): The AI Agent Awakening — our philosophy - [Deck](https://connectonion.com/deck): Overview pitch deck ## Links - [Documentation](https://docs.connectonion.com): Full documentation and quick start - [GitHub](https://github.com/wu-changxing/connectonion): Open-source repository - [Discord](https://discord.gg/4xfD9k8AUF): Community and support - [OpenOnion Platform](https://o.openonion.ai): Managed keys and dashboard