Open-source demo backend for an AI smart-glasses memory pipeline.
This project demonstrates how smart glasses, a mobile app, or any wearable device could send captured events into an agentic backend.
The backend receives events, queues them, processes them through simple demo agents, stores structured memory, and exposes the result over an API.
A technical demo showing:
- smart-glasses event ingestion
- voice/text capture flow
- Redis-based async queue
- MySQL persistence
- agent orchestration
- structured memory output
- simulated notification back to glasses/mobile
- clean GitHub-ready project structure
This repository is intentionally limited.
It does not include:
- real Meta / Ray-Ban API integration
- real speech-to-text provider
- real Gmail / Calendar integration
- production authentication
- billing
- customer portal
- production prompts
- commercial field-service logic
- real notification delivery
- mobile app
- SaaS deployment layer
This is a public demo core, not a full commercial product.
Smart Glasses / Mobile App
|
v
POST /api/v1/glasses/events
|
v
MySQL: raw captured event
|
v
Redis queue
|
v
Agent Worker
|
+--> CaptureAgent
+--> MemoryAgent
+--> InsightAgent
+--> NotificationAgent
|
v
MySQL: structured memory + agent logs
Smart glasses are only an input/output device.
The real product is the backend layer:
- capture
- classify
- remember
- retrieve
- notify
- act
This demo shows the architecture without exposing real commercial workflows.
chmod +x create_agent_glasses_memory_core.sh
./create_agent_glasses_memory_core.sh
cd agent-glasses-memory-coredocker compose up -d mysql redissource .venv/bin/activate./scripts/run_api.shsource .venv/bin/activate
./scripts/run_worker.sh./scripts/demo_glasses_event.shGET /healthPOST /api/v1/glasses/eventsExample:
{
"device_id": "glasses-demo-001",
"event_type": "voice_note",
"transcript": "Remember this idea. Smart glasses are not the product. The backend memory layer is the product.",
"context": {
"source": "demo",
"location_label": "office",
"confidence": 0.92
}
}GET /api/v1/glasses/eventsGET /api/v1/memoriesGET /api/v1/agent-logs{
"memory_type": "idea",
"summary": "Smart glasses are an interface. The backend memory layer is the actual product.",
"tags": ["demo", "smart-glasses", "memory"],
"suggested_action": "Save as product insight",
"notification_preview": "Captured idea: backend memory layer is the product."
}The public version demonstrates the architecture only.
A commercial product would usually add:
- hosted environment
- authenticated users
- real wearable/mobile app
- real STT
- real integrations
- workflow-specific agents
- domain templates
- approvals
- analytics
- billing
- team management
- compliance/audit features
This demo includes a placeholder license. Replace it with AGPL-3.0, Apache-2.0, or a dual-license model depending on your commercial strategy.
