π€ Assemble, configure, and deploy autonomous AI Agents in your browser. π€
π Short link β’ π€ Contribute β’ π¦ Twitter β’ π’ Discord
π Support the Advancement of AgentGPT!! π
Join us in fueling the development of AgentGPT, an open-source project pushing the boundaries of AI autonomy! We're facing challenges in covering the operational costs πΈ, including in-house API and other infrastructure expenses, which is projected to grow to around $150 USD per day π³π€ Your sponsorship would drive progress by helping us scale up resources, enhance features and functionality, and continue to iterate on this exciting project! π
By sponsoring this free, open-source project, you not only have the opportunity to have your avatar/logo featured below, but also get the exclusive chance to chat with the founders!π£οΈ
π Click here to support the project
AgentGPT allows you to configure and deploy Autonomous AI agents. Name your own custom AI and have it embark on any goal imaginable. It will attempt to reach the goal by thinking of tasks to do, executing them, and learning from the results π.
π Roadmap
This platform is currently in beta, we are currently working on:
- Long term memory via a vector DB π§
- Web browsing capabilities via langchain π
- Interaction with websites and people π¨βπ©βπ¦
- Writing capabilities via a document API π
- Saving agent runs πΎ
- Users and authentication π
- Stripe integration for a lower limit paid version (So we can stop worrying about infra costs) π΅
More Coming soon...
π Tech Stack
- β Bootstrapping: create-t3-app.
- β Framework: Nextjs 13 + Typescript.
- β Auth: Next-Auth.js
- β ORM: Prisma.
- β Database: Supabase.
- β Styling: TailwindCSS + HeadlessUI.
- β Typescript Schema Validation: Zod.
- β End-to-end typesafe API: tRPC.
π¨βπ Getting Started
π Prerequisites
Node Version >= 16.8.0
π³ Docker Setup
The easiest way to run AgentGPT locally is by using docker. A convenient setup script is provided to help you get started.
./setup.sh --docker
π· Local Development Setup
If you wish to develop AgentGPT locally, the easiest way is to use the provided setup script.
./setup.sh --local
π οΈ Manual Setup
π§ You will need Nodejs +18 (LTS recommended) installed.
- Fork this project:
- Clone the repository:
git clone git@github.com:YOU_USER/AgentGPT.git
- Install dependencies:
cd AgentGPT
npm install
- 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`
NEXTAUTH_SECRET=changeme
NEXTAUTH_URL=http://localhost:3000
DATABASE_URL=file:./db.sqlite
# Your open api key
OPENAI_API_KEY=changeme
- Modify prisma schema to use sqlite:
./prisma/use_sqlite.sh
Note: This only needs to be done if you wish to use sqlite.
- Ready π₯³, now run:
# Create database migrations
npx prisma db push
# Run the project:
npm run dev