A lightweight session manager for Claude Code and Codex. Manage agents, schedule agents and any command to run on autopilot, and when a job breaks, let an agent fix it — all from one terminal.
Create, attach, kill, and switch between tmux sessions with single-key shortcuts. Toggle between Claude and Codex as your launcher with one key. Works with bash and zsh.
Real-time token usage across Claude's 5-hour billing windows. Color-coded from green to red so you always know where you stand. Auto-detects your subscription tier.
A live-updating terminal UI that shows all sessions with their status, working directory, and quota — one command does it all. Agents that finish while you're away get an unread ● dot that clears when you attach.
Schedule agents to run once or on a recurring cron schedule. Type plain English like "every weekday at 9am" and let Claude generate the cron expression. One-shot tasks clean up after themselves.
Schedule any shell command, not just agents — backups, syncs, builds, scripts. lila runs it on cron, streams output live to a tmux pane and to history, and captures the real exit code so nothing fails silently.
When a command fails, lila doesn't just log it. It retries, then hands the error and full context to a Claude or Codex agent that diagnoses the cause, fixes it, and re-runs to verify — a 3am failure repaired by morning.
Every scheduled run is tracked. Browse past runs, see status and token usage at a glance, and drill into any run to read the full conversation — rendered as a clean, scrollable log.
A lightweight system service watches your agents. Get notified when sessions finish, see which have unread results, and let the daemon track scheduled run outcomes — all without lifting a finger.
Reads real token usage from Claude's session logs — input, output, and cache tokens — grouped into 5-hour billing blocks that match Claude's actual billing windows.
Automatically detects your subscription tier from your credentials. No config needed.
Clone the repo, run the installer, and restart your shell. That's the whole setup. Works on Linux and macOS.
tmux and claude (or codex) are installedlila alias to .bashrc or .zshrcThat's it — no sudo, no global installs, no package managers. One static binary.