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.
Metadata
Release files for autogpt-research-agent-ramon 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| autogpt_research_agent_ramon-0.2.3.tar.gz | 6.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| autogpt_research_agent_ramon-0.2.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.9 kB
Release files / autogpt_research_agent_ramon-0.2.3.tar.gz
| Download URL | autogpt_research_agent_ramon-0.2.3.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fb0d546f4394e8ba4048a74c44a14dba4a7d2f5792d9edbd148a3e76dff1f8c1
|
|
BLAKE2b-256 checksum How to use checksums |
c4b7aacb7712ce8dcdfb64bac015c5c1bacc6a101b29a1b7657508cc3c0efc7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|
Release files / autogpt_research_agent_ramon-0.2.3-py3-none-any.whl
| Download URL | autogpt_research_agent_ramon-0.2.3-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f2a9f01987b6c3aba55c0e50c7cf94af48b29ae747cdeec82074363b672c18db
|
|
BLAKE2b-256 checksum How to use checksums |
889357bb50929d05f4b38ce909f721bb61c3cc3b69fd6dda39e39cb157f3a2b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|