Skip to main content
Experimental API - Context Connectors is experimental and subject to breaking changes.
Create custom storage backends to save and load DirectContext state from local filesystem, S3, or any storage system.

Local Filesystem Store

S3 Store

Built-in S3 Store: The @augmentcode/context-connectors package includes a built-in S3Store class. Use it directly:

Other Storage Examples

Redis:

Index File Layout

Each index consists of two files: The search.json file excludes the blobs array (list of indexed file paths), making it much smaller for search-only use cases. Indexers need the full state.json to determine which files have changed for incremental updates.

Next Steps