How agentscope-ai/qwenpaw works
QwenPaw is a personal AI assistant, accessed through its Console, desktop/TUI, or messaging channels, with scheduled tasks and extensible skills. The principal workflow is a user request becoming an assistant response; the README also describes memory, model choice, tool security, files, multi-agent work, and plugins. The graph preserves these documented branches, but the excerpts do not show the central backend request path, so uncertain runtime wiring is omitted. The browser engine and plugin-manager hooks are sampled internal implementation examples, not a complete backend map.
Main entry points: App.tsx Console · lib.rs Desktop app · index.tsx Chat experience · chat.ts Chat API
Components 21
User access
- Console
console/src/App.tsx - Chat experience
console/src/pages/Chat/index.tsx - Chat API
console/src/api/modules/chat.ts - Messaging channels
console/src/api/modules/channel.ts - Desktop app
console/src-tauri/src/lib.rs
Assistant runtime
- Agent runtime
- Model providers
console/src/api/modules/provider.ts - Evolving memory
console/src/features/files-workspace/MemoryGraphView.tsx - Multi-agent and ACP
console/src/api/modules/acp.ts - Tool Guard
src/qwenpaw/security/tool_guard/engine.py - Browser runtime
src/qwenpaw/browser/runtime/engine.py
Assistant capabilities
- Skills
console/src/api/modules/skill.ts - Plugins and market
console/src/pages/Settings/PluginManager/hooks/usePluginManager.ts - Scheduled tasks
console/src/api/modules/cronjob.ts - File workspace
console/src/features/files-workspace/FilesWorkspace.tsx - Web grounding
plugins/apps/qwenpaw-creator/backend/services/web_grounding/pipeline.py
Desktop platform
- Desktop shell
console/src/os/DesktopOS.tsx - Computer use
console/src-tauri/src/computer_use_runtime.rs
Other components
- User
- Model services
- Messaging services
Connections 20
- User → Console: uses
- Console → Chat experience: opens
- Chat experience → Chat API: requests
- User → Messaging channels: messages
- Messaging channels → Messaging services: connects
- Chat API → Agent runtime: submits request
- Agent runtime → Model providers: selects model
- Model providers → Model services: requests inference
- Agent runtime → Evolving memory: uses memory
- Agent runtime → Multi-agent and ACP: orchestrates agents
- Agent runtime → Tool Guard: guards tool calls
- Agent runtime → Browser runtime: uses browser
- Agent runtime → Skills: uses skills
- Agent runtime → File workspace: works with files
- Agent runtime → Web grounding: grounds answers
- Scheduled tasks → Agent runtime: schedules tasks
- Console → Plugins and market: manages plugins
- User → Desktop app: uses
- Desktop app → Desktop shell: hosts
- Desktop app → Computer use: provides computer use