Skip to content

Feature: Support Amazon Bedrock embedding models for memory search #26289

@dgallitelli

Description

@dgallitelli

Summary

Add support for Amazon Bedrock embedding models as a provider for memorySearch. This would enable users running OpenClaw on AWS (via EC2, ECS, Lambda) to use native AWS embeddings without needing external API keys.

Related Issues

Available Bedrock Embedding Models

Model ID Dimensions Max Tokens Notes
amazon.titan-embed-text-v2:0 256, 512, 1024 8,192 Latest, configurable dimensions
amazon.titan-embed-text-v1 1,536 8,000 Original Titan embeddings
amazon.titan-embed-image-v1 1,024 128 Multimodal (text + image)
cohere.embed-english-v3 1,024 512 Via Bedrock marketplace
cohere.embed-multilingual-v3 1,024 512 Via Bedrock marketplace

Proposed Config

{
  "agents": {
    "defaults": {
      "memorySearch": {
        "enabled": true,
        "provider": "amazon-bedrock",
        "model": "amazon.titan-embed-text-v2:0",
        "dimensions": 1024
      }
    }
  }
}

Use Case

The sample-OpenClaw-on-AWS-with-Bedrock deployment already uses Bedrock for LLM inference. Adding Bedrock embedding support would make it a complete AWS-native solution without requiring OpenAI/Voyage API keys.

Authentication

Bedrock embeddings would use the same aws-sdk auth already configured for LLM providers, requiring no additional credentials.

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleMarked as stale due to inactivity

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions