How aluro7in/openclaw works
OpenClaw is a self-hosted personal AI assistant: messages and voice input reach a Gateway, which routes work to agents and returns replies through connected channels. The README also describes multi-agent routing, browser and memory tools, and companion apps with voice and Canvas capabilities. Paths and direct wiring are included where the supplied tree or excerpts support them; the README documents several core subsystems whose implementation files are not present in the supplied tree, so their internal links are intentionally limited.
Main entry points: block-reply-pipeline.ts Reply delivery · agent.storage.ts Browser routes · NodeRuntime.kt Android node · NodeAppModel.swift iOS node
Components 17
Setup and Control
- Onboarding
- Gateway
- Control UI settings
ui/src/ui/storage.ts
Assistant Runtime
- Messaging channels
- Agent routing
- Reply delivery
src/auto-reply/reply/block-reply-pipeline.ts - Tool policy
src/agents/tool-policy-pipeline.ts - Model providers
src/commands/auth-choice.apply.volcengine.ts
Tools and Memory
- Browser routes
src/browser/routes/agent.storage.ts - Browser controls
src/browser/pw-tools-core.storage.ts - Memory embeddings
src/memory/manager-embedding-ops.ts
Companion Apps
- Android node
apps/android/app/src/main/java/ai/openclaw/android/NodeRuntime.kt - iOS node
apps/ios/Sources/Model/NodeAppModel.swift - macOS node
apps/macos/Sources/OpenClaw/NodeMode/MacNodeRuntime.swift - Voice features
apps/android/app/src/main/java/ai/openclaw/android/voice/TalkModeManager.kt - Live Canvas
apps/ios/Sources/RootCanvas.swift
Other components
- User
Connections 18
- User → Messaging channels: sends message
- Messaging channels → Gateway: delivers input
- Gateway → Agent routing: routes request
- Agent routing → Tool policy: filters tools
- Agent routing → Model providers: uses model
- Agent routing → Browser routes: invokes browser
- Browser routes → Browser controls: runs controls
- Agent routing → Memory embeddings: uses memory
- Agent routing → Reply delivery: produces reply
- Reply delivery → Messaging channels: delivers reply
- User → Onboarding: configures assistant
- Onboarding → Gateway: sets up
- User → Control UI settings: sets preferences
- Android node → Gateway: connects node
- iOS node → Gateway: connects node
- macOS node → Gateway: connects node
- Voice features → Gateway: sends voice input
- Gateway → Live Canvas: drives canvas