← 返回文档索引

慧行引擎 (HuiXing Engine)

版本: V1.0 (MVP) 定位: 未来社会行为管理与资源调度操作系统内核 口号: 让每一个梦想都工程化落地

1. 项目简介

慧行引擎是一个基于“人生工程学”的通用行为管理内核,支持:

2. 快速开始

环境要求

一键启动

# 启动所有服务 (API + Postgres + Mongo)
docker-compose up -d

# 查看日志
docker-compose logs -f api

# 停止服务
docker-compose down

测试接口

# 1. 创建租户 (示例)
curl -X POST http://localhost:3000/api/v1/tenants \
  -H "Content-Type: application/json" \
  -d '{"name":"测试家庭","type":"family"}'

# 2. 创建根节点 (清华园工程)
curl -X POST http://localhost:3000/api/v1/engineering/nodes \
  -H "Content-Type: application/json" \
  -d '{
    "tenantId": "YOUR_TENANT_ID",
    "type": "goal",
    "name": "清华园工程",
    "timeline": {"start": "2026-01-01", "end": "2035-06-30"}
  }'

# 3. 获取工程树
curl "http://localhost:3000/api/v1/engineering/tree?tenantId=YOUR_TENANT_ID"

3. 架构说明

4. 下一步计划

5. 文档链接


慧工程有限公司 · 技术部

目录