def METHOD_NAME(agent_id: int,
                      Authorize: AuthJWT = Depends(check_auth)):
    """
    Get all resources for an agent.
    Args:
        agent_id (int): ID of the agent.
    Returns:
        List[Resource]: List of resources belonging to the agent.
    """
    resources = db.session.query(Resource).filter(Resource.agent_id == agent_id).all()
    return resources