lealone/Lealone
lealone/Lealone has 2,591 GitHub stars and 526 forks. GitHot measured 0 stars in 24 hours and +2 in 7 days. Last checked 2026-11-06 03:08 UTC. Last push 2026-10-31.
能安全适用于氛围编程和企业应用的全栈自进化通用智能体
Measured star growth
- in 24h
- 0
- in 7 days
- +2
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalLealone 是什么
是一个高性能的全栈自进化通用智能体
能够彻底颠覆现有的应用软件开发模式
适用于氛围编程和各种规模的企业应用
构建 Lealone
mvn assembly:assembly -Dmaven.test.skip=true
编译运行需要 JDK 21+
可以直接下载 lealone-8.0.0-SNAPSHOT.jar
启动 Lealone
java -jar lealone-8.0.0-SNAPSHOT.jar
打开 Lealone Agent
java -jar lealone-8.0.0-SNAPSHOT.jar -agent
配置大模型
在 agent 窗口中执行以下命令配置大模型,只需要执行一次:
set llm (
provider: 'doubao', --目前支持doubao和deepseek
model: 'doubao-seed-2-0-pro-260215',
api_key: '替换成你的apikey'
);
氛围编程
在 agent 窗口输入:实现一个 todo 应用;
等待20多秒后会返回一个 URL,用浏览器打开即可
零代码零需求文档渐进式开发一个企业级 AI 应用
在 agent 窗口中执行以下命令创建第一个服务然后马上执行它:
create service if not exists my_service (
hello(name varchar) varchar,
get_current_time() varchar
);
execute service my_service hello('zhh');
execute service my_service get_current_time();
通过需求文档直接运行一个企业级 AI 应用
运行: java -jar lealone-8.0.0-SNAPSHOT.jar services.sql
-- 以下是 services.sql 文件的内容,也可以换成其他文件名
-- 下文出现的所有 url 都不是必需的,只是方便手工 copy 到浏览器测试
-- 通过以下 url 调用服务:
-- http://localhost:8080/service/my_service/hello?name=zhh
-- http://localhost:8080/service/my_service/get_current_time
create service if not exists my_service (
hello(name varchar) varchar,
get_current_time() varchar
);
create table if not exists user (
id long auto_increment primary key,
name varchar,
age int
);
-- http://localhost:8080/service/user_service/add_user?name=zhh&age=18
-- http://localhost:8080/service/user_service/find_by_name?name=zhh
create service if not exists user_service (
add_user(name varchar, age int) long,
find_by_name(name varchar) user
);
-- http://localhost:8080/service/my_workflow/start?name=zhh
create workflow if not exists my_workflow (
start(name varchar) varchar comment '找到指定的用户,然后跟他打招呼,把当前时间告诉他'
);
Lealone 名字的由来
- Lealone 发音 ['li:ləʊn] 这是我新造的英文单词,
灵感来自于办公桌上那些叫绿萝的室内植物,一直想做个项目以它命名。
绿萝的拼音是 lv luo,与 Lealone 英文发音有点相同,
Lealone 是 lea + lone 的组合,反过来念更有意思哦。:)
Lealone License
Explore related projects
Asabeneh/30-Days-Of-Python
The 30 Days of Python programming challenge is a step-by-step guide to learn the Python programming language in 30 days. This challenge may take more than 100 days. Follow your own pace. These videos may help too: https://www.youtube.com/channel/UC7PNRuno1rzYPb1xLa4yktw
78,236 starsgrafana/grafana
The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
77,724 starsredis/redis
For developers, who are building real-time data-driven applications, Redis is the preferred, fastest, and most feature-rich cache, data structure server, and document and vector query engine.
77,201 starsapache/superset
Apache Superset is a Data Visualization and Data Exploration Platform
75,420 stars