# AgentGPT

> Assemble, configure, and deploy autonomous AI agents in your browser

- Category: Agents & Automation / Agent Frameworks & Builders
- Language: TypeScript
- Licence: GPL-3.0
- Repository: https://github.com/reworkd/AgentGPT
- Website: https://agentgpt.reworkd.ai
- Canonical page: https://ai-tldr.dev/tools/agentgpt/

## In short

AgentGPT is an open-source project from Reworkd that lets you build and run autonomous AI agents straight from your web browser. It sits in the Agent Frameworks & Builders category of the Agents & Automation tools and is open-source, written in TypeScript and licensed GPL-3.0. To get started: clone the repository.

## Overview

AgentGPT is an open-source project from Reworkd that lets you build and run autonomous AI agents straight from your web browser. You give an agent a name and a goal, and it tries to reach that goal on its own by coming up with tasks, running them, and learning from what it finds.

Under the hood it pairs a Next.js frontend with a FastAPI backend and a MySQL database, and uses LangChain to drive the language model. You can try the hosted version at agentgpt.reworkd.ai, or clone the repository and run the full stack locally with the bundled setup script.

## What it does

- Create custom autonomous agents by giving each one a name and a goal
- Agents break a goal into tasks, execute them, and learn from the results in a loop
- Runs entirely in the browser through a Next.js web interface
- FastAPI backend with LangChain for the agent reasoning and tooling
- Optional Serper API key for web search and Replicate token for extra model access
- Self-hostable full stack (frontend, backend, MySQL) set up by an automatic CLI

## Getting started

The easiest way to run AgentGPT locally is the automatic setup CLI bundled with the project. You will need Node.js, Git, Docker, and an OpenAI API key installed first. Serper and Replicate keys are optional.

1. Clone the repository

   Open a terminal and clone the AgentGPT repository, then move into the project directory.

```bash
git clone https://github.com/reworkd/AgentGPT.git
cd AgentGPT
```

2. Run the setup script

   Run the bundled setup script for your operating system. It configures the environment variables, database, backend, and frontend for you.

```bash
# Mac/Linux
./setup.sh

# Windows
./setup.bat
```

3. Add your keys and open the app

   Follow the prompts from the setup script to add the appropriate API keys. Once all services are running, open http://localhost:3000 in your browser to start creating agents.

## When to use it

- Spin up an autonomous agent that researches a topic and reports back its findings
- Prototype goal-driven AI workflows without writing a full agent loop from scratch
- Self-host a private agent platform for your team using the included Docker setup
- Experiment with how an LLM plans, executes, and refines tasks toward a single goal
