agno 2.3.24__py3-none-any.whl → 2.3.25__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- agno/agent/agent.py +297 -11
- agno/db/base.py +214 -0
- agno/db/dynamo/dynamo.py +47 -0
- agno/db/firestore/firestore.py +47 -0
- agno/db/gcs_json/gcs_json_db.py +47 -0
- agno/db/in_memory/in_memory_db.py +47 -0
- agno/db/json/json_db.py +47 -0
- agno/db/mongo/async_mongo.py +229 -0
- agno/db/mongo/mongo.py +47 -0
- agno/db/mongo/schemas.py +16 -0
- agno/db/mysql/async_mysql.py +47 -0
- agno/db/mysql/mysql.py +47 -0
- agno/db/postgres/async_postgres.py +231 -0
- agno/db/postgres/postgres.py +239 -0
- agno/db/postgres/schemas.py +19 -0
- agno/db/redis/redis.py +47 -0
- agno/db/singlestore/singlestore.py +47 -0
- agno/db/sqlite/async_sqlite.py +242 -0
- agno/db/sqlite/schemas.py +18 -0
- agno/db/sqlite/sqlite.py +239 -0
- agno/db/surrealdb/surrealdb.py +47 -0
- agno/knowledge/chunking/code.py +90 -0
- agno/knowledge/chunking/document.py +62 -2
- agno/knowledge/chunking/strategy.py +14 -0
- agno/knowledge/knowledge.py +7 -1
- agno/knowledge/reader/arxiv_reader.py +1 -0
- agno/knowledge/reader/csv_reader.py +1 -0
- agno/knowledge/reader/docx_reader.py +1 -0
- agno/knowledge/reader/firecrawl_reader.py +1 -0
- agno/knowledge/reader/json_reader.py +1 -0
- agno/knowledge/reader/markdown_reader.py +1 -0
- agno/knowledge/reader/pdf_reader.py +1 -0
- agno/knowledge/reader/pptx_reader.py +1 -0
- agno/knowledge/reader/s3_reader.py +1 -0
- agno/knowledge/reader/tavily_reader.py +1 -0
- agno/knowledge/reader/text_reader.py +1 -0
- agno/knowledge/reader/web_search_reader.py +1 -0
- agno/knowledge/reader/website_reader.py +1 -0
- agno/knowledge/reader/wikipedia_reader.py +1 -0
- agno/knowledge/reader/youtube_reader.py +1 -0
- agno/knowledge/utils.py +1 -0
- agno/learn/__init__.py +65 -0
- agno/learn/config.py +463 -0
- agno/learn/curate.py +185 -0
- agno/learn/machine.py +690 -0
- agno/learn/schemas.py +1043 -0
- agno/learn/stores/__init__.py +35 -0
- agno/learn/stores/entity_memory.py +3275 -0
- agno/learn/stores/learned_knowledge.py +1583 -0
- agno/learn/stores/protocol.py +117 -0
- agno/learn/stores/session_context.py +1217 -0
- agno/learn/stores/user_memory.py +1495 -0
- agno/learn/stores/user_profile.py +1220 -0
- agno/learn/utils.py +209 -0
- agno/models/base.py +59 -0
- agno/os/routers/knowledge/knowledge.py +7 -0
- agno/tools/browserbase.py +78 -6
- agno/tools/google_bigquery.py +11 -2
- agno/utils/agent.py +30 -1
- {agno-2.3.24.dist-info → agno-2.3.25.dist-info}/METADATA +24 -2
- {agno-2.3.24.dist-info → agno-2.3.25.dist-info}/RECORD +64 -50
- {agno-2.3.24.dist-info → agno-2.3.25.dist-info}/WHEEL +0 -0
- {agno-2.3.24.dist-info → agno-2.3.25.dist-info}/licenses/LICENSE +0 -0
- {agno-2.3.24.dist-info → agno-2.3.25.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Learning Stores
|
|
3
|
+
===============
|
|
4
|
+
Storage backends for each learning type.
|
|
5
|
+
|
|
6
|
+
Each store implements the LearningStore protocol and handles:
|
|
7
|
+
- Recall: Retrieving relevant data
|
|
8
|
+
- Process: Extracting and saving learnings
|
|
9
|
+
- Context: Building agent context strings
|
|
10
|
+
- Tools: Providing agent tools
|
|
11
|
+
|
|
12
|
+
Available Stores:
|
|
13
|
+
- UserProfileStore: Long-term user profile fields
|
|
14
|
+
- UserMemoryStore: Long-term user memories (unstructured)
|
|
15
|
+
- SessionContextStore: Current session state
|
|
16
|
+
- LearnedKnowledgeStore: Reusable knowledge/insights
|
|
17
|
+
- EntityMemoryStore: Third-party entity facts
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
from agno.learn.stores.entity_memory import EntityMemoryStore
|
|
21
|
+
from agno.learn.stores.learned_knowledge import LearnedKnowledgeStore
|
|
22
|
+
from agno.learn.stores.protocol import LearningStore
|
|
23
|
+
from agno.learn.stores.session_context import SessionContextStore
|
|
24
|
+
from agno.learn.stores.user_memory import MemoriesStore, UserMemoryStore
|
|
25
|
+
from agno.learn.stores.user_profile import UserProfileStore
|
|
26
|
+
|
|
27
|
+
__all__ = [
|
|
28
|
+
"LearningStore",
|
|
29
|
+
"UserProfileStore",
|
|
30
|
+
"UserMemoryStore",
|
|
31
|
+
"MemoriesStore", # Backwards compatibility alias
|
|
32
|
+
"SessionContextStore",
|
|
33
|
+
"LearnedKnowledgeStore",
|
|
34
|
+
"EntityMemoryStore",
|
|
35
|
+
]
|