Getting Started with Bee CLI Bee released Bee CLI, a command-line interface installed via `npm install -g @beeai/cli` that lets users export their Bee conversations, facts, todos and other data to local markdown files. The CLI renders markdown by default and supports `--json` for machine-readable output, and requires the Bee iOS app with Developer Mode unlocked by tapping the app Version 5 times. Bee positions the CLI as the preferred option for AI agents and offers an MCP connection for tools including Claude, Claude Code and Codex to access Bee context. Getting Started with Bee CLI Bee CLI is the command-line interface for interacting with your Bee data. It allows you to export your conversations, facts, todos, and more to local markdown files. Two Ways to Work with Bee You can work with Bee in two ways: 1. CLI : Use bee commands directly in your terminal. This is usually the best option for AI agents because it provides markdown output by default, supports JSON when needed, and works well with local automation. 2. API : Call the Bee developer API over HTTPS from your app or service, through the public endpoint, a local bee proxy , or raw TLS. See API documentation https://docs.bee.computer/docs/api . Prefer to wire Bee directly into an AI assistant? Connect it over MCP https://docs.bee.computer/docs/mcp to give tools like Claude, Claude Code, or Codex live access to your Bee context. This guide continues with the CLI workflow. Prerequisites To use the Bee CLI, you must have the Bee iOS app installed and Developer Mode unlocked by tapping app Version 5 times. See the Developer Mode guide https://docs.bee.computer/docs/developer-mode . Installation npm npm install -g @beeai/cli Verify the installation: bee version Output Modes Data commands render markdown by default. Add --json when you need machine-readable output. markdown bee me Authentication Login to your Bee account Run the login command: bee login Verify your connection Check that you’re authenticated: bee status Test the connection Ping the Bee servers: bee ping Your First Commands Once authenticated, try these commands to explore your data: markdown Get your user profile bee me See your daily brief calendar events, emails bee today View recent conversations from the last 10 hours bee now List your facts bee facts list List your todos bee todos list Search your data fast default mode bee search --query "project roadmap" Semantic search slower neural mode bee search --query "What do you know about me?" --neural Syncing Your Data The most powerful feature of Bee CLI is the ability to sync your data to local markdown files: bee sync This creates a bee-sync/ directory with all your data organized in markdown format. See the Full Sync documentation https://docs.bee.computer/docs/sync for more details. Logging Out To clear your credentials: bee logout Next Steps - Learn about all available CLI commands https://docs.bee.computer/docs/cli - Learn how to use Search https://docs.bee.computer/docs/search default and neural modes - Set up automatic Full Sync https://docs.bee.computer/docs/sync for your data - Use Realtime Sync https://docs.bee.computer/docs/realtime for real-time events - Run a local API https://docs.bee.computer/docs/api server - Connect your AI assistant with MCP https://docs.bee.computer/docs/mcp