Skip to content

Architecture Documentation

This section contains comprehensive documentation about GNS3 Copilot's system architecture and framework design.

Available Documentation

System Architecture

Core Framework Design

Architecture Overview

GNS3 Copilot is built using a modular architecture with the following key components:

┌─────────────────────────────────────────────────────────────┐
│                      Presentation Layer                      │
│                   (Streamlit Web UI)                        │
└───────────────────────┬─────────────────────────────────────┘
┌───────────────────────▼─────────────────────────────────────┐
│                    Agent Layer (LangGraph)                   │
│  - Intent Recognition                                        │
│  - Tool Selection & Invocation                              │
│  - Conversation Management                                   │
└───────────────────────┬─────────────────────────────────────┘
┌───────────────────────▼─────────────────────────────────────┐
│                     Tool Integration Layer                   │
│  - GNS3 API Tools                                            │
│  - Configuration Tools (Nornir/Netmiko)                      │
│  - Display Tools                                             │
└───────────────────────┬─────────────────────────────────────┘
┌───────────────────────▼─────────────────────────────────────┐
│                    GNS3 Client Layer                        │
│  - GNS3 Server Communication                                 │
│  - Project Management                                        │
│  - Topology Operations                                       │
└───────────────────────┬─────────────────────────────────────┘
┌───────────────────────▼─────────────────────────────────────┐
│                      GNS3 Server API                         │
└─────────────────────────────────────────────────────────────┘

Key Technologies

  • Frontend UI: Streamlit
  • AI Framework: LangGraph + LangChain
  • Network Automation: Nornir + Netmiko + Telnetlib3
  • GNS3 Integration: gns3fy (custom enhanced)
  • Data Persistence: SQLite
  • LLM Support: OpenAI, DeepSeek, Anthropic, XAI, OpenRouter, etc.