sarathi सारथि
open source

sarathi

सारथि · “the charioteer: Kṛṣṇa was Arjuna's”

Your charioteer: a life system that plans your days, watches, and guides you, as Kṛṣṇa guided Arjuna.

उद्धरेदात्मनाऽऽत्मानं नात्मानमवसादयेत् ।
आत्मैव ह्यात्मनो बन्धुरात्मैव रिपुरात्मनः ॥

Lift yourself up by your own self; do not let yourself sink. The self alone is the friend of the self, and the self alone its enemy. Bhagavad Gītā 6.5
v0.3.0 latest3 releases0 decisions recordedMIT license

#Sārathi

Sārathi (सारथि) is the charioteer: Kṛṣṇa was Arjuna's. Sārathi plans your days, watches how they go, talks with you, and re-plans every night, the way Kṛṣṇa guided Arjuna on the field of Kurukṣetra.

Kurukṣetra, the day on the dashboard (made-up data)

#What it does

Kuṇḍalī, the life chart (made-up data) Vyāyāma, the gym library (made-up data)

The laptop's talk popup

The whole plan is in PLAN.md; the voice in docs/voice.md, the emit socket in docs/emit.md, the server mode in docs/server.md.

#Use

sarathi today                 # the day: karma, level, tapas, money, the verse
sarathi say I walked, and spent 60 on an auto
sarathi done 12 -e 3 -m 4     # karma 12 done: effort 3, mood 4
sarathi skip 13 too tired
sarathi spend 120 food lunch  # or: sarathi nospend
sarathi review -m 4 -e 3 -w "finished the doc"
sarathi plan                  # build tomorrow now
sarathi budget flex food 7000
sarathi models                # which model does what, and what it cost
sarathi talk                  # say something, hear the answer
sarathi gym today             # today's session
sarathi calendar connect      # link Google Calendar
sarathi export > me.json      # everything it knows
sarathi watch status          # the watchers, and what each has seen
sarathi watch summary         # today: music, agent prompts per project, screen time per app
sarathi events -s agent -q "login bug"   # search what the watchers saw

For the intake, ask Claude Code (or any MCP agent) to "run the Sārathi intake".

#Set up

Needs Node 22+, pnpm and Docker.

pnpm install && pnpm build
# Postgres with pgvector, on 127.0.0.1:5433; the password stays in ~/.config/sarathi/db.env (0600)
docker run -d --name sarathi-pg --restart unless-stopped -p 127.0.0.1:5433:5432 \
  -e POSTGRES_USER=sarathi -e POSTGRES_DB=sarathi -e POSTGRES_PASSWORD=… \
  -v sarathi-pg:/var/lib/postgresql/data pgvector/pgvector:0.8.1-pg17
ln -s "$PWD/apps/daemon/bin/sarathi.js" ~/.local/bin/sarathi
sarathi verses import
cp apps/daemon/systemd/* ~/.config/systemd/user/ && systemctl --user enable --now sarathi-mcp.socket sarathi
claude mcp add -s user sarathi -- sarathi mcp --agent claude

Models are set in ~/.config/sarathi/models.json (providers and, per job, the targets in order). Keys live in files next to it, never in the repo.

#The phone

apps/mobile/scripts/build-apk.sh          # your key in ~/.config/sarathi-release, made once
adb install -r apps/mobile/dist/sarathi.apk

Then allow "sarathi" in ekatva on the laptop, link it in the app's Settings, and grant usage access and Health Connect.

#Licence

MIT. The Gītā text comes from vedicscriptures/bhagavad-gita-data (GPL-3.0) and is downloaded at import, not shipped here.