Installation

This guide covers different ways to install and set up Attach Gateway in your environment.

Package Installation

Install the base package:

pip install attach-dev

With 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:

  1. Verify Weaviate is running: curl http://localhost:8081/v1/meta

  2. Check the WEAVIATE_URL environment variable

  3. Try with MEM_BACKEND=none for testing

Next Steps

Last updated