Installation
This guide covers different ways to install and set up Attach Gateway in your environment.
Package Installation
From PyPI (Recommended)
Install the base package:
pip install attach-devWith Memory Backend Support
For projects requiring persistent memory storage with Weaviate:
pip install "attach-dev[memory]"For projects using Temporal workflows:
pip install "attach-dev[temporal]"For development with all optional dependencies:
pip install "attach-dev[dev,memory,temporal]"From Source
Clone and install from the repository:
git clone https://github.com/attach-dev/attach-gateway.git
cd attach-gateway
python -m venv .venv && source .venv/bin/activate
pip install -e .Configuration
Memory Backend Options
By default, Attach runs with in-memory (non-persistent) storage. To use Weaviate:
Environment Variables
Required for all setups:
Optional configuration:
Quick Start Verification
Test your installation:
Run the gateway:
Docker Setup (Optional)
For memory persistence with Weaviate:
Troubleshooting
Import Errors
If you encounter import errors, ensure you're using the correct memory backend:
Memory Backend Connection Issues
If Weaviate connection fails:
Verify Weaviate is running:
curl http://localhost:8081/v1/metaCheck the WEAVIATE_URL environment variable
Try with
MEM_BACKEND=nonefor testing
Next Steps
See Examples for usage patterns
Check Agent Hand-offs for multi-agent setups
Review Design for architecture details
Last updated