social-agent / agent /state.py
google-labs-jules[bot]
feat: implement AutoStream conversational AI sales agent with LangGraph
0643073
raw
history blame contribute delete
432 Bytes
from typing import TypedDict, List, Optional, Dict, Any
class AgentState(TypedDict):
"""
Shared state object used by the agent graph.
"""
conversation_history: List[Dict[str, str]]
current_message: str
detected_intent: Optional[str]
retrieved_documents: List[str]
user_name: Optional[str]
user_email: Optional[str]
creator_platform: Optional[str]
lead_ready: bool
response: str