Skip to content

Commit 8be3c88

Browse files
authored
feat(backend): add default store agents for seeding test databases (#11552)
This PR adds a collection of pre-built store agents that can be loaded into test databases for development and testing purposes. ### Changes 🏗️ - Add 17 exported agent JSON files in `backend/agents/` directory - Add `StoreAgent_rows.csv` containing store listing metadata (titles, descriptions, categories, images) - Add `load_store_agents.py` script to load agents into the test database - Add `load-store-agents` Makefile target for easy execution **Included Agents:** - Flux AI Image Generator - YouTube Transcription Scraper - Decision Maker Lead Finder - Smart Meeting Prep - Automated Support Agent - Unspirational Poster Maker - AI Video Generator - Automated SEO Blog Writer - Lead Finder (Local Businesses) - LinkedIn Post Generator - YouTube to LinkedIn Post Converter - Personal Newsletter - Email Scout - Contact Finder Assistant - YouTube Video to SEO Blog Writer - AI Webpage Copy Improver - Domain Name Finder - AI Function ### Checklist 📋 #### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [x] I have tested my changes according to the test plan: - [x] Run `make load-store-agents` and verify agents are loaded into the database - [x] Verify store listings appear correctly with metadata from CSV - [x] Confirm no sensitive information (API keys, secrets) is included in the exported agents #### For configuration changes: - [x] `.env.default` is updated or already compatible with my changes - [x] `docker-compose.yml` is updated or already compatible with my changes - [x] I have included a list of my configuration changes in the PR description (under **Changes**) No configuration changes required - this only adds test data and a loading script.
1 parent e4d0dbc commit 8be3c88

21 files changed

+35767
-3
lines changed

autogpt_platform/Makefile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: start-core stop-core logs-core format lint migrate run-backend run-frontend
1+
.PHONY: start-core stop-core logs-core format lint migrate run-backend run-frontend load-store-agents
22

33
# Run just Supabase + Redis + RabbitMQ
44
start-core:
@@ -42,7 +42,10 @@ run-frontend:
4242

4343
test-data:
4444
cd backend && poetry run python test/test_data_creator.py
45-
45+
46+
load-store-agents:
47+
cd backend && poetry run load-store-agents
48+
4649
help:
4750
@echo "Usage: make <target>"
4851
@echo "Targets:"
@@ -54,4 +57,5 @@ help:
5457
@echo " migrate - Run backend database migrations"
5558
@echo " run-backend - Run the backend FastAPI server"
5659
@echo " run-frontend - Run the frontend Next.js development server"
57-
@echo " test-data - Run the test data creator"
60+
@echo " test-data - Run the test data creator"
61+
@echo " load-store-agents - Load store agents from agents/ folder into test database"

autogpt_platform/backend/agents/StoreAgent_rows.csv

Lines changed: 242 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)