feat: agent files

This commit is contained in:
2026-03-19 21:40:26 -05:00
parent f35d28cca6
commit 10aa90bcc8
15 changed files with 2295 additions and 0 deletions

13
main.py Normal file
View File

@@ -0,0 +1,13 @@
from core.agent.agent import create_agent_graph
from langchain_core.messages import HumanMessage, AIMessage
def main():
print("Hello from oss-agent!")
graph = create_agent_graph()
graph.invoke({"messages": []})
# Invoke the graph with a test message
output = graph.invoke({"messages": [HumanMessage(content="hi!")]})
print("Agent response:", output)
if __name__ == "__main__":
main()