feat(agent): Make agent ttl configurable
refactor(agent): Change default AgentTTL to 30s
chore(agent): gofmt