mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-01-13 09:08:02 -05:00
<!-- Clearly explain the need for these changes: -->
gitbook branch has changes that need synced to dev
### Changes 🏗️
Pull changes from gitbook into dev
<!-- Concisely describe all of the changes made in this pull request:
-->
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> Migrates documentation to GitBook and removes the old MkDocs setup.
>
> - Removes MkDocs configuration and infra: `docs/mkdocs.yml`,
`docs/netlify.toml`, `docs/overrides/main.html`,
`docs/requirements.txt`, and JS assets (`_javascript/mathjax.js`,
`_javascript/tablesort.js`)
> - Updates `docs/content/contribute/index.md` to describe GitBook
workflow (gitbook branch, editing, previews, and `SUMMARY.md`)
> - Adds GitBook navigation file `docs/platform/SUMMARY.md` and a new
platform overview page `docs/platform/what-is-autogpt-platform.md`
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
e7e118b5a8. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Documentation**
* Updated contribution guide for new documentation platform and workflow
* Added new platform overview and navigation documentation
* **Chores**
* Removed MkDocs configuration and related dependencies
* Removed deprecated JavaScript integrations and deployment overrides
<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
3.8 KiB
3.8 KiB
Creating a Basic AI Agent with AutoGPT
Overview
This guide walks through creating a simple question-answer AI agent using AutoGPT's visual builder. This is a basic example that can be expanded into more complex agents.
Example Agent: Q&A (with AI)
A step-by-step guide to creating a simple Q&A agent using input and output blocks.
Components Required
- Input Block
- AI Text Generator Block
- Output Block
Step-by-Step Instructions
1. Set Up the Basic Structure
- Add an Input Block
- Add an AI Text Generator Block
- Add an Output Block
2. Connect the Components
- Connect the Input Block to the AI Text Generator's Prompt
- Connect the AI Text Generator's response to the Output Block's value
3. Configure Block Names
- Name the Input Block: "question"
- Name the Output Block: "answer"
4. Save the Agent
- Click the Save button
- Name your agent (e.g., "question and answer")
5. Test the Agent
- Click the Run button
- Enter a question in the input field (e.g., "How far is Earth from Pluto?")
- View the results through either:
- The "View More" option
- The "Agent Outputs" section
Viewing Results
You can access the AI's response in two ways:
- Click "View More" for detailed results
- Check the "Agent Outputs" section for the response
Example Agent: Calculator (without AI)
A step-by-step guide to creating a simple calculator agent using input and output blocks.
##Components Required
- Input Block (2 instances)
- Calculator Block
- Output Block
Setup Instructions
1. Adding Input Blocks
- Add two input blocks, positioned one below the other
- Name the first input block "a"
- Name the second input block "b"
2. Adding Calculator Block
- Add a calculator block to your workspace
- Position it after the input blocks
3. Adding Output Block
- Add an output block
- Name it "results"
4. Connecting the Blocks
- Connect the "a" input block to the "a" input on the calculator block
- Connect the "b" input block to the "b" input on the calculator block
- Connect the calculator block's result to the value input of the output block
5. Saving Your Agent
- Name your agent (e.g., "Simple Calculate Agent")
- Save the configuration
Testing Your Calculator
Running Calculations
- Enter values in both input blocks
- Select the desired operation (e.g., multiply)
- Click the "Run" button to execute the calculation
Viewing Results
There are two ways to view the calculation results:
- Click "View More" to see the detailed output
- Check the "Agent Outputs" section, which displays results from the output block
Example Calculation
- Input A: 227
- Input B: 17
- Operation: Multiply
- Expected output will be shown in the results section
Tips
- Always save your agent after making changes
- Verify all connections are properly made before running
- Use the "View More" option for detailed output information
Note
While these are basic example, you can enhance the agent with additional blocks and functionality to create more complex interactions.