Skip to content

Home

banner

textfsm-ai is an AI-powered engine for turning unstructured text into TextFSM templates โ€” point an LLM at raw CLI output, log lines, or other semi-structured text and get back a validated, production-ready template, through a clean Python API and CLI.

It is designed for:

  • network engineers automating CLI parsing
  • developers building structured extractors
  • teams maintaining large template libraries
  • anyone who wants predictable, testable text parsing

Features

  • ๐Ÿค– AI-powered template generation across 18 LLM providers
  • ๐Ÿงต Readable DSL that compiles down to canonical TextFSM
  • ๐Ÿš€ Deterministic, validated output every run
  • ๐Ÿงฐ Clean Python API and CLI
  • ๐Ÿ” Helpful error messages and template diagnostics
  • ๐Ÿ“š Full versioned documentation

Explore the Docs