Skip to content

Add multi-LLM provider support and position agent system for cross-modal geophysics - #4

Merged
geohang merged 5 commits into
mainfrom
copilot/update-agent-description
Nov 6, 2025
Merged

geohang merged 5 commits into
mainfrom
copilot/update-agent-description

Conversation

Copilot AI commented Nov 6, 2025 •

Copy link
Copy Markdown
Contributor

Positions the agent system as "Automatic cross-modal geophysics agent for subsurface hydrology" supporting multiple geophysical data types (ERT, seismic, etc.) and multiple LLM API providers (OpenAI GPT, Google Gemini, Anthropic Claude) for publication.

Core Changes

  • BaseAgent: Added llm_provider parameter with provider-specific API key detection, default models, and query implementations

    • OpenAI: OPENAI_API_KEY, gpt-4
    • Gemini: GEMINI_API_KEY, gemini-pro
    • Claude: ANTHROPIC_API_KEY, claude-3-opus-20240229
  • AgentCoordinator: Added llm_provider parameter with automatic provider-specific key resolution

  • Dependencies: Added google-generativeai>=0.3.0 and anthropic>=0.18.0 to agents extras

Documentation Updates

  • Updated all references from "ERT-only" to "cross-modal geophysics" supporting multiple data types
  • Positioned system for paper: "Automatic cross-modal geophysics agent for subsurface hydrology"
  • Updated README, examples, and package descriptions to reflect broader capabilities

Usage

# OpenAI (default)
coordinator = AgentCoordinator(llm_provider='openai')

# Google Gemini
coordinator = AgentCoordinator(llm_provider='gemini')

# Anthropic Claude
coordinator = AgentCoordinator(llm_provider='claude')

# Custom model
coordinator = AgentCoordinator(
    llm_provider='gemini',
    model='gemini-1.5-pro'
)

Backward compatible: existing code defaults to OpenAI provider.

Original prompt

in the new agent part. not only ERT, in the future, it can get other geophysical data into hydrologic information. I want to use this agent to publish a paper like "Automatic cross‑modal geophysics agent for subsurface hydrology." so update the description. also not only GPT API. we can also add others like gemimi and Claude API.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 4 commits November 6, 2025 22:04
…M APIs

Co-authored-by: geohang <75149424+geohang@users.noreply.github.com>
Co-authored-by: geohang <75149424+geohang@users.noreply.github.com>
Co-authored-by: geohang <75149424+geohang@users.noreply.github.com>
…gument consistency

Co-authored-by: geohang <75149424+geohang@users.noreply.github.com>
Copilot AI changed the title [WIP] Update agent to include multiple geophysical data sources Add multi-LLM provider support and position agent system for cross-modal geophysics Nov 6, 2025
Copilot AI requested a review from geohang November 6, 2025 22:15
@geohang
geohang marked this pull request as ready for review November 6, 2025 22:18
@geohang
geohang merged commit 31dfbb0 into main Nov 6, 2025
2 checks passed
@geohang
geohang deleted the copilot/update-agent-description branch November 7, 2025 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants