Agently Model Setup
Use this skill for provider wiring and transport setup before request logic is discussed.
Native-First Rules
- use
Agently.set_settings(...)oragent.set_settings(...) - prefer settings files with
${ENV.xxx}placeholders for base URL, model, and auth - call
Agently.set_settings(..., auto_load_env=True)when the settings payload may rely on.env - if the app must fail fast, validate required env names in the integration layer before calling Agently
- keep provider setup outside business workflow logic and prompt files
Anti-Patterns
- do not hardcode provider-specific parsing into request code
- do not bake secrets or environment-specific endpoints into committed Python code when settings plus env placeholders fit
- do not mix model setup with output parsing or workflow design
Read Next
references/overview.md