cindy
Cindy is an open-source AI agent that runs locally on your machine, integrates multiple AI harnesses and models, and provides memory, skills, and automation to perform real work in your projects and apps.
It provides a production-ready, DDD hexagonal architecture for building AI agents with built-in observability, MCP tool support, and a static chat UI, making it easy to bootstrap complex multi-agent systems without writing boilerplate code.
铸造 AI 灵魂 —— 基于 SpringBoot 4.1 + Spring AI 2.0 + DDD 六边形架构的 AI Agent 开发脚手架
铸灵(ZhuLing)帮助 Java 开发者零代码启动 Agent 应用。只需编写一份 YAML 配置文件,即可获得:
| 组件 | 版本 | 说明 |
|---|---|---|
| JDK | 21 | 支持虚拟线程 |
| SpringBoot | 4.1.0 | 核心框架 |
| Spring AI | 2.0.1-SNAPSHOT | LLM 调用统一管理 |
| Spring AI Alibaba | 1.1.2.0 | Agent 编排扩展 |
| WebFlux | — | 仅用于对话流式输出 |
| MyBatis-Plus | 3.5.17 | 持久层(传统阻塞式) |
| MySQL | 8.0+ | 会话 / 消息持久化 |
| MCP SDK | 2.0.0-M2 | Model Context Protocol |
| Jackson | 2.17.2 | JSON 序列化 |
zhuling/
├── zhuling-types/ # 公共类型(枚举、异常、通用常量)
├── zhuling-api/ # 接口 DTO / VO 定义
├── zhuling-domain/ # 领域层(核心业务、Port/Repository 接口)
├── zhuling-case/ # 编排层(用例编排、聊天流程)
├── zhuling-infrastructure/ # 基础设施层(DAO、Gateway、Redis、可观测性实现)
├── zhuling-trigger/ # 触发层(HTTP Controller)
├── zhuling-app/ # 启动模块(配置文件、Agent YAML、Skills)
├── ui/ # 可观测对话工作台(纯静态前端)
└── docs/ # 设计文档、SQL 脚本
依赖规则:Trigger → API → Case → Domain ← Infrastructure,所有依赖向内指向 Domain。
git clone https://github.com/vinist123/zhuling.git
cd zhuling
创建数据库后,执行以下建表 SQL:
-- Agent 会话表
CREATE TABLE agent_session (
id VARCHAR(36) PRIMARY KEY,
target_id VARCHAR(128) NOT NULL,
target_type VARCHAR(20) NOT NULL DEFAULT 'AGENT',
user_id VARCHAR(64),
title VARCHAR(256),
status VARCHAR(20) DEFAULT 'active',
message_count INT DEFAULT 0,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
-- Agent 消息表
CREATE TABLE agent_message (
id VARCHAR(36) PRIMARY KEY,
session_id VARCHAR(36) NOT NULL,
role VARCHAR(20) NOT NULL,
content TEXT,
metadata JSON,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
FOREIGN KEY (session_id) REFERENCES agent_session(id)
);
编辑 `zhuling-a
An AI Agent Development Framework AI Agent 开发脚手架
Similar projects matched by category, topics, and programming language.
Cindy is an open-source AI agent that runs locally on your machine, integrates multiple AI harnesses and models, and provides memory, skills, and automation to perform real work in your projects and apps.

Hermex is a native SwiftUI iPhone app that lets you control a self-hosted Hermes AI agent directly from your phone, with no subscriptions, tracking, or third-party relay.
Clodex is an open-source, local-first agentic IDE that combines persistent AI tasks, code, terminal, browser, Git, models, memory, and governed execution in one Electron workspace, currently in technical preview.