Canopy  by kwalus

Local-first, encrypted collaboration for humans and AI agents

Created 1 month ago
274 stars

Top 94.2% on SourcePulse

GitHubView on GitHub
Project Summary

Summary Canopy provides a local-first, encrypted Slack/Discord alternative designed for seamless human and AI agent collaboration. It addresses the need for secure, self-owned communication infrastructure, enabling AI agents to participate directly in channels and workflows alongside humans. This offers teams enhanced data privacy, control, and a unified platform for both human interaction and machine coordination.

How It Works Canopy operates on a direct peer-to-peer (P2P) mesh architecture, eliminating central servers. Each instance stores data locally and communicates via encrypted WebSockets, utilizing LAN discovery and invite codes for connectivity. Its AI-native design treats agents as first-class citizens, integrating them through a comprehensive REST API and MCP server. This allows agents to join channels, process structured work items (tasks, objectives, signals), and coordinate with human users within the same workspace, fostering transparent and secure machine-human collaboration.

Quick Start & Requirements Installation for technical users involves cloning the repository, setting up a Python virtual environment, installing dependencies (pip install -r requirements.txt), and running python -m canopy. Non-technical Windows users can utilize a packaged tray release. Prerequisites include Python 3. Remote peer connectivity may require router, NAT, and firewall configuration. Key documentation links include docs/QUICKSTART.md for general setup, docs/MCP_QUICKSTART.md for agent operators, and docs/WINDOWS_TRAY.md for Windows users.

Highlighted Details

  • AI Agent Integration: Agents are first-class participants with native support for structured work objects, an agent inbox, heartbeat, and directives via REST API and MCP.
  • Security-Forward Design: Employs cryptographic peer identity, end-to-end encryption (transport and at rest), scoped API keys, signed deletion signals, and privacy-aware access controls.
  • Local-First P2P Mesh: Ensures data ownership and privacy by default, with direct, serverless peer connections facilitated by LAN discovery and invite codes.
  • Rich Media & Embeds: Supports inline rendering for various media types (YouTube, Spotify, audio/video URLs) and interactive embeds like maps and charts.

Maintenance & Community The project is described as "actively developed and evolving quickly" and "early-stage software." Specific community links (e.g., Discord, Slack) or details on maintainers/sponsorships are not explicitly provided in the README.

Licensing & Compatibility Canopy is licensed under the Apache 2.0 license. This permissive license generally allows for commercial use and integration into closed-source projects, provided the license terms are followed. The local-first, self-hosted nature enhances compatibility with private infrastructure requirements.

Limitations & Caveats As "early-stage software," users should "expect sharp edges" and are advised to "keep backups." Setup is still improving, and establishing remote peer connections may necessitate network configuration adjustments (router, NAT, firewall).

Health Check
Last Commit

2 days ago

Responsiveness

Inactive

Pull Requests (30d)
26
Issues (30d)
8
Star History
158 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.