Autonomous Research Agent: plan, execute, remember, and report with Python + LLM
Project description
Autonomous Research Agent
A modular AI pipeline that plans, executes, stores memory, and reports research—all orchestrated by main.py.
🚀 Features
- Planner: Breaks a research goal into actionable subtasks
- Executor: Uses an LLM to research each subtask
- Memory: Persists session results locally (or vector store)
- Reporter: Generates a Markdown report of findings
- Fully Tested: Unit and integration tests with pytest
📦 Installation
-
Clone the repo:
git clone https://github.com/ramonbnuezjr/autogpt-research-agent.git cd autogpt-research-agent
-
Copy and configure your environment:
cp .env.example .env # Edit `.env` to set your OpenAI API key and backend
-
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate
-
Install dependencies:
pip install -r requirements.txt
🧠 Usage
Run the agent from the CLI:
python main.py --goal "How is AI being used in smart cities?"
Note: If not using CLI flags yet, just run python main.py and input the goal interactively.
📝 Sample Report
We’ve saved the latest research report in the reports/ folder.
Example:
Browse the full folder:
✅ Testing
We use pytest for all tests.
-
Install test dependencies:
pip install pytest
-
Run all tests:
pytest
-
(Optional) Enable live API testing:
export LIVE_API=true pytest -m live
🔐 API Key Setup
This project requires access to an LLM (e.g., OpenAI). To run it, you must create a .env file using the template provided:
cp .env.example .env
Then edit .env with your personal API key:
OPENAI_API_KEY=sk-xxxxxxxxxxxxxxxxxxxx
LLM_BACKEND=openai
Never commit .env to version control.
🧪 CI & Linting
See .github/workflows/ci.yml and lint config files in the repo root for continuous integration, formatting, and type checking.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file autogpt_research_agent_ramon-0.2.3.tar.gz.
File metadata
- Download URL: autogpt_research_agent_ramon-0.2.3.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb0d546f4394e8ba4048a74c44a14dba4a7d2f5792d9edbd148a3e76dff1f8c1
|
|
| MD5 |
526a958c9c694e0cf79017fd6031b314
|
|
| BLAKE2b-256 |
c4b7aacb7712ce8dcdfb64bac015c5c1bacc6a101b29a1b7657508cc3c0efc7e
|
File details
Details for the file autogpt_research_agent_ramon-0.2.3-py3-none-any.whl.
File metadata
- Download URL: autogpt_research_agent_ramon-0.2.3-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f2a9f01987b6c3aba55c0e50c7cf94af48b29ae747cdeec82074363b672c18db
|
|
| MD5 |
31ad47f50bbe52cc9ed72cc3b28c2a16
|
|
| BLAKE2b-256 |
889357bb50929d05f4b38ce909f721bb61c3cc3b69fd6dda39e39cb157f3a2b4
|