A Survey on Code Generation with LLM-based Agents | Synapse