Installation
Prerequisites
Section titled “Prerequisites”- Python 3.11+ — check with
python3 --version - uv — fast Python package manager
- Claude CLI — the Anthropic Claude Code CLI, installed and authenticated
- Git
Install uv
Section titled “Install uv”curl -LsSf https://astral.sh/uv/install.sh | shInstall and authenticate Claude CLI
Section titled “Install and authenticate Claude CLI”Follow the official instructions to install Claude Code. Then authenticate:
claude # follow the prompts to log inYou can also set ANTHROPIC_API_KEY in your environment if you prefer API key authentication.
Install OpenShrimp
Section titled “Install OpenShrimp”Clone the repository and install dependencies:
git clone https://github.com/yjwong/open-shrimp.gitcd open-shrimpuv syncRun the setup wizard
Section titled “Run the setup wizard”If this is your first time, run the bot and it will launch an interactive setup wizard:
uv run openshrimpThe wizard walks you through:
- Entering your Telegram bot token (from @BotFather)
- Your Telegram user ID (from @userinfobot)
- Creating your first context (project directory, description, model)
It writes the config to ~/.config/openshrimp/config.yaml. You can also set this up manually — see Configuration.
Next steps
Section titled “Next steps”Before running the bot, you need a Telegram bot token. Head to Telegram Setup.