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

ModelIDDimsNotes
Titan Embed Text V2amazon.titan-embed-text-v2:01024Default
Titan Embed G1 Textamazon.titan-embed-g1-text-021536
Cohere Embed English v3cohere.embed-english-v31024
Cohere Embed Multilingual v3cohere.embed-multilingual-v31024
Cohere Embed v4cohere.embed-v4:01536Latest, best quality

Try embedrock here.