Skip to main content

pytyr-mcp

pytyr-mcp is a typed Python API for planning-and-learning agents. Callers keep parsed domains, task contexts, and search results in memory; filesystem artifacts are written only at the dump boundary.

Current release: 0.0.8.

See docs/api.md for the API and docs/index.md for workflow/output docs.

Basic Flow

from pytyr_mcp import (
    DumpFormat,
    SearchBudget,
    create_domain_context,
    create_task_context,
    find_satisficing_plan,
)

domain = create_domain_context("domain.pddl")
task = create_task_context(domain, "problem.pddl")

result = find_satisficing_plan(task, search_budget=SearchBudget(100_000, 5.0))
dump = result.dump("artifacts/find-plan", formats=(DumpFormat.JSON,), include_plan_text=True)

Entry Points

Context:

  • create_domain_context(domain_file)
  • create_task_context(domain_context, problem_file, num_threads=1)

Planning:

  • find_satisficing_plan(task_context, search_budget=PROVE_SEARCH_BUDGET)

Dumping:

  • result.dump(...)

Planning calls return typed result objects and do not write files.

Download files

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

Source Distribution

pytyr_mcp-0.0.8.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

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

pytyr_mcp-0.0.8-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file pytyr_mcp-0.0.8.tar.gz.

File metadata

  • Download URL: pytyr_mcp-0.0.8.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pytyr_mcp-0.0.8.tar.gz
Algorithm Hash digest
SHA256 65ab811c5e5cc8fd81225dc2db9d49a5c3e492aef07880eb6875def277e3d3e1
MD5 924a2f4c2b6084db2a074bbf81886daa
BLAKE2b-256 cafa3bae1bcb00a9a20cfb255f6e4faf444aa386b49e2d2d2d33a757fb9da3a1

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytyr_mcp-0.0.8.tar.gz:

Publisher: release.yml on planning-and-learning/tyr-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pytyr_mcp-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: pytyr_mcp-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pytyr_mcp-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 3826bbff9f140c4125f80035be972d2b9127c3a5e390edbfde7ab05f2255bf4d
MD5 2ac752da277d332f07e490c2012ed194
BLAKE2b-256 ca312bff2e051aa1215e8456d26b38b6f5d3c7c470d4cb773a18a87e44ad98ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytyr_mcp-0.0.8-py3-none-any.whl:

Publisher: release.yml on planning-and-learning/tyr-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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