Agents#

pycsamt.agents provides small, composable agents for interpreting a request, planning a workflow, running scientific tools, and coordinating multi-step processing. The examples in this section run entirely offline: each one executes inside AGENT_CONFIG.offline(), so the agents use deterministic rule-based logic and local numerical code — no API key, no network request, and zero cost — even when provider keys are present in the environment.

The sequence progresses from the smallest building blocks to the high-level AgentMaster front door, and every example ends with a figure:

  • route a plain-language request to an intent (confidence chart);

  • extract a structured workflow configuration (parsed-config table);

  • inspect the offline model catalogue (architecture/depth chart);

  • run a local 1-D forward model (earth model + synthetic sounding);

  • validate a workflow plan before execution (pass/fail report card);

  • preview a coordinated multi-agent chain (flow diagram);

  • plan a complete workflow through AgentMaster (pipeline diagram).

Route requests offline

Route requests offline

Extract workflow context

Extract workflow context

Browse the local model catalogue

Browse the local model catalogue

Run a local forward-model agent

Run a local forward-model agent

Validate a workflow plan

Validate a workflow plan

Preview a coordinated agent chain

Preview a coordinated agent chain

Plan a workflow with Agent Master

Plan a workflow with Agent Master