From 3aad65e6133aa716f0d03bfb3ba362c69d47d385 Mon Sep 17 00:00:00 2001 From: Braelyn Boynton Date: Fri, 8 Nov 2024 18:29:17 -0800 Subject: [PATCH] use crewai-tools --- .gitignore | 4 +++- agentstack/cli/cli.py | 4 ++-- .../tools/{dir_search_tool.py => directory_search_tool.py} | 0 agentstack/tools/code_interpreter.json | 4 ++-- agentstack/tools/{dir_search.json => directory_search.json} | 2 +- agentstack/tools/file_read.json | 2 +- agentstack/tools/tools.json | 5 ----- agentstack/tools/vision.json | 2 +- 8 files changed, 10 insertions(+), 13 deletions(-) rename agentstack/templates/crewai/tools/{dir_search_tool.py => directory_search_tool.py} (100%) rename agentstack/tools/{dir_search.json => directory_search.json} (63%) diff --git a/.gitignore b/.gitignore index ccf50fd..1e22e11 100644 --- a/.gitignore +++ b/.gitignore @@ -169,4 +169,6 @@ ex/ cookiecutter.json examples/tests/ -examples/tests/**/* \ No newline at end of file +examples/tests/**/* + +.DS_store \ No newline at end of file diff --git a/agentstack/cli/cli.py b/agentstack/cli/cli.py index 1d7d1af..7277db3 100644 --- a/agentstack/cli/cli.py +++ b/agentstack/cli/cli.py @@ -312,8 +312,8 @@ def insert_template(project_details: dict, framework_name: str, design: dict): f" cd {project_metadata.project_slug}\n" " poetry install\n" " poetry run python src/main.py\n\n" - " Add agents and tasks with\n" - " agentstack generate agent/task \n\n" + " Add agents and tasks with:\n" + " `agentstack generate agent/task `\n\n" " Run `agentstack quickstart` or `agentstack docs` for next steps.\n" ) diff --git a/agentstack/templates/crewai/tools/dir_search_tool.py b/agentstack/templates/crewai/tools/directory_search_tool.py similarity index 100% rename from agentstack/templates/crewai/tools/dir_search_tool.py rename to agentstack/templates/crewai/tools/directory_search_tool.py diff --git a/agentstack/tools/code_interpreter.json b/agentstack/tools/code_interpreter.json index 26b6f6a..31271db 100644 --- a/agentstack/tools/code_interpreter.json +++ b/agentstack/tools/code_interpreter.json @@ -1,6 +1,6 @@ { - "name": "code_interpreter_tool", - "package": "poetry add 'crewai[tools]'", + "name": "code_interpreter", + "package": "poetry add crewai-tools", "env": "", "tools": ["code_interpreter"] } \ No newline at end of file diff --git a/agentstack/tools/dir_search.json b/agentstack/tools/directory_search.json similarity index 63% rename from agentstack/tools/dir_search.json rename to agentstack/tools/directory_search.json index 408432c..5ac6648 100644 --- a/agentstack/tools/dir_search.json +++ b/agentstack/tools/directory_search.json @@ -1,6 +1,6 @@ { "name": "dir_search_tool", - "package": "poetry add 'crewai[tools]'", + "package": "poetry add crewai-tools", "env": "", "tools": ["dir_search_tool"] } \ No newline at end of file diff --git a/agentstack/tools/file_read.json b/agentstack/tools/file_read.json index c2a5a46..04be812 100644 --- a/agentstack/tools/file_read.json +++ b/agentstack/tools/file_read.json @@ -1,6 +1,6 @@ { "name": "file_read_tool", - "package": "poetry add 'crewai[tools]'", + "package": "poetry add crewai-tools", "env": "", "tools": ["file_read_tool"] } \ No newline at end of file diff --git a/agentstack/tools/tools.json b/agentstack/tools/tools.json index 6f405f0..15e6bfb 100644 --- a/agentstack/tools/tools.json +++ b/agentstack/tools/tools.json @@ -6,11 +6,6 @@ "name": "firecrawl", "url": "https://www.firecrawl.dev/" }], - "sandboxing": [ - { - "name":"e2b", - "url": "https://e2b.dev/" - }], "storage": [{ "name": "mem0", "url": "https://github.com/mem0ai/mem0" diff --git a/agentstack/tools/vision.json b/agentstack/tools/vision.json index 2ddd0b9..528dc8e 100644 --- a/agentstack/tools/vision.json +++ b/agentstack/tools/vision.json @@ -1,6 +1,6 @@ { "name": "vision", - "package": "poetry add 'crewai[tools]'", + "package": "poetry add crewai-tools", "env": "", "tools": ["vision_tool"] } \ No newline at end of file