Skip to content

zzlphysics/zzAgent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

基于LLM和Agent的项目

本项目旨在创建一个智能Agent,能够使用各种工具解决问题,并在缺少工具时,自主创建新工具以满足完成目标的需要。Agent具备基础功能,如调用Docker调试生产代码、使用浏览器查询信息、阅读PDF等文件,并通过网页实现富文本交互。

功能特性

  • 使用LLM进行问题理解和功能拆解
  • 任务规划和拆分
  • 调用和集成现有工具(如Docker、浏览器等)
  • 缺少工具时,自主创建新工具
  • 使用Git进行项目版本控制
  • 通过网页实现富文本交互

快速开始

环境准备

  1. 安装Docker
  2. 安装Git
  3. 安装项目依赖(见requirements.txtpackage.json

安装步骤

  1. 克隆项目仓库

    git clone https://github.com/your-username/your-project-name.git
  2. 进入项目目录

    cd your-project-name
  3. 创建环境变量文件.env,并根据.env.example进行配置

  4. 安装项目依赖

    • Python项目:pip install -r requirements.txt
    • Node.js项目:npm installyarn install
  5. 构建和运行Docker容器

    docker-compose up --build

运行项目

  1. 启动主程序
    • Python项目:python src/main.py
    • Node.js项目:node src/main.js

文件结构

your-project-name/ ├── .gitignore ├── README.md ├── LICENSE ├── requirements.txt ├── Dockerfile ├── docker-compose.yml ├── config/ ├── src/ ├── tests/ ├── scripts/ ├── static/ ├── templates/ └── docs/

贡献指南

我们欢迎任何形式的贡献,包括但不限于提出问题、提交补丁、改进文档等。请遵循以下步骤进行贡献:

  1. Fork本项目
  2. 创建你的特性分支 (git checkout -b my-new-feature)
  3. 提交你的修改 (git commit -am 'Add some feature')
  4. 推送至分支 (git push origin my-new-feature)
  5. 创建新的Pull Request

许可证

本项目使用MIT许可证

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published