embedrock : OpenAI-compatible Bedrock embedding proxy for OpenClaw and Friends
embedrock is a tiny Go proxy I created (ok, my agent did) that translates OpenAI's /v1/embeddings API to Amazon Bedrock, so your existing AI tools work with Titan and Cohere models on bedrock.
This was created mainly becuase OpenClaw doesn't have native integration into bedrock for embedding and semantic search. In the Age of AI all you have to know is how to ask for the right thing in the right way, verify it makes sense and make sure the design makes sense.
Now, about the code review. I'm not a Go developer - this is my first Go project. I trusted Opus 4.6 with many of the details. I'm doing a few more passes asking Codex for input and we'll see where it goes. Functionally its fast and works great. This might be hard writing from someone who wrote a whole book about unit testing, but I\ll write thoughts about code quality and review later on.
Anyway, this tool has already been used on a daily basis by my agent and is pretty simple. Give your OpenClaw instance a prompt with a link to the github and ask it to set it up. It should just start working (assuming it has enabled IAM permissions to access bedrock)
Supported Models in embedrock
| Model | ID | Dims | Notes |
|---|---|---|---|
| Titan Embed Text V2 | amazon.titan-embed-text-v2:0 | 1024 | Default |
| Titan Embed G1 Text | amazon.titan-embed-g1-text-02 | 1536 | |
| Cohere Embed English v3 | cohere.embed-english-v3 | 1024 | |
| Cohere Embed Multilingual v3 | cohere.embed-multilingual-v3 | 1024 | |
| Cohere Embed v4 | cohere.embed-v4:0 | 1536 | Latest, best quality |
Try embedrock here.