Get Sentō running in about 20 minutes.
A step-by-step walkthrough, written for people who have never touched a VPS before. Pick your host, pick your messaging platform, paste your tokens. Done.
Two things to get first
Do these on your regular computer before picking a host. Takes about 5 minutes. You'll paste these tokens later during sento init.
Subscribe at claude.ai
Sentō uses your existing Claude plan. No API keys, no per-token billing. Any paid plan works — Pro ($20/mo), Max, Team, or Enterprise.
- Go to claude.ai and sign up or log in
- Profile menu → Upgrade Plan → pick any paid tier
- Confirm payment
Run two commands locally
This is the credential Sentō uses to authenticate against your Claude subscription. Treat it like a password.
npm install -g @anthropic-ai/claude-codeclaude setup-tokenA browser opens. Log in with the same account as your subscription and approve. The command prints a token starting with sk-ant-oat01- — copy it somewhere secure.
Talk to your agent
Once the installer finishes, your bot will show as online. Send any message in a channel it can see.
- The agent reacts with 👀 to confirm it received the message
- It starts a short onboarding conversation — asks your role, how you want it to talk, what it should help with
- After onboarding, the agent writes what it learned to its own CLAUDE.md config
- It's ready to help — try things like:
hey, what's the weather in Tokyo?— browses the web via Playwrightwrite a python script that reads a CSV and plots it— file + code operationsremember that I prefer concise answers— persistent memory via ClawMemevery day at 9am, DM me the top 3 HN headlines— scheduled tasks
Common problems
| Problem | Fix |
|---|---|
| Bot shows offline in Discord | Run sento restart, wait 30 seconds |
| "Node 20+ required" | curl -fsSL https://deb.nodesource.com/setup_20.x | sudo bash -Update Node: |
| Permission errors on install | You're running as root. Create a regular user and re-run. |
| Playwright crashes | VPS likely has <2 GB RAM. Resize to at least 2 GB. |
| Message Content Intent error | Re-enable it in Discord Developer Portal → Bot tab. |
| Agent doesn't respond | Check channel permissions — bot needs View Channel + Send Messages. |
We're happy to help
Open an issue on GitHub — real humans read every one.