1.0 KiB
1.0 KiB
WiseClaw Architecture
Core shape
WiseClaw uses a single FastAPI process with modular tool adapters:
telegram: inbound/outbound bot handling and whitelist checksllm: LM Studio/OpenAI-compatible client and simple tool-routing plannertools: search, notes, files, terminal, and fetch toolsmemory: SQLite-backed short-term and long-term stateadmin: REST API for settings, logs, users, and health
Security defaults
- Admin panel is localhost-only by default.
- Secrets are modeled separately from normal settings so they can move to Keychain cleanly.
- Terminal mode
3is policy based:- safe read-only commands auto-run
- mutating or networked commands require approval
- dangerous commands are blocked
Next implementation milestones
- Add SQLAlchemy models and Alembic migrations.
- Replace placeholder services with real SQLite persistence.
- Wire Telegram webhook or polling loop.
- Add LM Studio-driven tool calling.
- Persist secrets in macOS Keychain.
- Build audit views and approval flows in the admin panel.