Skip to content

Commit d155104

Browse files
authored
Merge branch 'main' into patch-1
2 parents abef5a3 + c77eea6 commit d155104

File tree

56 files changed

+7539
-1708
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+7539
-1708
lines changed

.github/workflows/codeql.yml

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
# For most projects, this workflow file will not need changing; you simply need
2+
# to commit it to your repository.
3+
#
4+
# You may wish to alter this file to override the set of languages analyzed,
5+
# or to provide custom queries or build logic.
6+
#
7+
# ******** NOTE ********
8+
# We have attempted to detect the languages in your repository. Please check
9+
# the `language` matrix defined below to confirm you have the correct set of
10+
# supported CodeQL languages.
11+
#
12+
name: "CodeQL Advanced"
13+
14+
on:
15+
push:
16+
branches: [ "develop" ]
17+
pull_request:
18+
branches: [ "develop" ]
19+
schedule:
20+
- cron: '23 5 * * 2'
21+
22+
jobs:
23+
analyze:
24+
name: Analyze (${{ matrix.language }})
25+
# Runner size impacts CodeQL analysis time. To learn more, please see:
26+
# - https://gh.io/recommended-hardware-resources-for-running-codeql
27+
# - https://gh.io/supported-runners-and-hardware-resources
28+
# - https://gh.io/using-larger-runners (GitHub.com only)
29+
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
30+
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
31+
permissions:
32+
# required for all workflows
33+
security-events: write
34+
35+
# required to fetch internal or private CodeQL packs
36+
packages: read
37+
38+
# only required for workflows in private repositories
39+
actions: read
40+
contents: read
41+
42+
strategy:
43+
fail-fast: false
44+
matrix:
45+
include:
46+
- language: actions
47+
build-mode: none
48+
- language: javascript-typescript
49+
build-mode: none
50+
- language: python
51+
build-mode: none
52+
# CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'rust', 'swift'
53+
# Use `c-cpp` to analyze code written in C, C++ or both
54+
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
55+
# Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
56+
# To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
57+
# see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
58+
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
59+
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
60+
steps:
61+
- name: Checkout repository
62+
uses: actions/checkout@v4
63+
64+
# Add any setup steps before running the `github/codeql-action/init` action.
65+
# This includes steps like installing compilers or runtimes (`actions/setup-node`
66+
# or others). This is typically only required for manual builds.
67+
# - name: Setup runtime (example)
68+
# uses: actions/setup-example@v1
69+
70+
# Initializes the CodeQL tools for scanning.
71+
- name: Initialize CodeQL
72+
uses: github/codeql-action/init@v3
73+
with:
74+
languages: ${{ matrix.language }}
75+
build-mode: ${{ matrix.build-mode }}
76+
# If you wish to specify custom queries, you can do so here or in a config file.
77+
# By default, queries listed here will override any specified in a config file.
78+
# Prefix the list here with "+" to use these queries and those in the config file.
79+
80+
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
81+
# queries: security-extended,security-and-quality
82+
83+
# If the analyze step fails for one of the languages you are analyzing with
84+
# "We were unable to automatically build your code", modify the matrix above
85+
# to set the build mode to "manual" for that language. Then modify this step
86+
# to build your code.
87+
# ℹ️ Command-line programs to run using the OS shell.
88+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
89+
- if: matrix.build-mode == 'manual'
90+
shell: bash
91+
run: |
92+
echo 'If you are using a "manual" build mode for one or more of the' \
93+
'languages you are analyzing, replace this with the commands to build' \
94+
'your code, for example:'
95+
echo ' make bootstrap'
96+
echo ' make release'
97+
exit 1
98+
99+
- name: Perform CodeQL Analysis
100+
uses: github/codeql-action/analyze@v3
101+
with:
102+
category: "/language:${{matrix.language}}"

README.md

Lines changed: 35 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,33 @@
11
![Nexent Banner](./assets/NexentBanner.png)
22

3-
[![English](https://img.shields.io/badge/English-README-blue)](README.md)
4-
[![中文](https://img.shields.io/badge/中文-README-green)](README_CN.md)
5-
[![Documentation](https://img.shields.io/badge/Documentation-yellow)](https://modelengine-group.github.io/nexent)
6-
[![codecov](https://codecov.io/gh/ModelEngine-Group/nexent/branch/develop/graph/badge.svg?token=00JM5YAD5V)](https://codecov.io/gh/ModelEngine-Group/nexent?branch=develop)
3+
[![Website](https://img.shields.io/badge/Website-blue?logo=icloud&logoColor=white)](https://nexent.tech)
4+
[![English](https://img.shields.io/badge/English-README-blue?logo=github)](README.md)
5+
[![中文](https://img.shields.io/badge/中文-README-green?logo=github)](README_CN.md)
6+
[![Documentation](https://img.shields.io/badge/Documentation-CN/EN-red?logo=googledocs&logoColor=%23ECD53F)](https://modelengine-group.github.io/nexent)
7+
[![Docker Pulls](https://img.shields.io/docker/pulls/nexent/nexent?logo=docker&label=DockerPull)](https://hub.docker.com/repositories/nexent)
8+
[![Codecov (with branch)](https://img.shields.io/codecov/c/github/ModelEngine-Group/nexent/develop?logo=codecov&color=green)](https://codecov.io/gh/ModelEngine-Group/nexent)
79

810
Nexent is a zero-code platform for auto-generating agents — no orchestration, no complex drag-and-drop required, using pure language to develop any agent you want. Built on the MCP ecosystem with rich tool integration, Nexent also provides various built-in agents to meet your intelligent service needs in different scenarios such as work, travel, and daily life. Nexent offers powerful capabilities for agent running control, multi-agent collaboration, data processing and knowledge tracing, multimodal dialogue, and batch scaling.
911

1012
> One prompt. Endless reach.
1113
12-
### 🌟 Try Nexent Now
14+
### 🌐 Visit our [official website](https://nexent.tech/)
1315

14-
- 🌐 Visit our [official website](http://nexent.tech/) to learn more
15-
- 🚀 [Try it now](http://nexent.tech/try) to experience the power of Nexent
16+
![Nexent Banner](./assets/architecture_en.png)
1617

17-
https://github.com/user-attachments/assets/b844e05d-5277-4509-9463-1c5b3516f11e
18-
19-
# 🤝 Join Our Community
20-
21-
> *If you want to go fast, go alone; if you want to go far, go together.*
22-
23-
We have released **Nexent v1**, and the platform is now relatively stable. However, there may still be some bugs, and we are continuously improving and adding new features. Stay tuned: we will announce **v2.0** soon!
24-
25-
* **🗺️ Check our [Feature Map](https://github.com/orgs/ModelEngine-Group/projects/6)** to explore current and upcoming features.
26-
* **🔍 Try the current build** and leave ideas or bugs in the [Issues](https://github.com/ModelEngine-Group/nexent/issues) tab.
27-
28-
> *Rome wasn't built in a day.*
29-
30-
If our vision speaks to you, jump in via the **[Contribution Guide](https://modelengine-group.github.io/nexent/en/contributing)** and shape Nexent with us.
31-
32-
Early contributors won't go unnoticed: from special badges and swag to other tangible rewards, we're committed to thanking the pioneers who help bring Nexent to life.
33-
34-
Most of all, we need visibility. Star ⭐ and watch the repo, share it with friends, and help more developers discover Nexent — your click brings new hands to the project and keeps the momentum growing.
18+
https://github.com/user-attachments/assets/db6b7f5a-9ee8-4327-ae6f-c5af896126b4
3519

3620
# ⚡ Have a try first
3721

38-
### 1. 📋 Prerequisites
22+
### 📋 Prerequisites
3923

4024
| Resource | Minimum |
4125
|----------|---------|
4226
| **CPU** | 2 cores |
4327
| **RAM** | 6 GiB |
4428
| **Software** | Docker & Docker Compose installed |
4529

46-
### 2. 🛠️ Quick start with Docker Compose
30+
### 🛠️ Quick start with Docker Compose
4731

4832
```bash
4933
git clone https://github.com/ModelEngine-Group/nexent.git
@@ -54,13 +38,29 @@ bash deploy.sh
5438

5539
When the containers are running, open **http://localhost:3000** in your browser and follow the setup wizard.
5640

57-
# 🌱 MCP Tool Ecosystem
41+
# 🤝 Join Our Community
5842

59-
Check our [MCP Ecosystem page](https://modelengine-group.github.io/nexent/en/mcp-ecosystem/overview.html) for detailed information about the MCP tool ecosystem, including community hubs, recommended tools, and integration guides.
43+
> *If you want to go fast, go alone; if you want to go far, go together.*
44+
45+
We have released **Nexent v1**, and the platform is now relatively stable. However, there may still be some bugs, and we are continuously improving and adding new features. Stay tuned: we will announce **v2.0** soon!
46+
47+
* **🗺️ Check our [Feature Map](https://github.com/orgs/ModelEngine-Group/projects/6)** to explore current and upcoming features.
48+
* **🔍 Try the current build** and leave ideas or bugs in the [Issues](https://github.com/ModelEngine-Group/nexent/issues) tab.
49+
* **🐛 Check our [Known Issues page](https://modelengine-group.github.io/nexent/en/known-issues.html)** for the latest issue status and solutions.
50+
51+
> *Rome wasn't built in a day.*
52+
53+
If our vision speaks to you, jump in via the **[Contribution Guide](https://modelengine-group.github.io/nexent/en/contributing)** and shape Nexent with us.
54+
55+
Early contributors won't go unnoticed: from special badges and swag to other tangible rewards, we're committed to thanking the pioneers who help bring Nexent to life.
56+
57+
Most of all, we need visibility. Star ⭐ and watch the repo, share it with friends, and help more developers discover Nexent — your click brings new hands to the project and keeps the momentum growing.
6058

61-
### 🚀 Suggested Agent Scenarios
59+
## 💬 Community & contact
6260

63-
Check our [Agent Scenarios page](https://modelengine-group.github.io/nexent/en/mcp-ecosystem/use-cases.html) for detailed agent use cases and best practices, including travel planning, research assistant, business intelligence, smart lifestyle, and more scenarios.
61+
- Browse the [Documentation](https://modelengine-group.github.io/nexent) for more information.
62+
- Join our [Discord community](https://discord.gg/tb5H3S3wyv) to chat with other developers and get help!
63+
- Conntact us by Wechat, find our QR Code in our [website](https://nexent.tech/en/contact)
6464

6565
# ✨ Key Features
6666

@@ -99,6 +99,10 @@ Check our [Agent Scenarios page](https://modelengine-group.github.io/nexent/en/m
9999

100100
![Feature 7](./assets/Feature7.png)
101101

102+
# 🌱 MCP Tool Ecosystem
103+
104+
Check our [MCP Ecosystem page](https://modelengine-group.github.io/nexent/en/mcp-ecosystem/overview.html) for detailed information about the MCP tool ecosystem, including community hubs, recommended tools, and integration guides.
105+
102106
# 🛠️ Developer Guide
103107

104108
### 🤖 Model Configuration & Provider Recommendations
@@ -113,16 +117,6 @@ Want to build from source or add new features? Check the [Contribution Guide](ht
113117

114118
Prefer to run Nexent from source code? Follow our [Developer Guide](https://modelengine-group.github.io/nexent/en/getting-started/development-guide) for detailed setup instructions and customization options.
115119

116-
# 🐛 Known Issues
117-
118-
Check our [Known Issues page](https://modelengine-group.github.io/nexent/en/known-issues.html) for the latest issue status and solutions.
119-
120-
# 💬 Community & contact
121-
122-
- Browse the [FAQ](https://modelengine-group.github.io/nexent/en/faq) for common install issues.
123-
- Join our [Discord community](https://discord.gg/tb5H3S3wyv) to chat with other developers and get help!
124-
- File bugs or feature ideas in [GitHub Issues](https://github.com/ModelEngine-Group/nexent/issues).
125-
126120
# 📄 License
127121

128122
Nexent is licensed under the [MIT](LICENSE) with additional conditions. Please read the [LICENSE](LICENSE) file for details.

README_CN.md

Lines changed: 35 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,66 @@
11
![Nexent Banner](./assets/NexentBanner.png)
22

3-
[![English](https://img.shields.io/badge/English-README-blue)](README.md)
4-
[![中文](https://img.shields.io/badge/中文-README-green)](README_CN.md)
5-
[![Documentation](https://img.shields.io/badge/Nexent-文档-yellow)](https://modelengine-group.github.io/nexent)
6-
[![codecov](https://codecov.io/gh/ModelEngine-Group/nexent/branch/develop/graph/badge.svg?token=00JM5YAD5V)](https://codecov.io/gh/ModelEngine-Group/nexent?branch=develop)
3+
[![Website](https://img.shields.io/badge/Website-blue?logo=icloud&logoColor=white)](https://nexent.tech)
4+
[![English](https://img.shields.io/badge/English-README-blue?logo=github)](README.md)
5+
[![中文](https://img.shields.io/badge/中文-README-green?logo=github)](README_CN.md)
6+
[![Documentation](https://img.shields.io/badge/Documentation-CN/EN-red?logo=googledocs&logoColor=%23ECD53F)](https://modelengine-group.github.io/nexent)
7+
[![Docker Pulls](https://img.shields.io/docker/pulls/nexent/nexent?logo=docker&label=DockerPull)](https://hub.docker.com/repositories/nexent)
8+
[![Codecov (with branch)](https://img.shields.io/codecov/c/github/ModelEngine-Group/nexent/develop?logo=codecov&color=green)](https://codecov.io/gh/ModelEngine-Group/nexent)
79

810
Nexent 是一个零代码智能体自动生成平台 —— 无需编排,无需复杂的拖拉拽操作,使用纯语言开发你想要的任何智能体。基于MCP生态,具备丰富的工具集成,同时提供多种自带智能体,满足你的工作、旅行、生活等不同场景的智能服务需要。Nexent 还提供强大的智能体运行控制、多智能体协作、数据处理和知识溯源、多模态对话、批量扩展能力。
911

1012
> 一个提示词,无限种可能。
1113
12-
### 🌟 立即体验 Nexent
14+
### 🌐 访问我们的[官方网站](https://nexent.tech/)
1315

14-
- 🌐 访问我们的[官方网站](http://nexent.tech/)了解更多信息
15-
- 🚀 [一键试用](http://nexent.tech/try)体验 Nexent 的强大功能
16+
![Nexent Banner](./assets/architecture_zh.png)
1617

1718
https://github.com/user-attachments/assets/b844e05d-5277-4509-9463-1c5b3516f11e
1819

19-
# 🤝 加入我们的社区
20-
21-
> *If you want to go fast, go alone; if you want to go far, go together.*
22-
23-
我们已经发布了 **Nexent v1**,目前功能已经相对稳定,但仍可能存在一些 bug,我们会持续改进并不断增加新功能。敬请期待,我们很快也会公布 **v2.0** 版本!
24-
25-
* **🗺️ 查看我们的 [功能地图](https://github.com/orgs/ModelEngine-Group/projects/6)** 探索当前和即将推出的功能。
26-
* **🔍 试用当前版本** 并在 [问题反馈](https://github.com/ModelEngine-Group/nexent/issues) 中留下想法或报告错误。
27-
28-
> *Rome wasn't built in a day.*
29-
30-
如果我们的愿景与您产生共鸣,请通过 **[贡献指南](https://modelengine-group.github.io/nexent/zh/contributing)** 加入我们,共同塑造 Nexent。
31-
32-
早期贡献者不会被忽视:从特殊徽章和纪念品到其他实质性奖励,我们致力于感谢那些帮助 Nexent 诞生的先驱者。
33-
34-
最重要的是,我们需要关注度。请为仓库点星 ⭐ 并关注,与朋友分享,帮助更多开发者发现 Nexent —— 您的每一次点击都能为项目带来新的参与者,保持发展势头。
35-
3620
# ⚡ 先来试试看
3721

38-
### 1. 📋 系统要求
22+
### 📋 系统要求
3923

4024
| 资源 | 最低要求 |
4125
|----------|---------|
4226
| **CPU** | 2 核 |
4327
| **内存** | 6 GiB |
4428
| **软件** | 已安装 Docker 和 Docker Compose |
4529

46-
### 2. 🛠️ 使用 Docker Compose 快速开始
30+
### 🛠️ 使用 Docker Compose 快速开始
4731

4832
```bash
4933
git clone https://github.com/ModelEngine-Group/nexent.git
5034
cd nexent/docker
51-
cp .env.example .env # fill only nessasary configs
35+
cp .env.example .env # fill only necessary configs
5236
bash deploy.sh
5337
```
5438

5539
当容器运行后,在浏览器中打开 **http://localhost:3000** 并按照设置向导操作。
5640

57-
# 🌱 MCP 工具生态
41+
# 🤝 加入我们的社区
5842

59-
查看我们的[MCP 生态系统页面](https://modelengine-group.github.io/nexent/zh/mcp-ecosystem/overview.html)了解 MCP 工具生态系统的详细信息,包括社区中心、推荐工具和集成指南。
43+
> *If you want to go fast, go alone; if you want to go far, go together.*
44+
45+
我们已经发布了 **Nexent v1**,平台现在相对稳定。但是,可能仍然存在一些 bug,我们正在持续改进并添加新功能。敬请期待:我们很快将宣布 **v2.0**
6046

61-
### 🚀 建议的智能体场景
47+
* **🗺️ 查看我们的 [功能地图](https://github.com/orgs/ModelEngine-Group/projects/6)** 探索当前和即将推出的功能。
48+
* **🔍 试用当前版本** 并在 [问题反馈](https://github.com/ModelEngine-Group/nexent/issues) 中留下想法或报告错误。
49+
* **🐛 查看我们的[已知问题页面](https://modelengine-group.github.io/nexent/zh/known-issues.html)** 了解最新的问题状态和解决方案。
50+
51+
> *Rome wasn't built in a day.*
6252
63-
查看我们的[智能体场景页面](https://modelengine-group.github.io/nexent/zh/mcp-ecosystem/use-cases.html)了解详细的智能体用例和最佳实践,包括旅行规划、研究助手、商业智能、智能生活等场景。
53+
如果我们的愿景与您产生共鸣,请通过 **[贡献指南](https://modelengine-group.github.io/nexent/zh/contributing)** 加入我们,共同塑造 Nexent。
54+
55+
早期贡献者不会被忽视:从特殊徽章和纪念品到其他实质性奖励,我们致力于感谢那些帮助 Nexent 诞生的先驱者。
56+
57+
最重要的是,我们需要关注度。请为仓库点星 ⭐ 并关注,与朋友分享,帮助更多开发者发现 Nexent —— 您的每一次点击都能为项目带来新的参与者,保持发展势头。
58+
59+
## 💬 社区与联系方式
60+
61+
- 浏览 [文档](https://modelengine-group.github.io/nexent) 了解更多信息。
62+
- 加入我们的 [Discord 社区](https://discord.gg/tb5H3S3wyv) 与其他开发者交流并获取帮助!
63+
- 通过微信联系我们,在我们的[网站](https://nexent.tech/zh/contact)找到二维码
6464

6565
# ✨ 主要特性
6666

@@ -99,6 +99,10 @@ bash deploy.sh
9999

100100
![Feature 7](./assets/Feature7.png)
101101

102+
# 🌱 MCP 工具生态
103+
104+
查看我们的[MCP 生态系统页面](https://modelengine-group.github.io/nexent/zh/mcp-ecosystem/overview.html)了解 MCP 工具生态系统的详细信息,包括社区中心、推荐工具和集成指南。
105+
102106
# 🛠️ 开发者指南
103107

104108
### 🤖 模型配置与模型提供商推荐
@@ -113,16 +117,6 @@ bash deploy.sh
113117

114118
想要从源码运行 Nexent?查看我们的[开发者指南](https://modelengine-group.github.io/nexent/zh/getting-started/development-guide)获取详细的设置说明和自定义选项。
115119

116-
# 🐛 已知问题
117-
118-
查看我们的[已知问题页面](https://modelengine-group.github.io/nexent/zh/known-issues.html)了解最新的问题状态和解决方案。
119-
120-
# 💬 社区与联系方式
121-
122-
- 浏览 [常见问题](https://modelengine-group.github.io/nexent/zh/faq) 了解常见安装问题。
123-
- 加入我们的 [Discord 社区](https://discord.gg/tb5H3S3wyv) 与其他开发者交流并获取帮助!
124-
-[GitHub Issues](https://github.com/ModelEngine-Group/nexent/issues) 中提交错误报告或功能建议。
125-
126120
# 📄 许可证
127121

128122
Nexent 采用 [MIT](LICENSE) 许可证,并附有额外条件。请阅读 [LICENSE](LICENSE) 文件了解详情。

assets/architecture_en.png

596 KB
Loading

assets/architecture_zh.png

565 KB
Loading

backend/consts/model.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,8 @@ class AgentInfoRequest(BaseModel):
211211
constraint_prompt: Optional[str] = None
212212
few_shots_prompt: Optional[str] = None
213213
enabled: Optional[bool] = None
214+
business_logic_model_name: Optional[str] = None
215+
business_logic_model_id: Optional[int] = None
214216

215217

216218
class AgentIDRequest(BaseModel):

0 commit comments

Comments
 (0)