first commit

This commit is contained in:
2026-04-07 16:05:05 +08:00
commit 9d9bdbb1ce
136 changed files with 5103 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
from .engine import AgentEngine
from .react import ReActAgent
from .plan_execute import PlanAndExecuteAgent
__all__ = ["AgentEngine", "ReActAgent", "PlanAndExecuteAgent"]
+6
View File
@@ -0,0 +1,6 @@
class AgentEngine:
def __init__(self, config):
self.config = config
def run(self, prompt, tools=None):
raise NotImplementedError
+6
View File
@@ -0,0 +1,6 @@
from .engine import AgentEngine
class PlanAndExecuteAgent(AgentEngine):
def run(self, prompt, tools=None):
pass
+6
View File
@@ -0,0 +1,6 @@
from .engine import AgentEngine
class ReActAgent(AgentEngine):
def run(self, prompt, tools=None):
pass