1
0
This repository has been archived on 2026-03-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Claude 17059bc0ea feat: add Grok (xAI) as opt-in premium backend with monetization
- Add GrokBackend class in src/timmy/backends.py with full sync/async
  support, health checks, usage stats, and cost estimation in sats
- Add consult_grok tool to Timmy's toolkit for proactive Grok queries
- Extend cascade router with Grok provider type for failover chain
- Add Grok Mode toggle card to Mission Control dashboard (HTMX live)
- Add "Ask Grok" button on chat input for direct Grok queries
- Add /grok/* routes: status, toggle, chat, stats endpoints
- Integrate Lightning invoice generation for Grok usage monetization
- Add GROK_ENABLED, XAI_API_KEY, GROK_DEFAULT_MODEL, GROK_MAX_SATS_PER_QUERY,
  GROK_FREE config settings via pydantic-settings
- Update .env.example and docker-compose.yml with Grok env vars
- Add 21 tests covering backend, tools, and route endpoints (all green)

Local-first ethos preserved: Grok is premium augmentation only,
disabled by default, and Lightning-payable when enabled.

https://claude.ai/code/session_01FygwN8wS8J6WGZ8FPb7XGV
2026-02-27 01:12:51 +00:00

Timmy Time — Mission Control

Tests

A local-first, sovereign AI agent system. Talk to Timmy, watch his swarm, gate API access with Bitcoin Lightning — all from a browser, no cloud AI required.

Live Docs →


Quick Start

git clone https://github.com/AlexanderWhitestone/Timmy-time-dashboard.git
cd Timmy-time-dashboard
make install              # create venv + install deps
cp .env.example .env      # configure environment

ollama serve              # separate terminal
ollama pull llama3.2

make dev                  # http://localhost:8000
make test                 # no Ollama needed

What's Here

Subsystem Description
Timmy Agent Agno-powered agent (Ollama default, AirLLM optional for 70B/405B)
Mission Control FastAPI + HTMX dashboard — chat, health, swarm, marketplace
Swarm Multi-agent coordinator — spawn agents, post tasks, Lightning auctions
L402 / Lightning Bitcoin Lightning payment gating for API access
Spark Event capture, predictions, memory consolidation, advisory
Creative Studio Multi-persona pipeline — image, music, video generation
Hands 6 autonomous scheduled agents — Oracle, Sentinel, Scout, Scribe, Ledger, Weaver
Self-Coding Codebase-aware self-modification with git safety
Integrations Telegram bridge, Siri Shortcuts, voice NLU, mobile layout

Commands

make dev            # start dashboard (http://localhost:8000)
make test           # run all tests
make test-cov       # tests + coverage report
make lint           # run ruff/flake8
make docker-up      # start via Docker
make help           # see all commands

CLI tools: timmy, timmy-serve, self-tdd, self-modify


Documentation

Document Purpose
CLAUDE.md AI assistant development guide
AGENTS.md Multi-agent development standards
.env.example Configuration reference
docs/ Architecture docs, ADRs, audits

Configuration

cp .env.example .env

Key variables: OLLAMA_URL, OLLAMA_MODEL, TIMMY_MODEL_BACKEND, L402_HMAC_SECRET, LIGHTNING_BACKEND, DEBUG. Full list in .env.example.


Troubleshooting

  • ollama: command not foundbrew install ollama or ollama.com
  • connection refused — run ollama serve first
  • ModuleNotFoundErrorsource .venv/bin/activate && make install
  • Health panel shows DOWN — Ollama isn't running; chat returns offline message

Roadmap

Version Name Status
1.0 Genesis Complete — Agno + Ollama + SQLite + Dashboard
2.0 Exodus In progress — Swarm + L402 + Voice + Marketplace + Hands
3.0 Revelation Planned — Lightning treasury + single .app bundle
Description
[LEGACY - FROZEN] Original Timmy prototype. Superseded by hermes-agent + the-nexus. Do not create new issues or PRs.
Readme MIT 201 MiB
Languages
Python 86.8%
HTML 6.9%
CSS 2.7%
Shell 1.6%
TypeScript 1%
Other 1%