diff --git a/skills/research/realtime_learning.py b/skills/research/realtime_learning.py new file mode 100644 index 00000000..e5866512 --- /dev/null +++ b/skills/research/realtime_learning.py @@ -0,0 +1,22 @@ +""" +--- +title: Real-time Learning +description: Allows Timmy to learn about any topic in real-time using Google Search and persist it to his sovereign memory. +conditions: + - New information required + - Real-time events or trends + - Knowledge base expansion +--- +""" + +from agent.knowledge_ingester import KnowledgeIngester + +def learn(topic: str) -> str: + """ + Performs real-time learning on a topic and updates Timmy's memory. + + Args: + topic: The topic to learn about (e.g., 'recent advancements in quantum computing'). + """ + ingester = KnowledgeIngester() + return ingester.learn_about(topic)