# API Reference

#### 📦 Key Modules

| File / Module    | Purpose                                    |
| ---------------- | ------------------------------------------ |
| `agent.rs`       | Core agent lifecycle and runtime logic     |
| `memory.rs`      | Memory structs, storage, tagging, recall   |
| `emotion.rs`     | 6D emotion vector + decay and delta logic  |
| `goal_system.rs` | Goal prioritization and activation engine  |
| `inference.rs`   | Prompt assembly and model response parsing |
| `llm_service.rs` | LLM routing logic across providers         |
| `config.rs`      | Struct definitions for `config.json`       |
| `utils.rs`       | Helpers for string manipulation, scoring   |
| `web_server.rs`  | WIP — HTTP/WS server for remote control    |
