Skip to content

programmersoham/AutoGPT-Next-Web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoGPT-Next-Web

English / 简体中文 / 日本語

One-Click to deploy well-designed AutoGPT-Next-Web web UI on Vercel.

一键免费部署你的私人 AutoGPT-Next-Web 网页应用。

Demo / Issues / Join Discord / Buy Me a Coffee

演示 / 反馈 / QQ频道 / 微信 / 打赏开发者

Deploy with Vercel

cover

Discuss with us

cover

Features

  1. Free one-click deployment with Vercel in 1 minute
  2. Improved local support: After typing in Chinese, the content will be displayed in Chinese instead of English
  3. UI designed to match AgentGPT, responsive design, and support for dark mode
  4. Have your own domain? Even better, after binding, you can quickly access it anywhere without barriers
  5. Support access code control, only you or trusted individuals can use the website

Roadmap

  • 1. Add support for Docker and Docker Compose
  • 2. Add support for Endpoint URL
  • 3. Add support for Azure OpenAI API
  • 4. Optimize the display of running results for easier viewing
  • 5. Add support for WeChat login

Business Version

During the period of maintaining open source projects, many friends came to consult about customizing the system. Considering that there may be more friends who have similar needs, we decided to start the internal test plan of the commercial version~

  • plan support - User login system, billing system, charging system, etc., so that everyone can directly deploy a charged version of AutoGPT, and can directly obtain income
  • way of participation - To pre-order the commercial version and view the details of the commercial version plan, please click the link below AutoGPT-Next-Web Business Vision

Get Started

Click me to view the detailed tutorial

  1. Prepare the OpenAI API Key;
  2. Click the deploy button and follow the prompts
  3. We support access control capabilities, see the tutorial above for a detailed tutorial

FAQ

Q: What is the difference between this project and AgentGPT?

A: The project originated from AgentGPT. Our goal is to continuously provide user-friendly features, interfaces, and various deployment solutions for domestic users, helping everyone to easily build their own "AutoGPT" website. And the i18n ability and Vercel deployment ability in the AgentGPT project also come from our contributions.

Docker Deployment

Docker Local Setup

The easiest way to run AutoGPT-Next-Web locally is by using docker.

 docker-compose -f docker-compose.dev.yml up -d --remove-orphans

Docker-Image

Using docker-image

docker-compose  -f docker-compose.prod.yml up -d --remove-orphans

Local Development Setup

If you wish to develop AutoGPT-Next-Web locally, the easiest way is to use the provided setup script.

./setup.sh

Manual Setup

You will need Nodejs +18 (LTS recommended) installed.

  1. Fork this project:
  1. Clone the repository:
git clone [email protected]:YOU_USER/AutoGPT-Next-Web.git
  1. Install dependencies:
cd AutoGPT-Next-Web
npm install
  1. Create a .env file with the following content:

The environment variables must match the following schema.

# Deployment Environment:
NODE_ENV=development

# Next Auth config:
# Generate a secret with `openssl rand -base64 32` or visit https://generate-secret.vercel.app/
NEXTAUTH_SECRET=''
NEXTAUTH_URL=http://localhost:3000
DATABASE_URL=file:./db.sqlite
NEXT_PUBLIC_WEB_SEARCH_ENABLED='' #true or false
SERP_API_KEY=''
# Your open api key
OPENAI_API_KEY=''
  1. Modify prisma schema to use sqlite:
./prisma/useSqlite.sh

Note: This only needs to be done if you wish to use sqlite.

  1. Ready, now run:
# Create database migrations
npx prisma db push
npm run dev