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

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pytyr_mcp-0.0.11.tar.gz
Algorithm Hash digest
SHA256 6dd2cf850b7c3650cdbbf9ed3d9eedecd788747058ddc128f42331fa38e889f4
MD5 c2310f9497f3e9160de8972904999b6b
BLAKE2b-256 3b45fd2d20ff17f79e3d528811bdbfbb3feb09c113a914ae5ace850fcaff3d91

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pytyr_mcp-0.0.11-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.14

File hashes

Hashes for pytyr_mcp-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 ff8e8c3654028d1bbbe82d54f4864e597273811d23e221ef9ea623f3d9272fca
MD5 0629788576dc87067a681ca2c4698310
BLAKE2b-256 619dc9e58f8d9d1b17e09bde7ea02371321723812d08d3d0904a1c8c00d4d604

See more details on using hashes here.

Provenance

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