From 0833be64b1e4475e72d5762f218b87121d6ae6bf Mon Sep 17 00:00:00 2001 From: Manya Sharma <214554783+ManyaS-Git@users.noreply.github.com> Date: Wed, 4 Mar 2026 22:17:48 +0530 Subject: [PATCH] Added AI Agent Task Automator project --- AI_Agent_Task_Automator/task_processor.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 AI_Agent_Task_Automator/task_processor.py diff --git a/AI_Agent_Task_Automator/task_processor.py b/AI_Agent_Task_Automator/task_processor.py new file mode 100644 index 00000000..7471252d --- /dev/null +++ b/AI_Agent_Task_Automator/task_processor.py @@ -0,0 +1,17 @@ +def simple_ai_agent(text): + print("\n--- AI Agent is processing your task ---") + + + summary = text[:50] + "..." if len(text) > 50 else text + + + words = text.split() + keywords = [word for word in words if len(word) > 5] + + print(f"Summary: {summary}") + print(f"Keywords found: {keywords[:3]}") + print("--- Task Completed ---\n") + +if __name__ == "__main__": + user_input = input("Enter some text for the AI Agent to analyze: ") + simple_ai_agent(user_input) \ No newline at end of file