Files
AutoGPT/autogpt_platform/backend
Claude 938dff9b99 feat(platform): Add standalone mode for running without external dependencies
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>
2025-10-21 21:15:29 +00:00
..