.Python: Added Agent and AgentThread abstractions (#130)

* Added Agent and AgentThread classes

* Addressed PR feedback

* Converted Agent to protocol

* Removed thread deletion logic

* Small update

* Small updates to the Agent protocol
This commit is contained in:
Dmytro Struk
2025-07-07 10:47:14 -07:00
committed by GitHub
Unverified
parent 09309c1239
commit 35c938fb5b
5 changed files with 262 additions and 0 deletions
+2
View File
@@ -10,6 +10,8 @@ except importlib.metadata.PackageNotFoundError:
_IMPORTS = {
"get_logger": "._logging",
"Agent": "._agents",
"AgentThread": "._agents",
"AITool": "._tools",
"ai_function": "._tools",
"AIContent": "._types",