Skip to content

A programming framework for agentic AI

Remove unused agent props (#4453)

Jack Gerrits1b58f6e7d5d7
diff --git a/python/packages/autogen-core/src/autogen_core/base/__init__.py b/python/packages/autogen-core/src/autogen_core/base/__init__.py
index 8d95083ec..24af0b307 100644
--- a/python/packages/autogen-core/src/autogen_core/base/__init__.py
+++ b/python/packages/autogen-core/src/autogen_core/base/__init__.py
@@ -6,7 +6,6 @@ from ._agent import Agent
from ._agent_id import AgentId
from ._agent_instantiation import AgentInstantiationContext
from ._agent_metadata import AgentMetadata
-from ._agent_props import AgentChildren
from ._agent_proxy import AgentProxy
from ._agent_runtime import AgentRuntime
from ._agent_type import AgentType
@@ -34,7 +33,6 @@ __all__ = [
"AgentRuntime",
"BaseAgent",
"CancellationToken",
- "AgentChildren",
"AgentInstantiationContext",
"TopicId",
"Subscription",
diff --git a/python/packages/autogen-core/src/autogen_core/base/_agent_props.py b/python/packages/autogen-core/src/autogen_core/base/_agent_props.py
deleted file mode 100644
index f2cb7f17c..000000000
--- a/python/packages/autogen-core/src/autogen_core/base/_agent_props.py
+++ /dev/null
@@ -1,11 +0,0 @@
-from typing import Protocol, Sequence, runtime_checkable
-
-from ._agent_id import AgentId
-
-
-@runtime_checkable
-class AgentChildren(Protocol):
- @property
- def children(self) -> Sequence[AgentId]:
- """Ids of the children of the agent."""
- ...