mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-02-08 22:05:08 -05:00
Implemented in-memory fallbacks for Redis, RabbitMQ, and event bus to enable running the platform in restricted environments without Docker or external services. Changes: - Added standalone_mode flag to Settings configuration - Created InMemoryRedis client with basic Redis operations - Created InMemoryEventBus for pub/sub messaging without Redis - Created InMemoryMessageBroker for queue management without RabbitMQ - Updated redis_client.py to use in-memory client when standalone mode enabled - Updated event_bus.py to use in-memory implementation when standalone mode enabled - Updated rabbitmq.py to use in-memory implementation when standalone mode enabled - Added .env.standalone template for easy standalone configuration - Added STANDALONE_MODE.md documentation This allows developers to run the platform locally without Docker, useful for: - Development and testing - CI/CD pipelines - Restricted environments - Quick demos Limitations: - No data persistence (all in memory) - Single process only (no distributed execution) - Database still required (PostgreSQL or SQLite) Usage: export STANDALONE_MODE=true # or copy .env.standalone to .env 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>