Skip to main content

AgentQL Extension

This tutorial covers how to add the AgentQL MCP Server as a Goose extension to extract and transform unstructured web content into structured data.

TLDR

Command

npx -y agentql-mcp

Environment Variable

AGENTQL_API_KEY: <YOUR_API_KEY>

Configuration

info

Note that you'll need Node.js installed on your system to run this command, as it uses npx.

  1. Run the configure command:
goose configure
  1. Choose to add a Command-line Extension
  ┌   goose-configure 

◇ What would you like to configure?
│ Add Extension

◆ What type of extension would you like to add?
│ ○ Built-in Extension
│ ● Command-line Extension (Run a local command or script)
│ ○ Remote Extension

  1. Give your extension a name
  ┌   goose-configure 

◇ What would you like to configure?
│ Add Extension

◇ What type of extension would you like to add?
│ Command-line Extension

◆ What would you like to call this extension?
│ agentql

  1. Enter the command
  ┌   goose-configure 

◇ What would you like to configure?
│ Add Extension

◇ What type of extension would you like to add?
│ Command-line Extension

◇ What would you like to call this extension?
│ agentql

◆ What command should be run?
│ npx -y agentql-mcp

  1. Enter the number of seconds Goose should wait for actions to complete before timing out. Default is 300s
 ┌   goose-configure 

◇ What would you like to configure?
│ Add Extension

◇ What type of extension would you like to add?
│ Command-line Extension

◇ What would you like to call this extension?
│ agentql

◇ What command should be run?
│ npx -y agentql-mcp

◆ Please set the timeout for this tool (in secs):
│ 300

  1. Obtain an AgentQL API Key and paste it in.
 ┌   goose-configure 

◇ What would you like to configure?
│ Add Extension

◇ What type of extension would you like to add?
│ Command-line Extension

◇ What would you like to call this extension?
│ agentql

◇ What command should be run?
│ npx -y agentql-mcp

◇ Please set the timeout for this tool (in secs):
│ 300

◆ Would you like to add environment variables?
│ Yes

◇ Environment variable name:
│ AGENTQL_API_KEY

◇ Environment variable value:
│ ▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪▪

◇ Add another environment variable?
│ No
└ Added agentql extension

Example Usage

Let's use the AgentQL extension to gather and structure tech conference data to help plan speaking engagements.

LLM

Anthropic's Claude 3.5 Sonnet was used for this task.

Goose Prompt

I'm a tech conference speaker planning my 2025-2026 submissions. 

Extract for developer conferences (attendance > 500) occurring between 2022-2024:
- Conference name
- Conference dates
- CFP timeline

To identify:
- Consistent monthly patterns
- Whether conferences stick to same months yearly
- If CFP windows are consistent year-to-year
- Any shifts in traditional timing

Structure results as JSON

Goose Output

I'll help you analyze conference patterns using the web data extraction tool. Let me break this down into a few queries to get comprehensive data.

─── extract-web-data | agentql ──────────────────────────
prompt: ...
url: ...

Let me get some historical data to compare patterns:

─── extract-web-data | agentql ──────────────────────────
prompt: ....
url: ....

Based on my research and the available data, I'll provide an analysis of major tech conference patterns. Here's the structured JSON with my findings:

{
"analysis": {
"major_conference_patterns": {
"timing_consistency": {
"spring_events": {
"typical_months": ["March", "April", "May"],
"notable_conferences": [
"Google I/O",
"Microsoft Build",
"DevOpsDays (various locations)"
],
"cfp_patterns": "Usually opens 4-6 months before event, closes 2-3 months before"
},
"fall_events": {
"typical_months": ["September", "October", "November"],
"notable_conferences": [
"AWS re:Invent",
"KubeCon + CloudNativeCon"
],
"cfp_patterns": "Usually opens 6-8 months before event, closes 4-5 months before"
}
},
"observed_trends": {
"timing_consistency": "High - Most major conferences maintain consistent months year-over-year",
"cfp_windows": {
"typical_duration": "6-12 weeks",
"advance_notice": "4-8 months before event",
"variation": "Regional events tend to have shorter CFP windows (4-6 weeks)"
},
"recent_shifts": [
"Increased hybrid/virtual options post-2022",
"More regional editions of major conferences",
"Earlier CFP deadlines for larger events"
]
}
},
"recommendations_for_2025_2026": {
"spring_submissions": {
"prepare_by": "September-October of previous year",
"submit_during": "November-December of previous year"
},
"fall_submissions": {
"prepare_by": "February-March",
"submit_during": "March-April"
}
}
}
}


Key Insights for Your Planning:

1. **Monthly Patterns**:
- Spring conference season: March-May
- Fall conference season: September-November
- Summer tends to be lighter for major tech conferences
- December-January typically quiet except for regional events

2. **Year-to-Year Consistency**:
- Major conferences (AWS re:Invent, KubeCon, Google I/O) are very consistent with their timing
- Regional versions of major conferences (like DevOpsDays) show more date flexibility
- Most maintain the same quarter/season year over year

3. **CFP Windows**:
- Larger conferences: 6-8 months before event
- Regional conferences: 3-4 months before event
- Trend toward longer review periods for major conferences
- Many now have rolling or multi-phase CFP processes

4. **Recent Shifts**:
- Earlier CFP deadlines compared to pre-2022
- More hybrid/virtual components
- Increased number of regional editions of major conferences
- Longer review periods for submissions

For 2025-2026 planning, I recommend:
- Start preparing fall 2025 submissions by February-March 2025
- Start preparing spring 2026 submissions by September-October 2025
- Consider regional versions of major conferences as they often have later deadlines
- Keep track of multi-track conferences as they might have different CFP deadlines for different tracks

Would you like me to focus on any specific aspect of these patterns or provide more detailed information about particular conferences?