Skip to main content

ParseForge

LLM-driven pipeline that forges, cross-validates, and promotes TextFSM templates from network device CLI output.

Full design plan: SPEC.md.

What is ParseForge?

Network devices — routers, switches, firewalls — only speak in plain text: the output of a show command. To use that output in a script, dashboard, or automation tool, something has to turn it into structured data first. That "something" is a TextFSM template: a set of parsing rules for one specific command's output.

ParseForge writes those templates for you. Point it at a device (or a saved copy of its output) and an AI provider of your choice, and it produces a template, checks that the template actually parses the sample it was built from, and tracks the result so you can see exactly how much it's been tested before you trust it in production.

Why do you need ParseForge?

Every network automation project eventually hits the same wall: someone has to write and maintain a parser for every command's output, by hand, in regex. It's slow, it's easy to get subtly wrong, and it only gets worse as you add more device types, vendors, and firmware versions — each with its own quirks in how the same command's output is formatted.

ParseForge replaces that manual work with a repeatable pipeline: an AI drafts the parser, ParseForge verifies it against real output before trusting it, and only well-tested results get promoted to production use automatically — anything uncertain is queued for a quick human look instead of shipped blind. If your team does network automation and needs structured data out of CLI output, ParseForge is the part that used to be tedious, made fast and safe instead.

Features

  • Nothing ships unreviewed. Every AI-generated template starts as unproven evidence. Once it's been tested enough times with consistent results, it's promoted automatically; anything less certain waits for a person to check it.
  • Learns a command once, reuses it forever. The first time a command runs, ParseForge asks the AI to name it; every time after that, it's a free, instant lookup — no repeat AI calls, no repeat cost.
  • Checks its own work. Every generated template is tested against the real output it was built from before it's ever counted as a pass.
  • Notices when things change. If a device's output format changes later, ParseForge catches it and automatically kicks off a retest, instead of quietly parsing it wrong.
  • Use it your way. A command-line tool for quick, ad hoc use, or a Python library for wiring straight into your own automation — same functionality either way.

Supported providers

Eighteen AI providers behind one common interface — mix and match, or use two different ones in the same run:

Anthropic, OpenAI, DeepSeek, Groq, xAI, Together, Fireworks, Perplexity, OpenRouter, Moonshot, Cerebras, Mistral, Cohere, Azure OpenAI, Google Gemini, Google Vertex AI, Amazon Bedrock, and Oracle Cloud Infrastructure (OCI) — including the four with non-standard authentication (Azure deployment names, GCP Application Default Credentials, AWS's own credential chain, OCI request-signing), handled transparently. See Providers for each one's install extra, auth requirements, and default model.

Installation

# minimal install, no AI-provider SDK
pip install parseforge

# with a provider extra, e.g. anthropic
pip install parseforge[anthropic]

# local development
pip install -e ".[dev,sampling]"

For the full extras list (all eighteen providers, sampling, combining extras, per-provider requirements/ files, and the dev/test/release setup), see Installation.

Reference

Metadata

Release files for parseforge 0.3.2

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

Source distribution (sdist)

Source distribution for parseforge 0.3.2
File Size Uploaded Provenance Actions
parseforge-0.3.2.tar.gz 58.4 kB With provenance Details for parseforge-0.3.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for parseforge 0.3.2
File Interpreter ABI Platform Actions
parseforge-0.3.2-py3-none-any.whl Python 3 none any Details for parseforge-0.3.2-py3-none-any.whl

Total release size: 115.7 kB

Release files / parseforge-0.3.2.tar.gz

Download URL parseforge-0.3.2.tar.gz
Size 58.4 kB
Tags Source
SHA-256 checksum
How to use checksums
afb31202cdce760ef6cc15a892cac1e6121ad1eb47b3baa202de75bf3cb57aba
BLAKE2b-256 checksum
How to use checksums
afbca5e36a80f7e687c09c7d698b7146b65f8a3924dbcba97b9314fee29fd768
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 6, 2026.

Transparency log

Release files / parseforge-0.3.2-py3-none-any.whl

Download URL parseforge-0.3.2-py3-none-any.whl
Size 57.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1c0ce3c47808b55d3dd6b2d5be0de54577aedffe1488867fc70b1b73cf08c925
BLAKE2b-256 checksum
How to use checksums
f42689e815b0e794f26e084e30699b0bb154f7226ddd7829084c476cf76b8723
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 6, 2026.

Transparency log

Security for parseforge 0.3.2

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for parseforge-0.3.2.tar.gz

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 Aug 6, 2026.

Transparency log

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