feat: add Real-time Learning skill
Some checks failed
Tests / test (pull_request) Failing after 12m7s
Supply Chain Audit / Scan PR for supply chain risks (pull_request) Failing after 24s
Docker Build and Publish / build-and-push (pull_request) Failing after 34s

This commit is contained in:
2026-03-30 22:19:28 +00:00
parent d1defbe06a
commit f1b409cba4

View File

@@ -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)