Similar Items: Test-Time Compute for Dense Retrieval: Agentic Program Generation with Frozen Embedding Models