Skip to main content

Olav Skills

Olav Skills is the Python toolkit behind OLAV’s offline network analysis workflow. Network operations and NetDevOps teams use it to query device inventories, inspect recorded topology, compare snapshots, pre-check draft changes and produce reports with source evidence. The CLI and nine Agent Skills work with a local DuckDB database.

Website · Documentation · 中文文档 · PyPI · Browser demo

Collect device output in the authorized environment, then transfer a reviewed offline bundle to the analysis environment. The collector is a separate tool. Device credentials stay on the collection side. Architecture and data flow

Current release

Olav Skills 0.3.1 is the current release. The 0.3 series adds two skills for host-bound services. api-query reads NetBox sites, devices and interfaces and reconciles registered names with a recorded snapshot. simulator compares concrete packets in two prepared Batfish models and needs the optional simulator extra. Reporter can draft and preview audit profiles, and analyzer can review interface and BGP observations in one snapshot. Query and reconciliation results state per-device coverage and unknown values. Release notes

The Python distribution and command are both olav-skills. The Python namespace is olav_skills. See the migration guide if you use the earlier olav or olav-netops distributions.

Install 0.3.1

Use Python 3.11 or newer and a dedicated environment:

python3 -m venv ~/.venvs/olav-skills
. ~/.venvs/olav-skills/bin/activate
python -m pip install olav-skills==0.3.1
olav-skills version
olav-skills doctor
olav-skills list

For configuration-change simulation, install olav-skills[simulator]==0.3.1 instead.

Try a synthetic snapshot

Run the packaged example in a new analysis directory:

analysis_dir=$(mktemp -d)
python -I -B -m olav_skills.examples.synthetic_walkthrough --home "$analysis_dir"

The example validates and imports an offline bundle, checks the exact device set R1/R2, and writes a topology artifact and a source-linked report. It runs without model credentials or device access. Offline walkthrough

Connect your harness

Choose the binding command for your harness:

olav-skills install --harness codex --scope user
olav-skills install --harness claude-code --scope user
olav-skills install --harness pi --scope user

OpenCode can discover the skills installed through the Codex-compatible .agents/skills/ layout. Install from the intended Python environment, then repeat the binding after upgrading the package or moving the environment. Installation and project scope · Compatibility · OpenCode skill discovery

For OLAV’s local AI workflows, Gemma 4 31B IT or Qwen3.8-27B is the minimum recommended model. The CLI can also run the packaged tools directly. Minimum models and test notes

Try the browser demo

The public Demo uses Open WebUI and two synthetic networks. Request access by email, set a password from the one-time link, and select a tenant in the model picker to try inventory, topology or report queries. Demo welcome page · Demo walkthrough · Open WebUI guide

Skills

Skill Responsibility
netops Skill navigation, shared network evidence and snapshot/config differences
importer Import offline bundles and build a local queryable snapshot
analyzer Bounded queries, device/interface inspection and change-plan preparation
topology Recorded BGP, OSPF and L2 topology and reusable recipes
reporter Investigation evidence, comparisons and report preparation
writer Topology artifacts including draw.io, Mermaid and SVG
learner Prepare and validate parsers for previously unsupported CLI output
api-query Read a host-bound NetBox service and reconcile registered assets with a snapshot
simulator Compare concrete packets in two host-prepared Batfish models

Scripts accept one JSON object on stdin. Run them using the installed olav-skills run <skill> <script> dispatcher and its bound Python environment; the walkthrough gives executable examples. Set OLAV_HOME explicitly before importing or querying. The existing .olav layout is retained, but historical database compatibility requires testing on an authorized copy.

Snapshots are recorded evidence, not live inventory. Preserve unknown roles, missing timestamps, absent topology layers and query truncation in findings.

The collector is a separate product. No device access, model credentials, enterprise permissions or service access is granted by installing skills. The NetBox and Batfish skills run only with a service, credentials and scope that the host binds; see NetBox inventory and configuration-change simulation.

Maintained source

  • src/olav_skills/: library, management CLI and required package data.
  • skills/: standard skill resources and executable entry scripts.
  • tools/: exports built from this repository, without the former platform checkout.
  • tests/: synthetic fixtures and regression tests.
  • provenance/: source extraction mapping and hashes.
  • docs/: public technical documentation for this product.

The first extraction used the former platform's official generator in a scratch directory. Subsequent changes belong here. Do not regenerate the old public pack over this source repository. The repository history preserves the previous generated layout, including its separate runtime/ installer.

The old platform's API-client and DuckLake server profiles, deployed Open WebUI product and public documentation site have separate migration gates. This package also supplies its own bounded portable knowledge exporter; see its separate contract. This native package does not replace them or claim their acceptance.

Deterministic capabilities in 0.2

These additions and updated contracts apply to Olav Skills 0.2.

  • Data readiness: olav-skills doctor --data --project /absolute/project inspects an explicitly selected native project without changing it. See data readiness.

  • Recorded state changes: olav-skills run reporter compare_state compares supported historical parsed-record sources between two explicit snapshots. See state differences. A record disappearing does not establish a real link failure or route withdrawal.

  • Plan pre-check: olav-skills run analyzer check_change_plan reports individual checks and evidence gaps. See plan pre-check. This does not approve execution or provide configuration simulation.

  • Parser versions and derived replay: learner manage_parser and reparse_snapshot add explicit validation/activation/rollback and offline derived outputs. See parser lifecycle.

  • Full file export: analyzer export_query pins its source and reports completeness/resume status. See full export.

  • Reviewed evidence files: reporter evidence_bundle packages selected files, checks integrity and rechecks freshness. See evidence delivery.

  • Recorded investigation: analyzer run_investigation provides fixed inventory/interface/BGP recipes with explicit unknown states. See investigation recipes.

  • Native contracts: IOS/Junos parser, query and historical state semantics use the same state contract.

  • Historical config: netops diff_configs now requires precise recorded sources and preserves ordered semantic groups; see config differences.

  • Route changes and counter deltas: reporter compare_routes and compare_counters expose supported route profiles and counter/time evidence.

  • One-time audits: reporter run_audit applies reviewed fixed profiles without scheduling.

  • Report review: reporter lint_report checks explicit claim/citation/evidence bindings and reports coverage gaps; see citation checks. It does not certify natural-language claims or caller-provided source authenticity.

  • Topology content: reporter compare_topology compares exact recorded snapshots, preserving endpoint interfaces and parallel links; see topology changes. Missing observations are not proof of physical link failure.

  • Historical graph paths: topology inspect_path retains interface-level parallel links and bounded enumeration; see topology paths. Recorded candidates do not establish forwarding or ECMP.

  • Metric baselines: analyzer analyze_baseline separates reviewed historical intervals from a target interval with fixed metrics and clock/reset checks; see metric baselines. Percentiles are statistical references for observed net deltas, not health certification.

  • OSPF observations: analyzer analyze_ospf inspects supported captured neighbor states and compares qualified historical records; see OSPF analysis. Routing context gaps remain unknown.

  • Audit evidence: analyzer check_evidence checks an explicit device/command list, capture-time policy and historical raw/parsed bindings; see evidence readiness. Native CLI imports in 0.2 retain new raw capture provenance transactionally; old missing history is not reconstructed. run_audit can require this gate and run an explicit OSPF profile without expanding its default three checks.

These are native deterministic entry points. A host still authorizes its actual tools; adding a script to the package does not register an Open WebUI tool or establish natural-language routing in every harness.

Documentation site

The public manual is maintained in this repository's docs/, with English and Chinese pages and an explicitly marked legacy archive. Build it without the former platform checkout:

python3 -m venv /absolute/path/to/docs-venv
/absolute/path/to/docs-venv/bin/python -m pip install -r requirements-docs.txt
/absolute/path/to/docs-venv/bin/python -B tools/build_docs.py

This creates site/, including checked compatibility pages for old documentation URLs. The builder refuses to clean an unrelated nonempty output directory. wrangler.docs.toml names the existing documentation app; no publication or service switch is performed by the build. Historical source and route provenance are recorded separately from current Skills capability claims.

License

The existing LICENSE and its terms are preserved. Public source availability and Python packaging do not change the applicable license or the permissions granted by it.

Metadata

Release files for olav-skills 0.3.1

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

Source distribution (sdist)

Source distribution for olav-skills 0.3.1
File Size Uploaded Provenance Actions
olav_skills-0.3.1.tar.gz 1.2 MB Without provenance Details for olav_skills-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for olav-skills 0.3.1
File Interpreter ABI Platform Actions
olav_skills-0.3.1-py3-none-any.whl Python 3 none any Details for olav_skills-0.3.1-py3-none-any.whl

Total release size: 1.9 MB

Release files / olav_skills-0.3.1.tar.gz

Download URL olav_skills-0.3.1.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
d52817e6ebaf6de1d7713e8f6f86cc28fec7f00fc9dc174f2e3b547d57e424bb
BLAKE2b-256 checksum
How to use checksums
882e4640451a72500b4b695b1366b0b5644a033f7d31de7ad57d3a98ebca401f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / olav_skills-0.3.1-py3-none-any.whl

Download URL olav_skills-0.3.1-py3-none-any.whl
Size 736.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
90e1aa1a6061818aed104ac0b863a3319ced6866f427aaff512945a7530418c4
BLAKE2b-256 checksum
How to use checksums
5da7fe273955d64b513048c4e9eeca09de890b26fe55cc555caf467a0175919b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Security for olav-skills 0.3.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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