Skip to main content

CI

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

  1. Clone the repo:

    git clone https://github.com/ramonbnuezjr/autogpt-research-agent.git
    cd autogpt-research-agent
    
  2. Copy and configure your environment:

    cp .env.example .env
    # Edit `.env` to set your OpenAI API key and backend
    
  3. Create and activate a virtual environment:

    python -m venv venv
    source venv/bin/activate
    
  4. 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.

  1. Install test dependencies:

    pip install pytest
    
  2. Run all tests:

    pytest
    
  3. (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)

Source distribution for autogpt-research-agent-ramon 0.2.3
File Size Uploaded
autogpt_research_agent_ramon-0.2.3.tar.gz 6.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for autogpt-research-agent-ramon 0.2.3
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.2.3 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page