Agents#
pyCSAMT agents provide AI-assisted and rule-based workflow automation for survey loading, quality control, static-shift correction, phase analysis, inversion preparation, interpretation, reporting, and orchestration. Start with the orchestrating chat agent for guided end-to-end runs, browse the catalogue when you need one specialised agent, and use the family pages for the full reference of every agent group.
- 1. Workflow Orchestrator
- 1.1. When To Use It
- 1.2. Input Contract
- 1.3. Routing And Reproducibility
- 1.4. Output Contract
- 1.5. Supported Workflow Families
- 1.6. Running A Real Workflow
- 1.7. LLM-Assisted Routing
- 1.8. Inspecting Planned Steps
- 1.9. Validation, Warnings, And Failure Modes
- 1.10. Recommended Operating Pattern
- 1.11. Related API
- 2. Review Gate
- 3. Agent Plugins
- 4. Assistant And RAG
- 4.1. What The Assistant Solves
- 4.2. High-Level Architecture
- 4.3. Corpus Policy
- 4.4. Chunk Types And Metadata
- 4.5. Index Building And Persistence
- 4.6. Current Corpus Statistics
- 4.7. Retrieval Model
- 4.8. Optional Dense Retrieval
- 4.9. Context Assembly
- 4.10. Generated-Code Validation
- 4.11. Memory And Project Context
- 4.12. Evaluation Suites
- 4.13. Representative Retrieval Examples
- 4.14. BM25 And Dense Retrieval Comparison
- 4.15. Assistant Recipe Authoring And Review
- 4.16. Direct Inspection Workflow
- 4.17. Reproducibility Checklist
- 4.18. Limitations
- 5. Agent Overview
- 5.1. Core ideas
- 5.2. How the pieces fit
- 5.3. When to use agents
- 5.4. Installation
- 5.5. The AgentResult contract
- 5.6. No-LLM request parsing
- 5.7. Dry-run workflow preview
- 5.8. Direct agent execution
- 5.9. Coordinated workflows
- 5.10. Natural-language orchestration
- 5.11. LLM-assisted interpretation
- 5.12. AI and model-zoo entry points
- 5.13. CLI and web interface
- 5.14. Outputs and reproducibility
- 5.15. Where to go next
- 5.16. Related API
- 6. Agent Catalogue
- 6.6. How to read the catalogue
- 6.7. Catalogue groups
- 6.8. Choosing the right entry point
- 6.9. Foundation and survey intake
- 6.10. Processing and diagnostics
- 6.11. Forward and inversion workflows
- 6.12. AI and model-zoo agents
- 6.13. Orchestration, pipeline, and outputs
- 6.14. Typical chains
- 6.15. Minimal examples
- 6.16. Support interfaces
- 6.17. Related API
- 7. Agent And LLM Configuration
- 7.1. Quick decision guide
- 7.2. Configuration objects
- 7.3. What gets configured
- 7.4. Supported providers and defaults
- 7.5. Recommended setup with environment variables
- 7.6. Explicit Python setup
- 7.7. How agents resolve LLM settings
- 7.8. Per-agent overrides
- 7.9. Multi-provider sessions
- 7.10. Temporary overrides
- 7.11. Running without an LLM
- 7.12. Budget caps
- 7.13. Pricing and rate overrides
- 7.14. Inspecting active configuration
- 7.15. Resetting configuration
- 7.16. Practical recipes
- 7.17. Troubleshooting
- 7.18. Configuration checklist
- 7.19. Related API
- 8. Agent Coordinator
- 8.1. What the coordinator solves
- 8.2. Core objects
- 8.3. Minimal workflow
- 8.4. Step registration
- 8.5. Input mapping with
input_fn - 8.6. Dry-run preview
- 8.7. Checkpoints and resume
- 8.8. Required and optional steps
- 8.9. Workflow result structure
- 8.10. Complete QC and correction example
- 8.11. Inversion preparation example
- 8.12. Custom agents
- 8.13. Best practices
- 8.14. Common mistakes
- 8.15. Related API