Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

add abilities registry to default agent

SwiftyOS3f8088b12d66
diff --git a/autogpts/forge/forge/sdk/agent.py b/autogpts/forge/forge/sdk/agent.py
index 59ba2c98e1..701225be0a 100644
--- a/autogpts/forge/forge/sdk/agent.py
+++ b/autogpts/forge/forge/sdk/agent.py
@@ -19,6 +19,7 @@ from .middlewares import AgentMiddleware
from .routes.agent_protocol import base_router
from .schema import *
from .workspace import Workspace
+from .abilities.registry import AbilityRegister
LOG = ForgeLogger(__name__)
@@ -27,6 +28,7 @@ class Agent:
def __init__(self, database: AgentDB, workspace: Workspace):
self.db = database
self.workspace = workspace
+ self.abilities = AbilityRegister(self)
def start(self, port: int = 8000, router: APIRouter = base_router):
"""