def software_engineer(task: str) -> str:
    """Creates, modifies, and deletes code, manages files, runs shell commands, and collaborates with other agents."""
    return graph.invoke(
        {"messages": [SystemMessage(system_prompt), HumanMessage(task)]}
    )
Creates, modifies, and deletes code, manages files, runs shell commands, and collaborates with other agents.
agents/software_engineer.py