(Beto)
An AI agent built on Google ADK with a unique '90s SoCal personality. Beto blends practical functionality with a laid-back, knowledgeable persona. It manages smart home devices via Home Assistant, schedules recurring tasks, handles voice interactions, retains context from past conversations, and provides a mobile-friendly web interface — all while occasionally dropping '90s tech references.
RadBot uses specialized sub-agents with focused toolsets, reducing token usage and improving response quality:
- Beto (root agent): Orchestrator with memory, routes to specialist agents
- Casa: Smart home (Home Assistant), media requests (Overseerr), grocery ordering (Picnic)
- Planner: Calendar, reminders, scheduled/recurring tasks
- Tracker: Todo lists, projects, webhooks
- Comms: Email (Gmail), issue tracking (Jira)
- Scout: Technical research with sequential thinking
- Axel: Code implementation, Claude Code plan/execute, GitHub repo management
- Search Agent: Web search with focused query handling
- Code Execution Agent: Secure Python code execution via Google ADK's built-in sandbox
React SPA with a terminal-inspired, i3-style tiling layout. Built with React 18, TypeScript, Vite, Tailwind CSS, and Zustand.
- Mobile-responsive: Full-screen panel overlays on mobile, proper touch targets (44px minimum), dvh viewport units for correct mobile address bar handling
- Real-time: WebSocket connection with heartbeat, reconnection, and message history sync
- Panels: Chat, Sessions, Tasks, and Events panels in a side-by-side split (desktop) or overlay (mobile)
- Session management: Project-based sessions with names, descriptions, deletion, and relative timestamps — sessions are persistent workspaces you can return to
- Input features: Slash commands (
/tasks,/clear,/help), emoji autocomplete, command suggestions, input history (arrow keys) - Memory mode: Prefix with
#to save text directly to long-term memory
APScheduler-based cron engine for recurring tasks, persisted in PostgreSQL.
create_scheduled_task: Create cron-scheduled tasks with natural language (e.g., "every weekday at 9am")list_scheduled_tasks: View all scheduled tasks with next run timesdelete_scheduled_task: Remove a scheduled task- Task results are processed through the agent and broadcast to all connected WebSocket clients
One-shot reminders that fire at a specific date/time, persisted in PostgreSQL with offline delivery support.
create_reminder: Set a reminder with an absolute time (remind_at) or relative delay (delay_minutes)list_reminders: View reminders filtered by status (pending/completed/cancelled/all)delete_reminder: Cancel and remove a reminder- Reminders fire as system message notifications broadcast to all connected WebSocket clients
- Offline delivery: reminders that fire while disconnected are delivered on WebSocket reconnect
- REST API at
/api/reminders
Push notifications via ntfy.sh for scheduled task results and reminders.
- Sends notifications even when no browser tab is open
- Works with Android (ntfy app), Linux desktop (ntfy CLI / notify-send), and any ntfy subscriber
- Scheduled tasks now always execute (no longer skipped when offline); results are queued for WebSocket delivery on reconnect
- Configurable server URL, topic, access token, priority, and click-through URL
- Admin UI panel for configuration and test notifications
External POST triggers with template rendering.
create_webhook: Create endpoints that trigger agent actions when called externallylist_webhooks: View registered webhooksdelete_webhook: Remove a webhook- Supports
{{payload.key}}template variables for dynamic message content
Google Cloud TTS integration with in-browser playback.
- Per-message play button on assistant responses
- Auto-play toggle (TTS:ON/OFF in header)
- REST API at
/api/tts/synthesize
Google Cloud STT integration with push-to-talk microphone input.
- Floating mic button (FAB) on mobile for easy access; inline MIC button on desktop
- Transcribed text injected into the input field for review before sending
- REST API at
/api/stt/transcribe
Integration with Picnic grocery delivery service via python-picnic-api2.
search_picnic_product: Search the Picnic catalog by keywordadd_to_picnic_cart/remove_from_picnic_cart/clear_picnic_cart: Manage cartget_picnic_cart: View current cart contents and totalget_picnic_delivery_slots: List available delivery time windowsset_picnic_delivery_slot: Place order (requires user confirmation)submit_shopping_list_to_picnic: Bridge tool — reads items from a todo project and populates the Picnic cart- Available in DE (Germany), NL (Netherlands), BE (Belgium)
search_ha_entities: Find entities by name or arealist_ha_entities: List all connected devices and sensorsget_ha_entity_state: Check current state or sensor readingsturn_on_ha_entity/turn_off_ha_entity/toggle_ha_entity: Control devices
PostgreSQL-backed todo system with projects and status tracking.
add_task: Create tasks in project listscomplete_task/remove_task/update_task: Manage task lifecyclelist_projects/list_project_tasks/list_all_tasks: Browse tasks sorted by status (In Progress > Backlog > Done)update_project: Rename projects
Supports OAuth and service account authentication.
list_calendar_events_wrapper: View upcoming eventscreate_calendar_event_wrapper: Create eventsupdate_calendar_event_wrapper/delete_calendar_event_wrapper: Modify or remove eventscheck_calendar_availability_wrapper: Check free/busy times
Three-tier semantic memory backed by Qdrant vector database:
- Raw conversation history: Full chat logs searchable by content
- Memories: Automatically extracted key information from conversations
- Facts: User-stored important information via
#prefix orstore_important_information search_past_conversations: Semantic search across past interactions
web_search: General web searchcall_search_agent: Focused web search via search agent
Autonomous coding workflow powered by Claude Code CLI and GitHub App authentication.
clone_repository: Clone or update a GitHub repo via GitHub App (supports private repos)claude_code_plan: Run Claude Code in read-only plan mode to analyze and design changesclaude_code_continue: Iterate on the plan with feedback using--resumefor conversation continuityclaude_code_execute: Execute the approved plan with--dangerously-skip-permissionscommit_and_push: Stage, commit, and push changes back to GitHub using App installation tokenslist_workspaces: List all cloned repo workspaces- Web terminal at
/terminal: Interactive Claude Code sessions via xterm.js with workspace management (create, delete, name, describe), scratch sessions without a repo, and automatic OAuth token injection - GitHub App auth: JWT + short-lived installation tokens (no personal access tokens needed)
- Session persistence: Claude Code session IDs stored in DB for cross-chat resume
- File tools:
list_files,read_file,write_file,edit_file_func,copy_file,move_file,delete_file,get_file_info execute_shell_command: (Advanced) Arbitrary shell command execution with security controls
get_current_time: Current time for any city (defaults to UTC)get_weather: Weather reports by city
Exposes radbot itself as an MCP server for external clients (primarily Claude Code on laptop/desktop). 16 tools covering Telos read, wiki read/write (ai-intel vault over a shared mount), project registry, todo/scheduler lists, and Qdrant memory search — all returning markdown. GET /setup/claude-code.md is an unauth'd bootstrap that walks a new machine through settings + SessionStart-hook install. See docs/implementation/mcp_bridge.md.
Credentials and settings stored in an encrypted PostgreSQL credential store with an admin UI at /admin.
- Admin panel: Web-based configuration editor for all settings (API keys, model preferences, tool enablement, integrations)
- Per-agent model configuration
- Prompt caching for reduced token usage
-
Clone the repository:
git clone https://github.com/perrymanuk/radbot.git cd radbot -
Set up your environment:
make setup -
Configure the application via the admin UI at
/admin, or:cp config.yaml.example config.yaml # Edit config.yaml with your API keys and settings
Run the web interface:
# Optional: Set the root directory for filesystem access
export MCP_FS_ROOT_DIR=/path/to/accessible/directory
# Run the web interface (FastAPI on port 8000)
make run-web
# Start Vite dev server (port 5173, proxies to FastAPI on 8000)
make dev-frontend
# Build for production (outputs to radbot/web/static/dist/)
make build-frontend
The Vite dev server binds to all interfaces (host: true) for mobile testing on the same network.
- Run tests:
make test - Run unit tests only:
make test-unit - Run integration tests only:
make test-integration - Run a specific test:
pytest tests/path/to/test_file.py::TestClass::test_method - Format code:
make format - Lint code:
make lint
End-to-end tests live in tests/e2e/ (Python API tests) and radbot/web/frontend/e2e/ (Playwright browser tests). Both run against the same Docker Compose stack.
Python API e2e — REST + WebSocket + agent interactions:
make test-e2e # spins stack, seeds creds from your dev DB, runs pytest, tears downBrowser e2e (Playwright) — drives the React UI, grades chat responses with an LLM judge:
# Full suite against Docker stack at :8001
make test-e2e-browser
# Fast dev loop against Vite :5173 + already-running FastAPI :8000 (no Docker)
make test-e2e-browser-devOne-time prereq: cd radbot/web/frontend && npm install && npx playwright install chromium. Chat specs require ANTHROPIC_API_KEY for the LLM judge — export it locally or add to .env.local.
See docs/implementation/e2e_tests.md for writing new specs and specs/testing.md for the architecture.
PRs labelled run-e2e trigger .github/workflows/quality-pipeline.yml, which runs six weighted gates (functional e2e, visual regression, unit + integration, lint, build, coverage delta) plus required secret-scan and path-guard. The aggregate posts a sticky PR comment with the score and sets a commit status quality-pipeline/score.
PRs additionally labelled auto-merge-eligible with score ≥ 90, secret-scan green, and no hard-block paths touched (credentials, admin API, CI, deps, schemas) auto-merge via gh pr merge --auto --squash. The /ship Claude Code skill (/ship in any Claude Code session inside this repo) orchestrates the full lifecycle: branch → push → CI → auto-merge.
See specs/testing.md, docs/implementation/quality_pipeline.md, and docs/implementation/ship_skill.md.
/radbot/agent: Core agent logic, initializer, and persona definitions/radbot/tools: Tool implementations (HA, calendar, tasks, scheduler, reminders, webhooks, ntfy, Picnic, Overseerr, TTS, STT, Claude Code, GitHub, shell, search)/radbot/memory: Qdrant-backed semantic memory system/radbot/web: FastAPI server, WebSocket handler, React frontend/radbot/web/frontend: React SPA source (Vite + TypeScript + Tailwind)/radbot/config: Configuration schema and credential store/docs/implementation: Detailed implementation documentation/tests: Unit and integration tests
- Agent framework: Google ADK 2.12+
- LLM: Google Gemini (configurable per agent)
- Backend: FastAPI, WebSockets, APScheduler
- Frontend: React 18, Vite 6, TypeScript, Tailwind CSS, Zustand
- Database: PostgreSQL (tasks, scheduler, webhooks, credentials)
- Vector store: Qdrant (semantic memory)
- Voice: Google Cloud TTS / STT
- Package manager: uv
See the docs/implementation directory for detailed documentation on each feature, including core architecture, component guides, and specialized agent documentation.
MIT
