Code reference¶
These references are generated from Python source without importing Nautobot or starting the app. They describe implementation interfaces, not a separate supported public SDK or REST API.
App configuration¶
nautobot_agent
¶
App declaration for nautobot_agent.
NautobotAgentConfig
¶
Bases: NautobotAppConfig
App configuration for the nautobot_agent app.
Source code in nautobot_agent/__init__.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | |
ready()
¶
Register the app, validate deployment settings and dependency pins, and prime source discovery.
Source code in nautobot_agent/__init__.py
23 24 25 26 27 28 29 30 31 32 33 | |
Deployment settings¶
nautobot_agent.app_settings
¶
Deployment validation, including profile catalogs whose values are read at use time and never logged.
ChatRunSettings
dataclass
¶
Validated deployment policy and task budgets for durable chat runs.
Source code in nautobot_agent/app_settings.py
345 346 347 348 349 350 351 352 353 | |
InterpreterLimits
dataclass
¶
Validated limits for one stateless Monty execution.
max_duration_secs bounds interpreter execution across the submitted feed,
including its resumptions. Time spent waiting on host calls is excluded, so it is
neither a total wall-time deadline nor a CPU-clock limit; SQL statement timeouts and
run limits still apply. max_memory_bytes bounds interpreter memory,
max_host_calls the host-tool calls per execution, and max_output_chars the
returned result size.
Source code in nautobot_agent/app_settings.py
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | |
ScopeMode
¶
Bases: StrEnum
Deployment-owned policy for the pre-send scope gate.
Source code in nautobot_agent/app_settings.py
166 167 168 169 170 171 | |
blocked_models()
¶
Return canonical, deduplicated blocked model labels without querying the database.
Source code in nautobot_agent/app_settings.py
308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 | |
builtin_skills_enabled()
¶
Return whether packaged skills are included in runtime snapshots.
Source code in nautobot_agent/app_settings.py
192 193 194 195 196 197 198 | |
chat_max_model_calls()
¶
Return the configured per-run logical model-call ceiling.
Source code in nautobot_agent/app_settings.py
65 66 67 | |
chat_max_tool_calls()
¶
Return the configured per-run graph tool-call ceiling.
Source code in nautobot_agent/app_settings.py
80 81 82 | |
chat_return_timeout()
¶
Return the configured delay before an ordinary departure expires selection.
Source code in nautobot_agent/app_settings.py
85 86 87 | |
chat_run_settings()
¶
Validate chat run queue and task budgets without database or worker access.
Source code in nautobot_agent/app_settings.py
363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 | |
credential_profiles()
¶
Return fresh validated LLM credential profiles; provider values are intentionally unconstrained.
Source code in nautobot_agent/app_settings.py
250 251 252 | |
interpreter_limits()
¶
Return merged, validated interpreter limits without exposing configured values.
Source code in nautobot_agent/app_settings.py
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 | |
mcp_credential_profiles()
¶
Return fresh validated HTTP-header profiles without exposing their values to forms.
Source code in nautobot_agent/app_settings.py
255 256 257 258 259 260 261 262 263 | |
mcp_environment_profiles()
¶
Return fresh validated stdio environment profiles without exposing their values to forms.
Source code in nautobot_agent/app_settings.py
277 278 279 | |
query_limits()
¶
Return the validated query-response byte ceiling without exposing configured values.
Source code in nautobot_agent/app_settings.py
397 398 399 400 401 402 403 404 405 | |
query_statement_timeout_ms()
¶
Return the database-side time limit for each live-data SQL statement.
Source code in nautobot_agent/app_settings.py
70 71 72 73 74 75 76 77 | |
scope_mode()
¶
Return the validated, uncached deployment scope policy.
Source code in nautobot_agent/app_settings.py
177 178 179 180 181 182 183 184 185 186 | |
source_apps_by_group()
¶
Validate and normalize the deployment-owned group-to-package mapping.
Source code in nautobot_agent/app_settings.py
287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 | |
tracing_enabled()
¶
Return whether execution tracing is enabled, requiring an explicit boolean value.
Source code in nautobot_agent/app_settings.py
204 205 206 207 208 209 210 | |
valid_mcp_environment_entry(key, value)
¶
Validate an environment entry; catalogs allow null placeholders, but selected profiles must be fully set.
Source code in nautobot_agent/app_settings.py
266 267 268 269 270 271 272 273 274 | |
validate_all()
¶
Run every deployment setting reader; keep each reader's diagnostics explicit.
Source code in nautobot_agent/app_settings.py
408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 | |