Home
Softono
c

coze-dev

Professional software vendor delivering innovative solutions on the Softono platform. Specialized in both open-source and proprietary software development.

Total Products
2

Software by coze-dev

coze-loop
Open Source

coze-loop

![Image](https://p9-arcosite.byteimg.com/tos-cn-i-goo7wpa0wc/11faa43b83754c089d2ec953306d3e63~tplv-goo7wpa0wc-image.image) <div align="center"> <a href="#what-can-coze-loop-do">Coze Loop</a> • <a href="#feature-list">Feature list</a> • <a href="#quick-start">Quick start</a> • <a href="#developer-guide">Developer guide</a> </p> <p> <img alt="License" src="https://img.shields.io/badge/license-apache2.0-blue.svg"> <img alt="Go Version" src="https://img.shields.io/badge/go-%3E%3D%201.24.0-blue"> <a href="https://deepwiki.com/coze-dev/coze-loop"><img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki"></a> </p> English | [中文](README.cn.md) </div> ## What is Coze Loop [Coze Loop](https://www.coze.cn/loop) is a developer-oriented, platform-level solution focused on the development and operation of AI agents. It addresses various challenges faced during the AI agent development process, providing full lifecycle management capabilities from development, debugging, evaluation, to monitoring. Based on the commercial version, Coze Loop introduces an open-source edition that offers developers free access to core foundational feature modules. By sharing its core technology framework in an open-source model, developers can customize and extend according to business needs, facilitating community co-construction, sharing, and exchange, helping developers participate in AI agent exploration and practice with zero barriers. ## What can Coze Loop do? Coze Loop helps developers develop and operate AI Agent more efficiently by providing full lifecycle management capabilities. Whether it is prompt engineering, AI Agent evaluation, or monitoring and optimization after deployment, Coze Loop provides powerful tools and intelligent support, greatly simplifying the development process of AI Agents and enhancing their operational performance and stability. * **Prompt development**: The Prompt development module of Coze Loop provides developers with end-to-end support for writing, debugging, optimizing, and version management. Through a visual Playground, it enables real-time interactive testing of prompts, allowing developers to intuitively compare the output of different LLMs. * **Evaluation**: The Coze Loop evaluation module provides developers with systematic evaluation capabilities, enabling automated multi-dimensional testing of prompts and Coze agents' output, such as accuracy, conciseness, compliance, and more. * **Observability**: Coze Loop provides developers with observability for the entire execution process, fully recording every stage from user input to AI output, including key stages such as prompt parsing, model invocation, and tool execution, and automatically capturing intermediate results and exceptions. ## Feature list | **Feature** | **Functional points** | | --- | --- | | Prompt debugging | *Playground debugging and comparison <br>* Prompt version management | | Evaluation | *Manage evaluation sets <br> Management evaluator <br>* Manage experiments | | Observation | SDK trace reporting <br> * Trace data observation | | Model | Support integration with OpenAI, Volcengine Ark, and other models | ## Quick Start > > Refer to [Quick Start](https://github.com/coze-dev/coze-loop/wiki/2.-Quickstart) to learn in detail how to install and deploy the latest version of Coze Loop. ### Deployment method 1: Docker deployment (Docker Compose) > > Please install and start Docker Engine before you start. Procedure: 1. Clone the source code. Run the following command to obtain the latest version of the Coze Loop source code. ```Bash # Clone the code git clone https://github.com/coze-dev/coze-loop.git # Enter the coze-loop directory cd coze-loop ``` 2. Configure a model. 1. Enter the `coze-loop` directory. 2. Edit the file `release/deployment/docker-compose/conf/model_config.yaml`. 3. Modify the api_key and model fields. Take Volcengine Ark as an example: * api_key: Volcengine Ark API Key. Users in China can refer to the [Volcengine Ark documentation](https://www.volcengine.com/docs/82379/1541594), while users outside China can refer to the [BytePlus ModelArk documentation](https://docs.byteplus.com/en/docs/ModelArk/1361424?utm_source=github&utm_medium=readme&utm_campaign=coze_open_source). * model: The Endpoint ID of the Volcengine Ark model access point. Users within China can refer to [the Volcengine Ark documentation](https://www.volcengine.com/docs/82379/1099522); users outside China can refer to [the BytePlus ModelArk documentation](https://docs.byteplus.com/en/docs/ModelArk/1099522?utm_source=github&utm_medium=readme&utm_campaign=coze_open_source). 3. Start the service. Run the following commands to quickly deploy the open-source version of Coze Loop using Docker Compose. ```Bash # Start the service (default: development mode) # Run in the coze-loop/ directory make compose-up ``` 4. Access the Coze Loop open-source version through your browser `http://localhost:8082`. ### Deployment method 2: Kubernetes deployment using Helm Chart > * The Kubernetes cluster has been prepared, the Nginx Ingress add-ons have been enabled, and the Kubectl and Helm tools have been installed. > * To quickly try it out locally, you can deploy a Kubernetes cluster using Minikube. For detailed steps, refer to [Quick Start](https://github.com/coze-dev/coze-loop/wiki/2.-Quickstart). Procedure: 1. Run the following command to obtain the Helm Chart package. ```Bash helm pull oci://docker.io/cozedev/coze-loop --version 1.0.0-helm tar -zxvf coze-loop-1.0.0-helm.tgz && cd coze-loop && rm -f ../coze-loop-1.0.0-helm.tgz ``` 2. Configure a model. Go to the `coze-loop` directory and edit the `release/deployment/helm-chart/umbrella/conf/model_config.yaml` file. Configure the following fields, using Volcengine Ark as an example: * api_key: Volcengine Ark API Key. Users in mainland China can refer to the [Volcengine Ark documentation](https://www.volcengine.com/docs/82379/1541594), while users outside mainland China can refer to the [BytePlus ModelArk documentation](https://docs.byteplus.com/en/docs/ModelArk/1361424?utm_source=github&utm_medium=readme&utm_campaign=coze_open_source). * model: The Endpoint ID of the Volcengine Ark model access point. Users in China can refer to the [Volcengine Ark documentation](https://www.volcengine.com/docs/82379/1099522), while users outside China can refer to the [BytePlus ModelArk documentation](https://docs.byteplus.com/en/docs/ModelArk/1099522?utm_source=github&utm_medium=readme&utm_campaign=coze_open_source). 3. Configure Ingress rules. Ingress is used to expose services to external networks. You need to configure the `templates/ingress.yaml` file in the project directory according to the actual cluster situation, manually modify parameters such as ingressClassName, and configure elements such as class, instance, host, and IP allocation. 4. Deploy and start the service. Execute the following commands to quickly deploy the open-source version of Coze Loop using Helm. ```Bash # Run in the coze-loop/ directory make helm-up # After the service deployment is complete, check the status of the cluster pods make helm-pod # Check the service startup logs. If both the app and nginx are running normally, the deployment is successful make helm-logf-app make helm-logf-nginx ``` 5. Access the Coze Loop open source edition via a browser. The access domain name and URL depend on the domain name and URL assigned to your cluster. 6. Start customizing your Coze Loop project. Refer to the examples in the `examples/` directory. Modify `values.yaml` to override the default settings. After making changes, rerun `make helm-up` for the changes to take effect. > [!WARNING] > If you want to deploy Coze Loop in a public network environment, it is recommended to assess security risks before you begin, and take corresponding protection measures. Possible security risks include account registration functions, Coze Server listening address configurations, SSRF (Server - Side Request Forgery), and some horizontal privilege escalations in APIs. For more details, refer to [Quickstart](https://github.com/coze-dev/coze-loop/wiki/2.-Quickstart#security-risks-in-public-networks). ## Use the Coze Loop open source version * [Prompt development and debugging](https://loop.coze.cn/open/docs/cozeloop/create-prompt): Coze Loop provides a complete prompt development workflow. * [Evaluation](https://loop.coze.cn/open/docs/cozeloop/evaluation-quick-start): The evaluation functionality of Coze Loop provides standard evaluation data management, an automated evaluation engine, and comprehensive statistics on experimental results. * [Trace reporting and query](https://loop.coze.cn/open/docs/cozeloop/trace_integrate): Coze Loop supports automatic reporting of traces from prompt debugging sessions created on the platform, enabling real-time tracking of each trace. * [Open-source Edition usage of the Coze Loop SDK](https://github.com/coze-dev/coze-loop/wiki/8.-Open-source-edition-uses-CozeLoop-SDK): The Coze Loop SDK in three languages is suitable for both commercial and open-source editions. For the Open-source Edition, developers only need to modify some parameter configurations during initialization. ## Developer guide * [System architecture](https://github.com/coze-dev/coze-loop/wiki/3.-Architecture): Learn about the technical architecture and core components of Coze Loop Open-source Edition. * [Startup mode](https://github.com/coze-dev/coze-loop/wiki/4.-Service-startup-modes): When installing and deploying Coze Loop Open-source Edition, the default development mode allows backend file modifications without requiring service redeployment. * [Model configuration](https://github.com/coze-dev/coze-loop/wiki/5.-Model-configuration): Coze Loop Open-source Edition supports various LLM models through the Eino framework. Refer to this document to view the supported model list and learn how to configure models. * [Code development and testing](https://github.com/coze-dev/coze-loop/wiki/6.-Code-development-and-testing): Learn how to perform secondary development and testing based on Coze Loop Open-source Edition. * [Fault troubleshooting](https://github.com/coze-dev/coze-loop/wiki/7.-Troubleshooting): Learn how to check container status and system logs. ## License This project uses the Apache 2.0 license. For more details, please refer to the [LICENSE](LICENSE) file. ## Community Contributions We welcome community contributions. For contribution guidelines, please refer to [CONTRIBUTING](CONTRIBUTING.md) and [Code of conduct](CODE_OF_CONDUCT.md). We look forward to your contributions! ## Security and Privacy If you identify potential security issues in this project or believe you may have found one, please notify Bytedance's security team via our [Security Center](https://security.bytedance.com/src) or [Vulnerability Report Email]([email protected]). Please **do not** create public GitHub Issues. ## Join the Community We are committed to building an open and friendly developer community. All developers interested in AI Agent development are welcome to join us! ### Issue Reports & Feature Requests To efficiently track and resolve issues while ensuring transparency and collaboration, we recommend participating through: * **GitHub Issues**: [Submit bug reports or feature requests](https://github.com/coze-dev/coze-loop/issues) * **Pull Requests**: [Contribute code or documentation improvements](https://github.com/coze-dev/coze-loop/pulls) ### Technical Discussion & Communication Join our technical discussion groups to share experiences with other developers and stay updated with the latest project developments: * Lark Group Chat: Scan the QR code below on the Lark mobile app to join the Coze Loop technical discussion group. ![Image](https://p9-arcosite.byteimg.com/tos-cn-i-goo7wpa0wc/818dd6ec45d24041873ca101681186c1~tplv-goo7wpa0wc-image.image) * Discord Server: [Coze Community](https://discord.com/invite/sTVN9EVS4B) * Telegram Group: [Coze](https://t.me/+pP9CkPnomDA0Mjgx) ## Acknowledgments Thanks to all developers and community members who contributed to the Coze Loop project Special thanks: * LLM integration support provided by the [Eino](https://github.com/cloudwego/eino) framework team * High-performance frameworks developed by the [CloudWeGo](https://www.cloudwego.io) team * All users who participated in testing and feedback

AI Agents ML Frameworks
5.5K Github Stars
coze-studio
Open Source

coze-studio

![Image](https://p9-arcosite.byteimg.com/tos-cn-i-goo7wpa0wc/943f576df3424fa98580c2ad18946719~tplv-goo7wpa0wc-image.image) <div align="center"><p> <a href="#what-is-coze-studio">Coze Studio</a> • <a href="#feature-list">Feature list</a> • <a href="#quickstart">Quickstart</a> • <a href="#developer-guide">Developer Guide</a> </p> <p> <img alt="License" src="https://img.shields.io/badge/license-apache2.0-blue.svg"> <img alt="Go Version" src="https://img.shields.io/badge/go-%3E%3D%201.23.4-blue"> </p> English | [中文](README.zh_CN.md) </div> ## What is Coze Studio? [Coze Studio](https://www.coze.cn/home) is an all-in-one AI agent development tool. Providing the latest large models and tools, various development modes and frameworks, Coze Studio offers the most convenient AI agent development environment, from development to deployment. * **Provides all core technologies needed for AI agent development**: prompt, RAG, plugin, workflow, enabling developers to focus on creating the core value of AI. * **Ready to use for professional AI agent development at the lowest cost**: Coze Studio provides developers with complete app templates and build frameworks, allowing you to quickly construct various AI agents and turn creative ideas into reality. Coze Studio, derived from the "Coze Development Platform" which has served tens of thousands of enterprises and millions of developers, we have made its core engine completely open. It is a one-stop visual development tool for AI Agents that makes creating, debugging, and deploying AI Agents unprecedentedly simple. Through Coze Studio's visual design and build tools, developers can quickly create and debug agents, apps, and workflows using no-code or low-code approaches, enabling powerful AI app development and more customized business logic. It's an ideal choice for building low-code AI products tailored . Coze Studio aims to lower the threshold for AI agent development and application, encouraging community co-construction and sharing for deeper exploration and practice in the AI field. The backend of Coze Studio is developed using Golang, the frontend uses React + TypeScript, and the overall architecture is based on microservices and built following domain-driven design (DDD) principles. Provide developers with a high-performance, highly scalable, and easy-to-customize underlying framework to help them address complex business needs. ## Feature list | **Module** | **Feature** | | --- | --- | | Model service | Manage the model list, integrate services such as OpenAI and Volcengine | | Build agent | * Build, publish, and manage agent <br> * Support configuring workflows, knowledge bases, and other resources | | Build apps | * Create and publish apps <br> * Build business logic through workflows | | Build a workflow | Create, modify, publish, and delete workflows | | Develop resources | Support creating and managing the following resources: <br> * Plugins <br> * Knowledge bases <br> * Databases <br> * Prompts | | API and SDK | * Create conversations, initiate chats, and other OpenAPI <br> * Integrate agents or apps into your own app through Chat SDK | ## Quickstart Learn how to obtain and deploy the open-source version of Coze Studio, quickly build projects, and experience Coze Studio's open-source version. Environment requirements: * Before installing Coze Studio, please ensure that your machine meets the following minimum system requirements: 2 Core、4 GB * Pre-install Docker and Docker Compose, and start the Docker service. Deployment steps: 1. Retrieve the source code. ```Bash # Clone code git clone https://github.com/coze-dev/coze-studio.git ``` 2. Deploy and start the service. When deploying and starting Coze Studio for the first time, it may take a while to retrieve images and build local images. Please be patient. If you see the message "Container coze-server Started," it means the Coze Studio service has started successfully. ```Bash cd coze-studio # start service # for macOS or Linux make web # for windows cp ./docker/.env.example ./docker/.env docker compose -f ./docker/docker-compose.yml up ``` For common startup failure issues, **please refer to the [FAQ](https://github.com/coze-dev/coze-studio/wiki/9.-FAQ)**. 3. Register an account by visiting `http://localhost:8888/sign`, entering your username and password, and clicking the Register button. 4. Configure the model at `http://localhost:8888/admin/#model-management` by adding a new model. (The image version must be greater than or equal to 0.5.0.) 5. Visit Coze Studio at `http://localhost:8888/`. > [!WARNING] > If you want to deploy Coze Studio in a public network environment, it is recommended to assess security risks before you begin, and take corresponding protection measures. Possible security risks include account registration functions, Python execution environments in workflow code nodes, Coze Server listening address configurations, SSRF (Server - Side Request Forgery), and some horizontal privilege escalations in APIs. For more details, refer to [Quickstart](https://github.com/coze-dev/coze-studio/wiki/2.-Quickstart#security-risks-in-public-networks). ## Developer Guide * **Project Configuration**: * [Model Configuration](https://github.com/coze-dev/coze-studio/wiki/3.-Model-configuration): Before deploying the open-source version of Coze Studio, you must configure the model service. Otherwise, you cannot select models when building agents, workflows, and apps. * [Plugin Configuration](https://github.com/coze-dev/coze-studio/wiki/4.-Plugin-Configuration): To use official plugins from the plugin store, you must first configure the plugins and add the authentication keys for third-party services. * [Basic Component Configuration](https://github.com/coze-dev/coze-studio/wiki/5.-Basic-component-configuration): Learn how to configure components such as image uploaders to use functions like image uploading in Coze Studio . * [API Reference](https://github.com/coze-dev/coze-studio/wiki/6.-API-Reference): The Coze Studio Community Edition API and Chat SDK are authenticated using Personal Access Token, providing APIs for conversations and workflows. * [Development Guidelines](https://github.com/coze-dev/coze-studio/wiki/7.-Development-Standards): * [Project Architecture](https://github.com/coze-dev/coze-studio/wiki/7.-Development-Standards#project-architecture): Learn about the technical architecture and core components of the open-source version of Coze Studio. * [Code Development and Testing](https://github.com/coze-dev/coze-studio/wiki/7.-Development-Standards#code-development-and-testing): Learn how to perform secondary development and testing based on the open-source version of Coze Studio. * [Troubleshooting](https://github.com/coze-dev/coze-studio/wiki/7.-Development-Standards#troubleshooting): Learn how to view container states and system logs. ## Using the open-source version of Coze Studio > Regarding how to use Coze Studio, refer to the [Coze Development Platform Official Documentation Center](https://www.coze.cn/open/docs) for more information. Please note that certain features, such as tone customization, are limited to the commercial version. Differences between the open-source and commercial versions can be found in the **Feature List**. * [Quick Start](https://www.coze.cn/open/docs/guides/quickstart): Quickly build an AI assistant agent with Coze Studio. * [Developing Agents](https://www.coze.cn/open/docs/guides/agent_overview): Learn how to create, build, publish, and manage agents. You can use functions such as knowledge, plugins, etc., to resolve model hallucination and lack of expertise in professional fields. In addition, Coze Studio provides rich memory features that enable agents to generate more accurate responses based on a personal user's historical conversations during interactions. * [Develop workflows](https://www.coze.cn/open/docs/guides/workflow): A workflow is a set of executable instructions used to implement business logic or complete specific tasks. It structures data flow and task processing for apps or agents. Coze Studio provides a visual canvas where you can quickly build workflows by dragging and dropping nodes. * [Resources such as plugins](https://www.coze.cn/open/docs/guides/plugin): In Coze Studio, workflows, plugins, databases, knowledge bases, and variables are collectively referred to as resources. * **API & SDK**: Coze Studio supports [API related to chat and workflows](https://github.com/coze-dev/coze-studio/wiki/6.-API-Reference), and you can also integrate agents or apps with local business systems through [Chat SDK](https://www.coze.cn/open/docs/developer_guides/web_sdk_overview). * [Tutorials for practice](https://www.coze.cn/open/docs/tutorial/chat_sdk_web_online_customer_service): Learn how to use Coze Studio to implement various AI scenarios, such as building web-based online customer service using Chat SDK. ## License This project uses the Apache 2.0 license. For details, please refer to the [LICENSE](https://github.com/coze-dev/coze-studio/blob/main/LICENSE-APACHE) file. ## Community contributions We welcome community contributions. For contribution guidelines, please refer to [CONTRIBUTING](https://github.com/coze-dev/coze-studio/blob/main/CONTRIBUTING.md) and [Code of conduct](https://github.com/coze-dev/coze-studio/blob/main/CODE_OF_CONDUCT.md). We look forward to your contributions! ## Security and privacy If you discover potential security issues in the project, or believe you may have found a security issue, please notify the ByteDance security team through our [security center](https://security.bytedance.com/src) or [vulnerability reporting email](mailto:[email protected]). Please **do not** create public GitHub Issues. ## Join Community We are committed to building an open and friendly developer community. All developers interested in AI Agent development are welcome to join us! ### 🐛 Issue Reports & Feature Requests To efficiently track and resolve issues while ensuring transparency and collaboration, we recommend participating through: - **GitHub Issues**: [Submit bug reports or feature requests](https://github.com/coze-dev/coze-studio/issues) - **Pull Requests**: [Contribute code or documentation improvements](https://github.com/coze-dev/coze-studio/pulls) ### 💬 Technical Discussion & Communication Join our technical discussion groups to share experiences with other developers and stay updated with the latest project developments: **Feishu Group Chat** Scan the QR code below with Feishu mobile app to join: ![Image](https://p9-arcosite.byteimg.com/tos-cn-i-goo7wpa0wc/0a49081e8f3743e8bf3dcdded4bb571a~tplv-goo7wpa0wc-image.image) **Discord Server** Click to join: [Coze Community](https://discord.gg/sTVN9EVS4B) **Telegram Group** Click to join: Telegram Group [Coze](https://t.me/+pP9CkPnomDA0Mjgx) ## Acknowledgments Thank you to all the developers and community members who have contributed to the Coze Studio project. Special thanks: * The [Eino](https://github.com/cloudwego/eino) framework team - providing powerful support for Coze Studio's agent and workflow runtime engines, model abstractions and implementations, and knowledge base indexing and retrieval * The [FlowGram](https://github.com/bytedance/flowgram.ai) team - providing a high-quality workflow building engine for Coze Studio's frontend workflow canvas editor * The [Hertz](https://github.com/cloudwego/hertz) team - Go HTTP framework with high-performance and strong-extensibility for building micro-services * All users who participated in testing and feedback

AI Agents Low-Code & No-Code Dev
21K Github Stars