Skip to content

KenjiPolis/AgentGPT

ย 
ย 

Repository files navigation

๐Ÿค– Assemble, configure, and deploy autonomous AI Agents in your browser. ๐Ÿค–

Node version English ็ฎ€ไฝ“ไธญๆ–‡ Hungarian

๐Ÿ”— 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 $1000 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

๐Ÿ™Œ๐Ÿป Our Sponsers ๐Ÿ™Œ๐Ÿป


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

๐Ÿ‘จโ€๐Ÿš€ Getting Started

๐Ÿณ 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.

  1. Fork this project:
  1. Clone the repository:
git clone git@github.com:YOU_USER/AgentGPT.git
  1. Install dependencies:
cd AgentGPT
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`
NEXTAUTH_SECRET=changeme
NEXTAUTH_URL=http://localhost:3000
DATABASE_URL=file:./db.sqlite

# Your open api key
OPENAI_API_KEY=changeme
  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

๐Ÿš€ GitHub Codespaces

Set up AgentGPT in the cloud immediately by using GitHub Codespaces.

  1. From the GitHub repo, click the green "Code" button and select "Codespaces".
  2. Create a new Codespace or select a previous one you've already created.
  3. Codespaces opens in a separate tab in your browser.
  4. In terminal, run bash ./setup.sh --local
  5. When prompted in terminal, add your OpenAI API key.
  6. Click "Open in browser" when the build process completes.
  • To shut AgentGPT down, enter Ctrl+C in Terminal.
  • To restart AgentGPT, run npm run dev in Terminal.

Run the project ๐Ÿฅณ

npm run dev

๐Ÿ™Œ๐Ÿป Our Sponsers Continued ๐Ÿ™Œ๐Ÿป

About

๐Ÿค– Assemble, configure, and deploy autonomous AI Agents in your browser.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 94.5%
  • JavaScript 2.1%
  • CSS 1.4%
  • Shell 1.3%
  • Dockerfile 0.7%