move agentId to BaragonMetadata
Merge branch 'agents_endpoint' into staging