1. Download and install
Recommended: install from GitHub release script.
curl -fsSL -o /tmp/install-mistermorph.sh https://raw.githubusercontent.com/quailyquaily/mistermorph/refs/heads/master/scripts/install-release.sh
sudo bash /tmp/install-mistermorph.shThe installer also supports:
bash install-release.sh <version-tag>INSTALL_DIR=$HOME/.local/bin bash install-release.sh <version-tag>
Optional: install from source.
go install github.com/quailyquaily/mistermorph/cmd/mistermorph@latest2. Install agent requirements and built-in skills
mistermorph install
# or
mistermorph install <dir>The install command installs required files and built-in skills under ~/.morph/skills/ (or a specified directory via <dir>).
3. Set up your API key
You can run without a config.yaml by using environment variables:
export MISTER_MORPH_LLM_API_KEY="YOUR_OPENAI_API_KEY_HERE"
# Optional explicit defaults:
export MISTER_MORPH_LLM_PROVIDER="openai"
export MISTER_MORPH_LLM_MODEL="gpt-5.2"Mister Morph also supports Azure OpenAI, Anthropic Claude, AWS Bedrock, and others (see assets/config/config.example.yaml for more options). If you prefer file-based config, use ~/.morph/config.yaml.
4. One-time run
mistermorph run --task "Hello!"If this works, your local quick start is done.
5. Connect Telegram and chat with the agent
5.1 Create a bot token
- Open Telegram and chat with
@BotFather. - Run
/newbotand finish bot creation. - Copy the bot token.
5.2 Add Telegram config
Update ~/.morph/config.yaml:
telegram:
bot_token: "YOUR_TELEGRAM_BOT_TOKEN_HERE"
allowed_chat_ids: [] # add allowed chat ids here5.3 Start Telegram mode
mistermorph telegram --log-level info5.4 Start chatting
- In Telegram, send
/idto your bot and copy the returned chat id. - Add that id into
telegram.allowed_chat_idsand restartmistermorph telegram --log-level info. - If you use the bot in a Telegram group, you may need to grant message-reading permissions, otherwise the bot may not receive group messages.
- In private chat, send plain text directly; in groups, use
/ask <task>or mention/reply to the bot. - Use
/resetwhen you want to clear conversation history.
6. Next
For full and up-to-date documentation, check GitHub: