HydraDB Agentic Memory Hackathon · Context over Amnesia An AI forward-deployed engineer that watches your repeated work, turns it into a runnable skill, and learns your preferences across sessions with HydraDB — so it stops making you repeat yourself.
Live demo (mock-data, click-through): https://auto-fde-frontend.vercel.app
A finance analyst gets a daily bank email, reconciles it against a workbook, replies with the exceptions — every day. An assistant that helps once and forgets by tomorrow is useless: you re-explain your rules, your wording, and your past corrections every session.
Auto-FDE observes a repeated workflow (email + Excel), proposes turning it into a skill, generates it with Claude, and then gets better every time you give feedback — with HydraDB as the long-term memory.
Two memory loops, both backed by HydraDB:
- Design memory. 👍/👎 + a note on a generated skill is written to HydraDB. The next time the skill is generated, the agent recalls those preferences and folds them into the plan — "reconcile against the Payment Export sheet, never auto-fill the Reviewer column" — without being told again.
- Execution memory. When the skill runs for real (reads the bank email, reconciles,
writes a real
.xlsx+ reply draft + audit), it first recalls the reviewer's standing corrections from HydraDB and auto-resolves exceptions a past session already cleared. Same input → fewer exceptions, because it remembered.
- HydraDB is the primary memory layer — every preference and correction is written to /
recalled from HydraDB (
add_memory/recall_preferences). A live Memory tab shows the reads/writes streaming, andworkspace/feedback/memory_trace.jsonlis the execution log. - Autonomous recall across sessions — wipe every local artifact (
reset-demo: deletes the skill, the registry, all local state) and regenerate: the skill still reflects your feedback, because the memory lives in HydraDB. "Remember what happened yesterday," proven by destroying today. - Context-aware execution — the run's output changes (exceptions 1 → 0) purely because of stored history. Not a different prompt — a different result, driven by memory.
Memory shapes only human-facing plan text and exception resolution; triggers, permissions, and guardrails stay deterministic — memory personalizes, it never weakens safety.
See skillforge_local/memory.py and
autoskill_agent/observatory.py.
- Per-reviewer
sub_tenant_idnamespace — a preference learned on one skill carries to every skill that reviewer touches. infer=Trueon write, so HydraDB extracts the durable preference from free text.- A thin local mirror covers HydraDB's async ingestion window and offline dev, so the loop is demo-reliable while HydraDB remains the source of cross-session truth.
- Backend (Python stdlib HTTP server) —
autoskill_agent/: observe → recommend → generate skill (Claude) → run skill → SkillOps;skillforge_local/: email/Excel parsing, the memory layer. - Frontend (React + Vite + TypeScript) —
frontend/: Connections, Activity, Recommendations, Skills (feedback + Run), Memory (live HydraDB trace), Workflows, Overview. - Stack: Anthropic Claude (skill generation/planning) · HydraDB (agent memory) · React/Vite.
# 1. Keys — copy and fill in (.env.local is git-ignored)
cp .env.example .env.local # set ANTHROPIC_API_KEY + HYDRA_DB_API_KEY + HYDRA_TENANT_ID
# 2. Backend
pip install -r requirements.txt
python -m autoskill_agent.api_server --host 127.0.0.1 --port 8017
# 3. Frontend (new terminal)
cd frontend && npm install && npm run dev
# open the printed localhost URL; the Vite dev server proxies /api to the backend
# Reset the demo to a clean slate between runs:
python -m autoskill_agent.cli reset-demo --clear-memoryPure-frontend preview with no backend (in-browser mock data): cd frontend && VITE_USE_MOCKS=1 npm run dev.
- Recommendations → Accept → a skill appears.
- Skills → Run → 1 exception flagged (a known $10 timing difference).
- Teach it — "that's a known timing difference, treat as matched" → written to HydraDB (watch the Memory tab).
- Run again → 🧠 Applied 1 remembered correction from HydraDB · exceptions 1 → 0 · real
reconciled
.xlsx. reset-demo→ regenerate → it still remembers. Cross-session memory, proven.
- Working prototype: the demo flow above (live HydraDB).
- Source code: this repo.
- Execution logs:
workspace/feedback/memory_trace.jsonl— every autonomous HydraDB write/recall/apply.