一键导入
chappie-architecture
CHAPPiE's brain, memory, and life simulation architecture. Use when modifying core pipelines, brain agents, steering, or global workspace.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
CHAPPiE's brain, memory, and life simulation architecture. Use when modifying core pipelines, brain agents, steering, or global workspace.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Backend development for CHAPPiE. Use when working on FastAPI APIs, vLLM brain, Cerebras integration, training daemon, or backend_wrapper.py.
CHAPPiE's configuration system. Use when adding new settings, modifying config.py, updating schemas, or working with CHAPPIE_CONFIG.json.
CHAPPiE's React frontend. Use when modifying UI pages, components, Tailwind styling, or the chat streaming experience.
CHAPPiE's prompt engineering. Use when modifying system prompts, emotion templates, generation budget instructions, or Cerebras formatting prompts.
CHAPPiE testing strategy. Use when writing or running tests, CI/CD, or validating changes before push.
Führt ein vollständiges CHAPPiE-Update durch: git pull, Dienste neustarten, Tests, Health-Check, Reparatur bei Bedarf.
| name | chappie-architecture |
| description | CHAPPiE's brain, memory, and life simulation architecture. Use when modifying core pipelines, brain agents, steering, or global workspace. |
CHAPPiE uses a brain metaphor across three interacting layers: Brain, Memory, Life.
brain/)| Agent | File | Purpose |
|---|---|---|
| Sensory Cortex | brain/agents/sensory_cortex.py | Input classification |
| Amygdala | brain/agents/amygdala.py | Emotional weighting |
| Hippocampus | brain/agents/hippocampus.py | Memory retrieval & encoding |
| Prefrontal Cortex | brain/agents/prefrontal_cortex.py | Response strategy & tone |
| Steering Manager | brain/agents/steering_manager.py | VAD mapping, alpha, composite modes, layer editing |
| Global Workspace | brain/global_workspace.py | 7 signals with salience bundling |
| Brain Pipeline | brain/brain_pipeline.py | Orchestrates all agents |
web_infrastructure/backend_wrapper.py → Main CHAPPiE backend classapi/main.py → FastAPI app entrybrain/__init__.py → get_brain() factorymemory/)| Component | File | Purpose |
|---|---|---|
| Memory Engine | memory/memory_engine.py | Episodic search, vector DB (ChromaDB) |
| Sleep Phase | memory/sleep_phase.py | Consolidation, replay, compression |
| Forgetting Curve | memory/forgetting_curve.py | Ebbinghaus decay model |
| Context Files | memory/context_files.py | soul.md, user.md, preferences |
| Short-Term | memory/short_term_memory.py | JSON-based STM with timestamps |
life/)| Component | Purpose |
|---|---|
| Service | Prepare/finalize turns, homeostasis |
| Goal Engine | Goal competition |
| Planning Engine | Long-term planning |
| Social Arc | Relationship/attachment models |
chappie-training.service must start training_daemon, never training_loopbrain/__init__.py triggert ALL brain imports (ollama, cerebras, vllm) — test imports müssen das mocken