agentleFS
wiseaidotdevwiseaidotdev/autogpt/AGENTS.md

autogpt

AGENTS.md116 starsChanged 7 months agoMITView on GitHub

ManagerGPT serves as the orchestrator of your project, directing the other agents to execute tasks based on your input. When you provide a project prompt, ManagerGPT divides it into tasks for BackendGPT, FrontendGPT, DesignerGPT, and ArchitectGPT. Let's say you want to develop a full-stack app that fetches today's weather in Python using FastAPI. ManagerGPT simplifies this process by breaking it down into specific tasks for each specialized agent: ManagerGPT articulates the project goal and communicates it to the ArchitectGPT through…

  • Reads credentials
  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

The file

We split this AGENTS.md into the rules it gives an agent

5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When tasked by ManagerGPT, DesignerGPT will:

    line 72
  2. Distinctive:

    Create mockups and wireframes of the application's interface using imgget AI api, ensuring a user-friendly and intuitive design.

    line 74
  3. Distinctive:

    Ensure data security and integrity, implementing authentication and authorization mechanisms as needed.

    line 94
  4. Distinctive:

    When prompted by ManagerGPT, FrontendGPT will:

    line 106
  5. Distinctive:

    When activated by ManagerGPT, OptimizerGPT will:

    line 167

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

1. 🎩 ManagerGPT

<img src="https://github.com/wiseaidotdev/autogpt/assets/62179149/fc7fb72b-6f45-4c35-99ff-5c0f8e7d54cf" align="left" alt="manager" width="64" />

ManagerGPT serves as the orchestrator of your project, directing the other agents to execute tasks based on your input. When you provide a project prompt, ManagerGPT divides it into tasks for BackendGPT, FrontendGPT, DesignerGPT, and ArchitectGPT.

How ManagerGPT Works?

<video src="https://github.com/user-attachments/assets/9c883a85-c82d-4ad3-9cc3-3c9ad551e504"></video>

Let's say you want to develop a full-stack app that fetches today's weather in Python using FastAPI. ManagerGPT simplifies this process by breaking it down into specific tasks for each specialized agent:

  • ArchitectGPT: ManagerGPT instructs ArchitectGPT to design the application's structure, encompassing both backend and frontend components, utilizing Python and FastAPI:
[*] "ManagerGPT": Executing task: "Develop a full stack app that fetches today's weather in python using FastAPI."

ManagerGPT articulates the project goal and communicates it to the ArchitectGPT through Gemini API, which then generates specific steps for architecting the application:

[*] "ArchitectGPT": Executing tasks: Task { description: "- Design the user interface for the weather app, including input fields for location and a display area for weather details.\n- Implement a function to fetch current weather data from a weather API in Python.\n- Create a FastAPI endpoint that calls the weather fetching function and returns the weather data in JSON format.\n- Integrate the FastAPI endpoint with the front end to display the fetched weather data on the user interface.\n- Handle error scenarios and provide appropriate user feedback.", scope: None, urls: None, frontend_code: None, backend_code: None, api_schema: None }
  • DesignerGPT: ManagerGPT guides DesignerGPT in crafting a user-friendly interface tailored for presenting the weather forecast.
[*] "DesignerGPT": Executing tasks: Task { description: "- Utilize FastAPI in Python to develop a user interface for the weather app, integrating a location input field and display section for weather data.\n- Step 1: Define the layout and structure of the user interface, ensuring it's user-friendly and visually appealing.\n- Step 2: Implement the location search functionality, enabling users to input their desired location and retrieve relevant weather information.", scope: None, urls: None, frontend_code: None, backend_code: None, api_schema: None }
  • BackendGPT: ManagerGPT assigns BackendGPT to implement the backend logic using FastAPI, responsible for fetching weather data from external sources.
[*] "BackendGPT": Executing tasks: Task { description: "- Using FastAPI in Python, create a backend for a weather application featuring a user interface with a location input field and weather data display section.\n- Step 1: Design and develop the user interface, ensuring it's user-friendly and visually appealing.\n- Step 2: Implement the location search functionality, enabling users to input their desired location and retrieve relevant weather information.", scope: None, urls: None, frontend_code: None, backend_code: None, api_schema: None }
  • FrontendGPT: ManagerGPT directs FrontendGPT to develop the frontend interface, enabling users to interact with and visualize the weather data.
[*] "FrontendGPT": Executing tasks: Task { description: "- Using FastAPI in Python, create a user interface for a weather application.\n- Step 1: Create a user-friendly layout for displaying weather information.\n- Step 2: Implement FastAPI endpoints to fetch and display weather data.", scope: None, urls: None, frontend_code: None, backend_code: None, api_schema: None }

Finally, ManagerGPT aggregates the outcomes from all GPTs, consolidating the generated tasks into a coherent project plan. Here's the summary of the completed tasks:

[*] "ManagerGPT": Completed Task: Task { description: "- Utilizing FastAPI and Python, develop a user-friendly UI for displaying weather data.\n- Step 1: Use HTML, CSS, and JavaScript to design and develop web pages that showcase weather data effectively.\n- Step 2: Define routes in FastAPI for weather data retrieval and display, ensuring seamless integration between frontend and backend.", scope: None, urls: None, frontend_code: Some("from fastapi import FastAPI, Request\nfrom fastapi.responses import JSONResponse\nimport requests\n\napp = FastAPI()\n\n@app.get(\"/weather/{city_name}\")\nasync def get_weather(city_name: str, request: Request):\n    url = f\"http://api.openweathermap.org/data/2.5/weather?q={city_name}&appid=YOUR_API_KEY\"\n    response = requests.get(url)\n    if response.status_code == 200:\n        data = response.json()\n        return JSONResponse(content={\n            \"city_name\": data[\"name\"],\n            \"temperature\": data[\"main\"][\"temp\"] - 273.15,\n            \"humidity\": data[\"main\"][\"humidity\"],\n            \"wind_speed\": data[\"wind\"][\"speed\"]\n        })\n    else:\n        return JSONResponse(content={\"error\": \"Could not fetch weather data\"}, status_code=response.status_code)"), backend_code:  Some("from fastapi import FastAPI, Request, Form\nfrom fastapi.templating import Jinja2Templates\nfrom fastapi.responses import HTMLResponse\nimport requests\n\napp = FastAPI()\ntemplates = Jinja2Templates(directory=\"templates\")\n\n@app.get(\"/\", response_class=HTMLResponse)\nasync def index(request: Request):\n    return templates.TemplateResponse(\"index.html\", {\"request\": request})\n\n@app.post(\"/weather\", response_class=HTMLResponse)\nasync def weather(request: Request, city: str = Form(...)):\n    url = f\"https://api.openweathermap.org/data/2.5/weather?q={city}&appid=YOUR_API_KEY\"\n    response = requests.get(url)\n    data = response.json()\n    return templates.TemplateResponse(\"weather.html\", {\"request\": request, \"data\": data})"), api_schema: None }

2. 👷‍♀️ ArchitectGPT

<img src="https://github.com/wiseaidotdev/autogpt/assets/62179149/91a4868a-093f-4c96-89fc-5447e6f904f1" align="left" alt="architect" width="64" />

ArchitectGPT is responsible for designing the overall structure and architecture of your application. ArchitectGPT will create the foundation upon which your app will be built.

How ArchitectGPT Works

Upon receiving instructions from ManagerGPT, ArchitectGPT will:

  • Determine the technologies and frameworks needed to realize the project goals and arcitecture of the project using the diagrams library.
  • Design the data flow and communication between backend and frontend components to ensure seamless operation.

Image: weather_forecast_website_diagram

3. 🎨 DesignerGPT (Optional) Feature Flag: img

<img src="https://github.com/wiseaidotdev/autogpt/assets/62179149/8f7ec0bd-392c-4263-a700-b3012d395479" align="left" alt="designer" width="64" />

DesignerGPT transforms ideas into visually stunning designs. Whether it's crafting sleek user interfaces or designing captivating user experiences, DesignerGPT brings your project to life with style.

How DesignerGPT Works

When tasked by ManagerGPT, DesignerGPT will:

  • Create mockups and wireframes of the application's interface using imgget AI api, ensuring a user-friendly and intuitive design.
  • Select colors, fonts, and layouts that align with your project's branding and aesthetic.
  • TODO: Collaborate with other agents to integrate design elements seamlessly into the final product.

Image: DesignerGPT sample output

4. ⚙️ BackendGPT

<img src="https://github.com/wiseaidotdev/autogpt/assets/62179149/74819200-83d5-498a-9a43-658096145611" align="left" alt="backend" width="64" />

BackendGPT handles all things related to server-side logic and data processing. From database management to API integration, BackendGPT ensures that your application's backend is robust and efficient.

How BackendGPT Works

<video src="https://github.com/user-attachments/assets/b5104499-7971-4f58-8ff2-e0a882d852ba"></video>

Upon receiving instructions from ManagerGPT, BackendGPT will:

  • Develop the backend using FastAPI, implementing endpoints for retrieving weather data and handling user requests.
  • Integrate external APIs or services to fetch real-time weather information.
  • Ensure data security and integrity, implementing authentication and authorization mechanisms as needed.

Image: BackendGPT code

5. 🖥️ FrontendGPT

<img src="https://github.com/wiseaidotdev/autogpt/assets/62179149/684da3ce-f36c-4e2e-a315-0a834ba39539" align="left" alt="frontend" width="64" />

FrontendGPT will craft engaging and interactive experiences for your application's users. With a keen eye for design and a knack for coding, FrontendGPT brings your designs to life in the browser.

How FrontendGPT Works

When prompted by ManagerGPT, FrontendGPT will:

  • Develop the frontend interface using modern web technologies such as HTML, CSS, and JavaScript, complementing the backend's functionality.
  • Implement responsive design principles to ensure a seamless experience across devices and screen sizes.
  • TODO: Collaborate with DesignerGPT to translate design mockups into code, bringing the application's visual identity to fruition.

6. 💌 MailerGPT (Optional) Feature Flag: mail

<img src="https://github.com/wiseaidotdev/autogpt/assets/62179149/fedaf721-20b4-43e6-bdb9-ef3f87430ec3" align="left" alt="mailer" width="64" />

MailerGPT streamlines your communication processes by automating the creation and distribution of emails.

How MailerGPT Works

MailerGPT operates by:

  • Reading your emails and extracting relevant information based on the user input.
  • Generating and sending personalized email content tailored to specific recipients or target audiences.

7. 📝 GitGPT

<img src="https://github.com/wiseaidotdev/autogpt/assets/62179149/91a4868a-093f-4c96-89fc-5447e6f904f1" align="left" alt="gitgpt" width="64" />

GitGPT is responsible for managing version control tasks inside your workspace. It stages and commits files automatically based on task descriptions, turning completed agents actions into traceable, atomic Git commits.

How GitGPT Works

<video src="https://github.com/user-attachments/assets/886b846b-b302-4773-be19-77ed75a29fa1"></video>

Upon receiving a task from ManagerGPT, GitGPT will:

  • Monitor the agent's status to determine if changes are ready to be committed.
  • Automatically stage all files in the workspace directory.
  • Generate a Git commit using the task description as the message and the agent's position as the author signature.
  • Log and report commit actions with color-coded console output for visibility.

This makes GitGPT perfect for keeping a clean Git history without manual intervention; Ideal for autonomous or quasi-autonomous workflows.

Example Commit Message

commit cc448377fae752ba28847c873751ba1170d19fc0 (HEAD -> master) Author: GitGPT gitgpt@wiseai.dev Date: Mon Apr 7 00:25:59 2025 +0300

User Request: Project Goal: "Develop a patient management system encompassing appointment scheduling, patient records, and billing features.", Agent Role: "frontend", programming language: "Python", framework: "FastAPI"
Output:
- Implementing FastAPI, construct a frontend in Python for a patient management system encompassing appointment scheduling, patient records, and billing features.
- Step 1: Develop the user interface components for appointment scheduling and display.
- Step 2: Build the UI for managing and displaying patient records.
- Step 3: Create the billing interface for generating and displaying invoices.

8. 🧠 OptimizerGPT

<img src="https://github.com/wiseaidotdev/autogpt/assets/62179149/91a4868a-093f-4c96-89fc-5447e6f904f1" align="left" alt="optimizer" width="64" />

OptimizerGPT takes messy or monolithic frontend and backend code files and intelligently restructures them into clean, modular components. It improves maintainability, readability, and performance by automatically applying best practices in code organization.

How OptimizerGPT Works

<video src="https://github.com/user-attachments/assets/ea89c023-3de2-4281-af98-0add943322a6"></video>

When activated by ManagerGPT, OptimizerGPT will:

  • Analyze a single source code file (frontend or backend) and identify logical separations of concern.
  • Break the file into well-organized modules (e.g., components, services, utilities, routes).
  • Apply standard conventions and folder structures depending on the tech stack (React, FastAPI, etc.).
  • Refactor duplicated or redundant code into reusable functions or components.

With Autogpt's team of specialized agents working together, your project is in capable hands. All agents support the Model Context Protocol (MCP), allowing you to extend their capabilities with thousands of external tools. Simply provide a simple project goal, and let Autogpt handle the rest!


Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.