How phk006/neura-ai- works
NEURA AI is a personal assistant workspace: a signed-in user makes a natural-language request, the server routes it to an AI agent, the agent can use connected tools and gated approvals, and task results and activity are persisted and shown in the workspace. The README also documents voice, memory and uploads, connected apps, and activity history; scheduled automations are explicitly not implemented. Unsampled feature links are shown only where documented, so some internal wiring is omitted.
Main entry points: App.tsx App and routes · repos.ts Workspace repositories · engine.ts Task engine · registry.ts Tool registry
Components 26
Workspace
- App and routes
client/src/App.tsx - Assistant chat
client/src/pages/Assistant.tsx - Voice control
client/src/pages/Voice.tsx - Automation workspace
client/src/pages/Automations.tsx - Connected apps
client/src/pages/Apps.tsx - Memory workspace
client/src/pages/Memory.tsx - Activity history
client/src/pages/Activity.tsx
Agent runtime
- Agent endpoints
server/agentRoutes.ts - Task engine
server/ai/engine.ts - Intent router
server/ai/router.ts - Model client
server/ai/llm.ts - Approval workflow
server/routers.ts
Tools and integrations
- Tool registry
server/tools/registry.ts - Tool implementations
server/tools/index.ts - Provider connections
server/integrations/providers.ts - Provider HTTP client
server/integrations/http.ts - Memory and document tools
server/tools/memory.ts - External service tools
server/tools/external.ts - Google tools
server/tools/google.ts
User data
- Workspace repositories
server/repos.ts - Supabase workspace data
server/supabase.ts - File uploads
server/files.ts
Platform services
- Authentication
client/src/lib/auth.tsx
Other components
- User
- Model service
- Connected providers
Connections 33
- User → App and routes: uses
- App and routes → Authentication: checks session
client/src/App.tsx - App and routes → Assistant chat: routes to
client/src/App.tsx - App and routes → Voice control: routes to
client/src/App.tsx - App and routes → Automation workspace: routes to
client/src/App.tsx - App and routes → Connected apps: routes to
client/src/App.tsx - App and routes → Memory workspace: routes to
client/src/App.tsx - App and routes → Activity history: routes to
client/src/App.tsx - Assistant chat → Agent endpoints: submits tasks
- Voice control → Assistant chat: provides voice input
- Connected apps → Approval workflow: manages connections
client/src/pages/Apps.tsx - Memory workspace → Workspace repositories: manages memories
- Activity history → Workspace repositories: reads task history
- Agent endpoints → Task engine: runs agent
server/agentRoutes.ts - Agent endpoints → File uploads: stores uploads
server/agentRoutes.ts - Agent endpoints → Workspace repositories: logs activity
server/agentRoutes.ts - Task engine → Intent router: routes request
server/ai/engine.ts - Task engine → Model client: streams chat
server/ai/engine.ts - Intent router → Model client: requests structured route
server/ai/router.ts - Task engine → Tool registry: selects tools
server/ai/engine.ts - Tool implementations → Tool registry: registers tools
server/tools/index.ts - Tool registry → Provider connections: gets access token
server/tools/registry.ts - Tool registry → Provider HTTP client: sends provider requests
server/tools/registry.ts - Provider connections → Workspace repositories: saves connections
server/integrations/providers.ts - Provider connections → Provider HTTP client: requests provider API
server/integrations/providers.ts - Memory and document tools → Workspace repositories: reads and writes memory
server/tools/memory.ts - External service tools → Tool registry: defines tools
server/tools/index.ts - Google tools → Tool registry: defines tools
server/tools/index.ts - Task engine → Workspace repositories: persists task data
server/ai/engine.ts - Approval workflow → Task engine: cancels task
server/routers.ts - Workspace repositories → Supabase workspace data: reads and writes
server/repos.ts - Model client → Model service: calls model endpoint
server/ai/llm.ts - Provider HTTP client → Connected providers: calls provider APIs