Skip to main content

Box-Jenkins-Treadway time series model-building toolkit + MCP server (uses fue and pyfug)

Project description

ART — Box-Jenkins-Treadway time series toolkit + MCP server

art-tseries (ART) builds univariate time series models following the Box-Jenkins-Treadway methodology: an iterative, decision-driven process that uses graphical tools and formal tests to identify, estimate, diagnose and refine a model until it is adequate and parsimonious.

ART is the orchestration layer of a four-part suite:

Package Role
fue Exact maximum-likelihood estimation (ARMAX + transfer functions) and FUF forecasting. C engine with a pure-Python fallback.
pyfug High-definition graphics for time series analysis.
ART (art-tseries) Identification, model building, diagnosis, formal tests, versioning — and an MCP server that exposes all of this to an LLM.

The Box-Jenkins-Treadway loop needs judgement at each decision node. ART supplies the evidence (graphs, tests, numbers); a human analyst and/or Claude supply the criterion. Two modes:

  • Guided — analyst + Claude: Claude proposes with arguments, the analyst decides.
  • Autonomous — Claude/heuristic decides every step and presents a final model.

Install

pip install art-tseries          # pulls fue + pyfug automatically

This installs the art-mcp command (the MCP server).

Use as an MCP server (Claude Code, etc.)

claude mcp add art -- art-mcp

Then ask Claude to analyse a series. ART will ask whether you want a guided or autonomous analysis and drive the workflow from there.

Use as a library

import fue
from art.describe import describe_boxcox, describe_identification, model_equation

ts, _ = fue.inp.load("series.inp")
print(describe_boxcox(ts).summary)

Methodology

The model-building process is iterative and sequential: each estimation starts from the previous likelihood optimum (the .pre of the previous model), and every step produces a .pre (estimated parameters as initial values) and a .out (results), mirroring fue. Decisions and changes are recorded in a guion.json audit trail. See docs/ARCHITECTURE.md for the full design and the evidence-vs-criterion philosophy.

License

GPL-2.0-or-later. © David E. Guerrero.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

art_tseries-0.1.1.tar.gz (180.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

art_tseries-0.1.1-py3-none-any.whl (147.8 kB view details)

Uploaded Python 3

File details

Details for the file art_tseries-0.1.1.tar.gz.

File metadata

  • Download URL: art_tseries-0.1.1.tar.gz
  • Upload date:
  • Size: 180.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for art_tseries-0.1.1.tar.gz
Algorithm Hash digest
SHA256 222fc1c989fad842f3750edfafbfa52a923daa8bb4e8b89a8093fdc73aa9ed04
MD5 1758851d11c320deb6f18018cb93ef39
BLAKE2b-256 c7a5a6c66b90f649cc1df46277b0b39fd6f6d46e0e7984a20caeba062608ed4c

See more details on using hashes here.

File details

Details for the file art_tseries-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: art_tseries-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 147.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for art_tseries-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b1a22229754b48c1df5ffafded82ea5883e69ec2063071843636e91c674869f4
MD5 be4bdb19ac369c77792baa908063a4e1
BLAKE2b-256 9ca658722fa14cbab845b5272f6393ba4b2186cfe23a7f128ca31dce5637f9f0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page