Skip to main content

AI Ops


CI Status Docs Deploy Status PyPI Version Python Versions
GitHub Pages PyPI Downloads License
An App for Nautobot.

Overview

The AI Ops app brings advanced artificial intelligence capabilities to Nautobot through a flexible multi-provider architecture and the Model Context Protocol (MCP). This app provides an intelligent chat assistant that can interact with your Nautobot environment, external MCP servers, and other integrated systems to help automate operational tasks, answer questions, and provide insights based on your network infrastructure data.

At its core, AI Ops leverages LangGraph and LangChain to orchestrate conversations with Large Language Models (LLMs) from multiple providers (Ollama, OpenAI, Azure AI, Anthropic, HuggingFace, and custom providers), maintaining conversation context through checkpointed sessions stored in Redis. The app supports flexible LLM provider and model management, allowing administrators to define multiple providers and models for various use cases. A powerful middleware system enables request/response processing with features like caching, logging, validation, and retry logic. The multi-MCP server architecture enables the AI assistant to connect to both internal and external MCP servers, providing extensible tool access for network automation, data retrieval, and operational workflows. Production-ready features include automated health monitoring for MCP servers, middleware cache management, automatic status tracking, conversation persistence, and scheduled maintenance tasks to maintain optimal performance.

Note: This project is actively evolving. We're continuously adding new features, providers, and capabilities. Check the Release Notes for the latest updates and the GitHub Issues for upcoming features.

Key Features

  • Multi-Provider LLM Support: Use models from Ollama (local), OpenAI, Azure AI, Anthropic, HuggingFace, or implement custom providers
  • LLM Provider Management: Configure and manage multiple LLM providers with provider-specific settings and handler classes
  • LLM Model Management: Configure multiple models from different providers with varying capabilities, temperature settings, and configurations
  • Middleware System: Apply middleware chains to models for caching, logging, validation, retry logic, rate limiting, and custom processing
  • Priority-Based Middleware Execution: Control middleware execution order (1-100) with pre and post-processing phases
  • AI Chat Assistant: Interactive chat interface that understands and responds to natural language queries about your Nautobot environment
  • MCP Server Integration: Connect to internal and external Model Context Protocol servers to extend capabilities with custom tools
  • Automated Health Monitoring: Scheduled health checks for MCP servers with retry logic and automatic cache invalidation
  • Conversation Persistence: Checkpoint-based conversation management using Redis ensures context is maintained across sessions
  • Secure Configuration: API keys and credentials managed through Nautobot's Secret objects, never stored directly
  • Scheduled Tasks: Background jobs for checkpoint cleanup, MCP server health monitoring, and middleware cache management
  • RESTful API: Full API support for programmatic access to all models (providers, models, middleware, MCP servers)
  • Environment-Aware: Supports LAB (local development with Ollama), NONPROD, and PROD environments

More screenshots and detailed use cases can be found in the Using the App page in the documentation.

Requirements

  • Nautobot 3.0.0+
  • Python 3.10 - 3.12
  • Redis (for conversation checkpointing and caching)
  • At least one LLM provider:
    • Ollama (local, free): For development and testing
    • OpenAI API: For OpenAI models (requires API key)
    • Azure OpenAI: For Azure-hosted models (requires subscription)
    • Anthropic API: For Claude models (requires API key)
    • HuggingFace: For HuggingFace models (requires API key)
    • Custom: Implement your own provider handler
  • Optional: MCP servers for extended functionality

Documentation

Full documentation for this App can be found at kvncampos.github.io/nautobot-ai-ops:

Contributing to the Documentation

You can find all the Markdown source for the App documentation under the docs folder in this repository. For simple edits, a Markdown capable editor is sufficient: clone the repository and edit away.

If you need to view the fully-generated documentation site, you can build it with MkDocs. A container hosting the documentation can be started using the invoke commands (details in the Development Environment Guide) on http://localhost:8001. Using this container, as your changes to the documentation are saved, they will be automatically rebuilt and any pages currently being viewed will be reloaded in your browser.

Any PRs with fixes or improvements are very welcome!

Questions

For any questions or comments, please check the FAQ first. Feel free to also swing by the Network to Code Slack (channel #nautobot), sign up here if you don't have an account.

Metadata

Release files for nautobot-ai-ops 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nautobot-ai-ops 2.0.0
File Size Uploaded
nautobot_ai_ops-2.0.0.tar.gz 148.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nautobot-ai-ops 2.0.0
File Interpreter ABI Platform
nautobot_ai_ops-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 341.4 kB

Release files / nautobot_ai_ops-2.0.0.tar.gz

Download URL nautobot_ai_ops-2.0.0.tar.gz
Size 148.0 kB
Tags Source
SHA-256 checksum
How to use checksums
36a68ff6bd5baf4fba833f195840bd15be7601ffada75d7a62c79bbb97058823
BLAKE2b-256 checksum
How to use checksums
8ce30890fe5c066989abe4cba29ca50237a22c39d03c70c6d40745d95046777d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 1, 2026.

Transparency log

Release files / nautobot_ai_ops-2.0.0-py3-none-any.whl

Download URL nautobot_ai_ops-2.0.0-py3-none-any.whl
Size 193.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e47f6fe6ecab0c8ec9d0cde7e0fb633441bc3625d3d398420b9adeeb9f8e8d8e
BLAKE2b-256 checksum
How to use checksums
56be872ccdaff2d9de430df0ae764cfa68d3a0ef7573fc024ed4385f4d080f01
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 1, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page