> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dedaluslabs.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Concert Planner

> Find concerts and venue information

Finding concert tickets involves checking dates, venues, seating options, and accessibility. An agent with web search can consolidate this across multiple sources.

<CodeGroup>
  ```python Python theme={"theme":{"light":"github-light","dark":"github-dark"}}
  import asyncio
  from dedalus_labs import AsyncDedalus, DedalusRunner
  from dotenv import load_dotenv

  load_dotenv()

  async def main():
      client = AsyncDedalus()
      runner = DedalusRunner(client)

      result = await runner.run(
          input="""I want to see Taylor Swift in New York City.

          Help me find:
          1. Upcoming concert dates
          2. Venue details
          3. Ticket price ranges
          4. Accessibility information
          5. Best seating options for the budget""",
          model="openai/gpt-4.1",
          mcp_servers=["tsion/exa"]  # Web search via Exa
      )

      print(result.final_output)

  if __name__ == "__main__":
      asyncio.run(main())
  ```

  ```typescript TypeScript theme={"theme":{"light":"github-light","dark":"github-dark"}}
  import Dedalus, { DedalusRunner } from 'dedalus-labs';
  import * as dotenv from 'dotenv';

  dotenv.config();

  async function main() {
    const client = new Dedalus({
      apiKey: process.env.DEDALUS_API_KEY
    });

    const runner = new DedalusRunner(client);

    const result = await runner.run({
      input: `I want to see Taylor Swift in New York City.

      Help me find:
      1. Upcoming concert dates
      2. Venue details
      3. Ticket price ranges
      4. Accessibility information
      5. Best seating options for the budget`,
      model: 'openai/gpt-4.1',
      mcpServers: ['tsion/exa']  // Web search via Exa
    });

    console.log(result.finalOutput);
  }

  main();
  ```
</CodeGroup>

## Exa Search MCP

The `tsion/exa` server provides semantic web search, useful for finding:

* Event listings by artist, venue, or location
* Venue information and reviews
* Ticket availability across platforms
* Event details and timing

## When to Use

This pattern works for any ticketed event: sports games, theater, festivals. The agent handles the search and comparison work, presenting options that match your criteria instead of making you browse through pages of results.
