← Back to list

Multi Travel Plan Crew Agents

Let’s discuss about, how we can develop agents framework which solves multiple tasks using crew framework

Nagh · 2024-07-18 11:23 · 0 claps · 2.2 min read
#agents #genai #openai #azure #llm
Open on Medium ↗
Wiki topics: LLM · Large Language Models AGT · AI Agents AI · AI · General ☁️ · DevOps & Cloud ✈️ · Travel

Multi Travel Plan Crew Agents

Let’s discuss about, how we can develop agents framework which solves multiple tasks using crew framework

Crew Framework:

CrewAI: Collaborative Intelligence with Autonomous AI Agents

CrewAI is a framework that orchestrates multiple autonomous AI agents to work together seamlessly. Imagine a crew of specialized agents — each with its own skills and tasks — collaborating like a well-coordinated team. Here are the key components of CrewAI:

  1. Agents: Think of agents as team members, each with specific skills and roles. They can be researchers, writers, customer support, or any other specialized function. Together, they contribute to achieving the crew’s overall goals.
  2. Tasks: In CrewAI, tasks are individual assignments that agents complete. These tasks encapsulate necessary information for execution, including descriptions, assigned agents, and required tools. Flexibility exists for handling various levels of action complexity.
  3. Tools: Tools in CrewAI represent skills or functions that agents use to perform actions. These tools range from simple searches to complex interactions. CrewAI integrates tools from its own toolkit as well as LangChain Tools, allowing effective teamwork among agents.
  4. Process: Processes in CrewAI orchestrate task execution by agents. Think of them as project management for AI teams. They ensure efficient distribution and execution of tasks according to predefined strategies.
  5. Crew: A crew is a collaborative group of agents working together. Each crew defines the strategy for task execution, agent collaboration, and the overall workflow. It’s like having your own AI dream team!

You can find the documentation and also best part is you can chat with documentation here crew.ai

Basic Syntax of each component:

Agents:

Agent(
    role='',       # high-level idea of the agent
    goal='',       # what is the job you want to achieve using this agent
    backstory="",  # prompt of what the agent is capable of
    verbose=,
    allow_delegation=,
    tools=[]
    )

Tasks:

Task(description="",     # details of the task
      agent=agent,
      llm=llm,           # client of your llm
      expected_output='' 
      )

Crew:

Crew(agents=[], # list of all agents
     tasks = [] # list of all tasks
     )

Problem Statement

In the fast-paced world of travel management, ensuring seamless coordination and efficient handling of tasks like room bookings, vehicle rentals, and flight/ trains arrangements is crucial. Traditionally, these tasks require significant manual effort, often leading to delays and errors. With the rise of autonomous technology, there’s a pressing need for solutions that can streamline these processes, providing accurate and timely information without human intervention.

Solution

I’ve developed autonomous agents using the Crew AI framework to tackle these challenges head-on. These agents are designed to handle multiple aspects of travel management, including:

  • Room Booking Availability: The agents check and compile lists of available rooms, ensuring travelers have up-to-date information.
  • Self-Driving Car/Bike Rentals: They provide details on available self-driving cars or bikes, making it easier for travelers to find suitable rental options.
  • Flight Details: The agents gather and present flight information, helping users to make informed travel decisions.

Checkout the source code here: github


메타데이터
post_id
63dca5fba234
slug
multi-travel-plan-crew-agents-63dca5fba234
url
https://medium.com/@17nagh/multi-travel-plan-crew-agents-63dca5fba234
canonical_url
https://medium.com/@17nagh/multi-travel-plan-crew-agents-63dca5fba234
author_url
https://medium.com/@17nagh
status
ok
fetched_at
2026-06-15 20:49:13