Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
148 views

How do AI Agent workflows (langgraph) know what tools to use?

Hi I'm currently trying to start to use langgraph and it's really awesome and incredible. I'm slightly confused on a certain subject though, how does langgraph identify tools? How does it know what a ...
a_confused_student's user avatar
0 votes
0 answers
297 views

pip installs crewai-tools successfully, but package is empty and "help(crewai_tools)" shows no contents

I am setting up a new Python project on Windows and am running into a strange issue. I need to use the crewai-tools library, but my Python environment can't seem to see its contents. My Environment: ...
cat White's user avatar
1 vote
0 answers
196 views

Custom embedder and Custom knowledge source in CrewAI - getting KeyError: 'OPENAI_API_KEY'

I have setup a Custom Embedder to use with knowledge and tools, but keep getting the error: litellm.AuthenticationError: AuthenticationError: OpenAIException - The api_key client option must be set ...
lazzy_ms's user avatar
  • 1,392
0 votes
0 answers
81 views

CrewAI Deployment Issue with Permisson in AWS Lambda

Good day all, I have a fastapi application API's that connect to my CrewAI agents. It is working fine as expected in local. The CrewAI agent uses the PDFSearchTool of CrewAI. The PDFSearchTool create ...
Prifulnath's user avatar
1 vote
1 answer
120 views

I am having a urllib.error.HTTPError: HTTP Error 400: Bad Request when using the YoutubeVideoSearchTool in CrewAI for Python

I am having a urllib.error.HTTPError: HTTP Error 400: Bad Request error when using the YoutubeVideoSearchTool tool in my crew built with CrewAI for Python. I followed the documentation and this is my ...
Daniel Erazo's user avatar
0 votes
0 answers
100 views

CrewAI agent not able to initialize and giving error

I am using CrewAI to create an agent. Doing everything as mentioned in documentation. See below for the CrewBase class: @CrewBase class EnergyAssitt(): """EnergyAssitt crew"&...
Gurpreet Sachdeva's user avatar
0 votes
0 answers
117 views

How to Use prompt_file in CrewAI's Crew Definition?

I'm using CrewAI and noticed that the Crew class allows specifying a prompt_file like this: validation_crew = Crew( agents=[country_city_validator, city_code_finder], tasks=[...
Gaya3 Govindaraj's user avatar
0 votes
0 answers
193 views

How to trace llm calls in crewai with langsmith?

In the testcase below I'm making two llm calls, one via a crewai agent, one directly through langchain. I have LANGSMITH tracing configured. While both calls complete correctly, only the direct call ...
Ya.'s user avatar
  • 2,697
0 votes
0 answers
241 views

CrewAi Code Interpreter Agent to connect to my local MySQL database

I'm building a multi-agent workflow using crewAi that consists of two main parts: SQL Query Generation: I have one agent that uses custom SQL tools (based on crewAi) to generate SQL queries. For ...
Pamudu Ranasinghe's user avatar
0 votes
0 answers
48 views

How to handle multiple agents accessing the same database?

I'm doing a agentic RAG/report of some documents. Said documents are stored in a chroma database, which I handle through a manager class that was codded using singleton pattern for instantiating. I'm ...
yna ponte's user avatar
0 votes
0 answers
72 views

How to pass AzureOpenAIEmbeddings in CrewAI, I don't have api keys I use azure_ad_token?

How to pass AzureOpenAIEmbeddings, I don't have api keys I use azure_ad_token? from langchain_openai.embeddings import AzureOpenAIEmbeddings azure_embeddings = AzureOpenAIEmbeddings( ...
MAC's user avatar
  • 1,546
1 vote
0 answers
470 views

How to fix the import error of base_tool using CrewAI?

I’m trying to run my application through a gateway in an AWS Lambda. However, whenever I call the route, I get the following error: [ERROR] Runtime.ImportModuleError: Unable to import module 'app': No ...
Kevin Ramlow's user avatar
-1 votes
1 answer
316 views

How to resolve OSError: Read-only file system error in AWS Lambda when using CrewAI

I am encountering an issue when trying to run a Lambda function via API Gateway in AWS, while using CrewAI. The error I am receiving is as follows: [ERROR] OSError: [Errno 30] Read-only file system: '/...
Kevin Ramlow's user avatar
0 votes
1 answer
471 views

How to Locate the Memory Directory in CrewAI and Use a Custom Directory?

In CrewAI, when using memory=True for agents, where is the memory data stored by default? Is it possible to specify a custom directory for storing agent memory?
Hadiuzzaman's user avatar
1 vote
0 answers
150 views

Trying to use custom embeddings in WebsiteSearchTool of CrewAI but keep getting KeyError: 'OPENAI_API_KEY'

I want to use custom embedding (from huggingface) in the default tools provided by crewai(for eg WebsiteSearchTool) instead of the default openAi embedding. I have tried the below code from crewai ...
Yash Dwivedi's user avatar

15 30 50 per page