A Python teaching project for a platform-style agent: workspace, skills, memory, web chat, message entry, and tool orchestration.
cd python-claw
python -m unittest discover -s tests -v
python -m python_claw.self_check
python -m python_claw.offline_demo
python -m python_clawThe first three commands are offline. Spring Boot, AgentScope, Feishu SDK, live WebSocket server, shell execution, and DashScope calls are represented by stdlib equivalents.
- Initialize workspace from templates and built-in skills.
- Build system prompt from
BOOTSTRAP,AGENTS,SOUL,USER,IDENTITY, andTOOLS. - Create
main_sessionandfeishu_session. - Log daily notes and long-term memory.
- Handle web chat JSON messages and
/new. - Handle Feishu events with idempotency and private/group reply routing.
- Demonstrate local tools and memory-update tool.