From 352095e62c801629a3fded171e3bb00e0b5828ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=B4=D0=B5=D0=BB=D0=B8=D0=BD=D0=B0=20=D0=A1=D0=B0?= =?UTF-8?q?=D1=82=D1=82=D0=B0=D1=80=D0=BE=D0=B2=D0=B0?= Date: Mon, 1 Jun 2026 16:48:50 +0000 Subject: [PATCH] add main --- main.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 main.py diff --git a/main.py b/main.py new file mode 100644 index 0000000..a3c2f38 --- /dev/null +++ b/main.py @@ -0,0 +1,14 @@ +from agent import agent +import os + +def main(): + print("RAG Agent ready. Type 'exit' to quit.") + while True: + q = input("You: ") + if q.lower() in {"exit", "quit"}: + break + resp = agent.run(q) + print(f"Agent: {resp}") + +if __name__ == "__main__": + main()