mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-01-07 22:33:57 -05:00
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.
61 lines
1.8 KiB
Makefile
61 lines
1.8 KiB
Makefile
.PHONY: start-core stop-core logs-core format lint migrate run-backend run-frontend load-store-agents
|
|
|
|
# Run just Supabase + Redis + RabbitMQ
|
|
start-core:
|
|
docker compose up -d deps
|
|
|
|
# Stop core services
|
|
stop-core:
|
|
docker compose stop deps
|
|
|
|
reset-db:
|
|
rm -rf db/docker/volumes/db/data
|
|
cd backend && poetry run prisma migrate deploy
|
|
cd backend && poetry run prisma generate
|
|
|
|
# View logs for core services
|
|
logs-core:
|
|
docker compose logs -f deps
|
|
|
|
# Run formatting and linting for backend and frontend
|
|
format:
|
|
cd backend && poetry run format
|
|
cd frontend && pnpm format
|
|
cd frontend && pnpm lint
|
|
|
|
init-env:
|
|
cp -n .env.default .env || true
|
|
cd backend && cp -n .env.default .env || true
|
|
cd frontend && cp -n .env.default .env || true
|
|
|
|
|
|
# Run migrations for backend
|
|
migrate:
|
|
cd backend && poetry run prisma migrate deploy
|
|
cd backend && poetry run prisma generate
|
|
|
|
run-backend:
|
|
cd backend && poetry run app
|
|
|
|
run-frontend:
|
|
cd frontend && pnpm dev
|
|
|
|
test-data:
|
|
cd backend && poetry run python test/test_data_creator.py
|
|
|
|
load-store-agents:
|
|
cd backend && poetry run load-store-agents
|
|
|
|
help:
|
|
@echo "Usage: make <target>"
|
|
@echo "Targets:"
|
|
@echo " start-core - Start just the core services (Supabase, Redis, RabbitMQ) in background"
|
|
@echo " stop-core - Stop the core services"
|
|
@echo " reset-db - Reset the database by deleting the volume"
|
|
@echo " logs-core - Tail the logs for core services"
|
|
@echo " format - Format & lint backend (Python) and frontend (TypeScript) code"
|
|
@echo " migrate - Run backend database migrations"
|
|
@echo " run-backend - Run the backend FastAPI server"
|
|
@echo " run-frontend - Run the frontend Next.js development server"
|
|
@echo " test-data - Run the test data creator"
|
|
@echo " load-store-agents - Load store agents from agents/ folder into test database"
|