The tentative agreement includes improvements in wages and guardrails around artificial intelligence.