7/24 Office — Self-evolving AI Agent 系统. 36 tools, 10,000 lines pure Python, modular 架构, MCP plugins, three-layer 内存, nudge 系统, AI mirror, 24/7 生产.GitHub 1,029 ⭐ / 168 Fork,主要使用 Python 开发。访问项目:https://github.com/wangziqi06/724-office
项目介绍
7/24 Office — Self-evolving AI Agent 系统. 36 tools, 10,000 lines pure Python, modular 架构, MCP plugins, three-layer 内存, nudge 系统, AI mirror, 24/7 生产.
核心功能
- Modular 工具 架构 -- Split 从 monolithic `tools.py`进入7 域名 modules - Group chat support -- Independent container 为 group conversations 与@-mention gating - AI Mirror -- Behavioral 配置文件 reports (`soul_report`) + future-self dialogue 模式 (`future_self`) - Nudge 系统 -- Structural behavior correction: auto-detects 当大语言模型 tools、doesn't use them - Dynamic 工具 filtering -- 5 上下文 profiles (voice/scheduler/group/diagnostic/default)到 reduce 令牌 waste - Budget-aware 系统 prompt -- 令牌 budget tracking during 系统 prompt assembly
使用指南
- Budget-aware injection (tracks 令牌 usage) ```
工具 List (36 built-in)
| Category | 模块 | Tools |
|---|---|---|
| Core | `tools_admin` | `exec`, `message` |
| Files | `tools_admin` | `read_file`, `write_file`, `edit_file`, `list_files` |
| Scheduling | `tools_messaging` | `调度`, `list_schedules`, `remove_schedule` |
| Media Send | `tools_messaging` | `send_image`, `send_file`, `send_video`, `send_link`, `send_location`, `send_namecard` |
| 视频 | `tools_video` | `trim_video` (auto-cut silence), `add_bgm`, `generate_video` |
| Search | `tools_search` | `web_search` (Tavily+Bocha dual-引擎), `search_nearby` (geocoding+POI), `search_memory`, `recall` |
| Visualization | `tools_page` | `render_page` (line/bar/pie/radar/table/report via ECharts) |
| AI Mirror | `tools_mirror` | `soul_report` (behavioral 配置文件 HTML), `future_self` (dialogue 模式) |
| Diagnostics | `tools_admin` | `self_check`, `diagnose`, `task_history`, `code_audit`, `asr_check`, `daily_digest` |
| 内存 | `tools_admin` | `compact_memory`, `compact_guides` |
| Plugins | `tools_admin` | `create_tool`, `list_custom_tools`, `remove_tool` |
| MCP | `tools_admin` | `reload_mcp` |
模块 Structure
| 文件 | Lines | Responsibility |
|---|---|---|
| `xiaowang.py` | ~1040 | Entry: config, HTTP 服务器, callbacks, debounce, ASR, group support |
| `大语言模型.py` | ~1260 | 大语言模型 API + 工具 use loop + budget-aware 系统 prompt + nudge 集成 |
| `tools.py` | ~37 | 编排 layer (imports 域名 modules) |
| `tools_base.py` | ~314 | Registry + @工具 decorator + dynamic filtering + circuit breaker |
| `tools_messaging.py` | ~550 | Message/文件/调度/location/namecard tools |
| `tools_admin.py` | ~860 | Exec/文件 ops/diagnostics/plugins/MCP management |
| `tools_mirror.py` | ~716 | AI Mirror: soul_report + future_self |
| `tools_page.py` | ~470 | Interactive HTML 页面 generation (ECharts) |
| `tools_search.py` | ~293 | Multi-引擎 网页 search + 内存 search |
| `tools_video.py` | ~394 | 视频 trim/BGM/generation |
| `messaging.py` | ~447 | Messaging 平台 API wrapper + CDN upload/download |
| `内存.py` | ~1100 | Three-layer 内存 (会话 + compressed + vector) |
| `scheduler.py` | ~652 | Cron + one-shot scheduling + inactivity guard |
| `router.py` | ~500+ | Multi-tenant Docker router + auto-provisioning + reconciliation |
| `mcp_client.py` | ~342 | MCP 协议 客户端 (JSON-RPC, zero 新 deps) |
| `nudge.py` | ~190 | Nudge 系统: detect 工具 misuse, auto-inject hints |
| `archive.py` | ~204 | Daily 会话 archiving (black box recorder) |
| `audit.py` | ~448 | Automated 11-check 代码 audit |
快速启动
Option 1: Direct Run
``` Git clone https://GitHub.com/wangziqi06/724-office.Git cd 724-office cp config.示例.json config.json
项目信息
| 项目 | 信息 |
|---|---|
| 项目名称 | wangziqi06/724-office |
| Star 数 | 1,029 |
| Fork 数 | 168 |
| 编程语言 | Python |
| 开源协议 | MIT |
| 创建时间 | 2026-03-17 |
| 最近更新 | 2026-07-02 |
| 主题标签 | 无 |
项目地址
GitHub 仓库:<https://github.com/wangziqi06/724-office>
> 完整 URL:[https://github.com/wangziqi06/724-office](https://github.com/wangziqi06/724-office)
如需查看完整源码、安装命令、使用示例、API 文档,请直接访问上方项目地址。所有信息均以 GitHub 仓库为准。