Files
brojs-task-699cc158d6d3a554…/agent.py
T
2026-05-27 08:36:36 +00:00

17 lines
417 B
Python

import asyncio
from langchain_core.messages import AIMessage, HumanMessage
from langgraph.graph import StateGraph
from langgraph.checkpoint.memory import MemorySaver
# Simple state with messages list
class AgentState:
def __init__(self):
self.messages = []
async def main():
# Placeholder for stream logic
print("Stream AI agent placeholder")
if __name__ == "__main__":
asyncio.run(main())