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.9.

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.9.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.9-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytyr_mcp-0.0.9.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.9.tar.gz
Algorithm Hash digest
SHA256 3d9d322046ec4bf0186f49aae9bdecd9056ce8d98dd792c95e6a179001884f92
MD5 8ea20e1a0d3215d2d9dec9fb2d558559
BLAKE2b-256 bdcb8683edb4ea2376be45c791c4a4ff46ab0e408ca6f0935d9f2f04de7fcc0b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytyr_mcp-0.0.9.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.9-py3-none-any.whl.

File metadata

  • Download URL: pytyr_mcp-0.0.9-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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 7ad1b77e260287f610504d77bc144cb8a86ec3a451ce37dc561017bda10ccfc6
MD5 b5051fffeb0ecaa3695ef6f912e5c0b4
BLAKE2b-256 4184577aaeddabf0324e080e03fa55451ac06735a508b794cab8cef0d63c1a55

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytyr_mcp-0.0.9-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