How jay2323-tech/relaymind works
RelayMind is an agent-memory and coordination application: users work in a development workspace, while backend run endpoints can invoke a Planner–Reviewer engine that persists evidence-backed handoffs and reviews. A separate platform surface manages decisions, tasks, and proposed actions. The README says frontend/API integration and real identity and task approval are still pending, so the UI-to-backend relationship is shown as an intended, not completed, connection. Several backend relationships are supported by the source index rather than full excerpts; uncertain links are omitted.
Main entry points: engine.py Planner–Reviewer engine · App.tsx Workspace app · access.py Graph access · main.py API application
Components 21
Workspace UI
- Workspace app
frontend/src/App.tsx - API client
frontend/src/api/client.ts - Chat and history
frontend/src/ui/conversation.tsx - Run track
frontend/src/ui/track/RelayTrack.tsx - Evidence and actions
frontend/src/ui/inspector.tsx
Backend API
- API application
backend/src/relaymind/main.py - Session and run API
backend/src/relaymind/api/runs.py - Platform API
backend/src/relaymind/api/platform.py
Agent coordination
- Planner–Reviewer engine
backend/src/relaymind/agents/engine.py - Agent loop and providers
backend/src/relaymind/agents/loop.py - Platform bridge
backend/src/relaymind/platform/bridge.py
Graph memory
- Run artifacts
backend/src/relaymind/memory/artifacts.py - Conversation memory
backend/src/relaymind/memory/conversations.py - Decisions and sources
backend/src/relaymind/memory/decisions.py - Sourced episodes
backend/src/relaymind/memory/episodes.py - Procedure versions
backend/src/relaymind/memory/procedures.py - Tasks and versions
backend/src/relaymind/memory/tasks.py - Approved task actions
backend/src/relaymind/services/actions.py - Graph access
backend/src/relaymind/graph/access.py - FalkorDB graph
backend/src/relaymind/graph/connection.py
Other components
- Workspace user
Connections 23
- Workspace user → Workspace app: uses
README.md - Workspace app → Chat and history: renders
frontend/src/App.tsx - Workspace app → Run track: renders
frontend/src/App.tsx - Workspace app → Evidence and actions: renders
frontend/src/App.tsx - Workspace app → API client: requests
frontend/src/App.tsx - API client → API application: calls API
README.md - API application → Session and run API: mounts
backend/src/relaymind/main.py - API application → Platform API: mounts
backend/src/relaymind/main.py - Session and run API → Planner–Reviewer engine: dispatches runs
backend/src/relaymind/api/runs.py - Planner–Reviewer engine → Agent loop and providers: runs agents
backend/src/relaymind/agents/engine.py - Planner–Reviewer engine → Platform bridge: reads platform state
backend/src/relaymind/agents/engine.py - Planner–Reviewer engine → Run artifacts: persists artifacts
backend/src/relaymind/agents/engine.py - Planner–Reviewer engine → Conversation memory: reads conversation
backend/src/relaymind/agents/engine.py - Planner–Reviewer engine → Sourced episodes: reads episodes
backend/src/relaymind/agents/engine.py - Planner–Reviewer engine → Procedure versions: reads procedures
backend/src/relaymind/agents/engine.py - Platform bridge → Decisions and sources: loads decisions
backend/src/relaymind/platform/bridge.py - Platform bridge → Tasks and versions: loads task state
backend/src/relaymind/platform/bridge.py - Platform API → Approved task actions: handles actions
backend/src/relaymind/api/platform.py - Approved task actions → Tasks and versions: updates task versions
backend/src/relaymind/services/actions.py - Decisions and sources → Graph access: authorizes graph access
backend/src/relaymind/memory/decisions.py - Tasks and versions → Graph access: authorizes graph access
backend/src/relaymind/memory/tasks.py - Conversation memory → Graph access: authorizes graph access
backend/src/relaymind/memory/conversations.py - Graph access → FalkorDB graph: selects graph
backend/src/relaymind/graph/access.py