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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytyr_mcp-0.0.7.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.7.tar.gz
Algorithm Hash digest
SHA256 99846f563a9298a7ec08b301c68833607ccaaed16b443eab004b4abdcef44c65
MD5 75df9749ccb133240b9e90dad537b829
BLAKE2b-256 001af1bf3fcc1ba02192473001066baef6b0f732a5c0919a475ccd10cbb58e96

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pytyr_mcp-0.0.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 5737794234c75cba3bc5436dfbbd9c13c99db9f22b6465e3c8725ef10c342512
MD5 daf799e3698dc245e996c5f7765467d6
BLAKE2b-256 44f86d430b5055286b5ea0f95ea74472f65bf80a1002bc58b2e93925dd784099

See more details on using hashes here.

Provenance

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