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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytyr_mcp-0.0.10.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.10.tar.gz
Algorithm Hash digest
SHA256 81d92a3f2af25125d93d830c8f5a8776c8067ab935379609dd465802573bb042
MD5 1a0648ab470e68e6678a5aa3db06249f
BLAKE2b-256 bcd9a09f56016eb7d3ee0547c9e4f562569054ebae17dd585629d5390da080c9

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pytyr_mcp-0.0.10-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.10-py3-none-any.whl
Algorithm Hash digest
SHA256 82a99e2f4117db697443e22ffd52b073f36ecfabb45d6ce4f7fa9b34b65cd25d
MD5 fe776e776d089f8446ec91f01f6cbd5e
BLAKE2b-256 e4703dbe19db1da262ab7e86882e77ccbb10cbcf866c49e5cd8ee8949fe0ee9f

See more details on using hashes here.

Provenance

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