[sam-agent] organize deps