Skip to content

Technology Stack ​

Backend ​

TechnologyRole
Go 1.25.0API, four worker binaries, Tesla + AI integrations
Chi v5HTTP router and middleware
pgx v5PostgreSQL connection pool and queries
zerologStructured JSON logging
Prometheus client/metrics endpoint
OpenTelemetry SDKOptional distributed tracing
golang-migrateDatabase migration runner (197 numbered SQL files)
gobreaker + resilience pkgCircuit breakers around external calls
Eclipse Paho MQTT v5Mosquitto telemetry integration
go-redis v9Redis live-state cache + Pub/Sub
crypto/aes GCMAt-rest encryption for Tesla tokens

Helix AI ​

ComponentRole
Provider adaptersinternal/ai/adapters/{ollama,openai,azure,anthropic,mock}
Decorator chaintrace → audit → cost → ratelimit → redact (outermost first)
Strategies53 internal/ai/strategies/<feature>/strategy.go — per-feature prompts/tools
Tools50+ internal/ai/tools/*.go — context lookups invoked via tool-calls
Feature registryinternal/ai/features/registry.go — 54 user + 3 ops features, off-by-default
RAGpgvector embeddings + internal/ai/rag/docs_indexer.go
Auditai_call_log table (provider, feature, tokens, cost, latency, error)

Frontend ​

TechnologyRole
React 18.3SPA UI
TypeScript 5Type safety
Vite 5Dev server, build, code splitting
TanStack Query 5API data cache and mutations
Tailwind CSS 3Utility styling with CSS-variable theme tokens
Framer Motion 12Animations
Recharts 2Charts (via @/components/charts barrel)
Leaflet / React LeafletMaps (via @/components/maps barrel)
i18next + react-i18next 25Localization (en, more pluggable)
lucide-reactIcon system
OpenTelemetry Web SDK 2.7Frontend traces (optional)
vite-plugin-pwaPWA manifest, service worker, offline app shell
Vitest + Testing LibraryUnit / component tests

Data & infrastructure ​

TechnologyRole
TimescaleDB / PostgreSQL 17Relational, time-series, live-state, RAG (pgvector), analytics
pgvectorEmbedding storage for the RAG help chatbot
Redis 7L2 live-signal cache, Pub/Sub fanout, AI rate-limit counters
MosquittoMQTT broker for Fleet Telemetry
MongoDB 7Optional raw signal capture (debugging)
Grafana 10.4Operator dashboards (SQL-backed)
PrometheusMetrics scraping + alerting
JaegerTrace UI (--profile tracing)
Docker ComposeLocal + small self-hosted deployments (13 services)
HelmKubernetes packaging (chart in helm/teslasync)
Traefik IngressRouteCommon production ingress
Tesla Fleet Telemetry serverVendored proto; runs as a sidecar service
Tesla Vehicle Command proxyRequired for signed commands on newer vehicles
OllamaLocal LLM inference for Helix AI

Self-hosted Tesla intelligence · MIT licensed · Privacy policy