Skip to main content

promptmap-extra-model-kinds

Extra model kinds for promptmap:

model_type Module Runs
python_modal modal_exec the bullet's upstream Python in a Modal sandbox
agent_modal agent_exec an OpenCode agent (plus optional MCP server) on Modal
agent37 agent37_exec a Hermes agent on an Agent37 workspace (agent37.md)
execute_python python_exec the rendered template as Python, in-process; output is stdout or an output variable
agent_multi_harness agent_multi_harness_exec a coding agent in place in agent_dir: mini-swe-agent (default) or opencode with MCP servers (agent_backend)

And RAG kinds, called from any template:

Template call Module Returns
rag_brave_search(query, count=8) brave_search web results via Brave Search (BRAVE_API_KEY)
rag_gemini_search(query, instructions=..., model=...) gemini_search a Gemini Flash answer grounded in Google Search, then its sources (GEMINI_API_KEY, env or .env)
rag_openai_search(query, instructions=..., model=...) openai_search an OpenAI answer using its web_search tool, then its sources (OPENAI_API_KEY, env or .env)
rag_anthropic_search(query, instructions=..., model=...) anthropic_search a Claude answer using its web_search tool, then its sources (ANTHROPIC_API_KEY, env or .env)

The three LLM searches return [answer, "title\nurl", ...]. Override their models with GEMINI_SEARCH_MODEL (default gemini-3.6-flash), OPENAI_SEARCH_MODEL (gpt-5.4-mini) and ANTHROPIC_SEARCH_MODEL (claude-opus-5-5, effort ANTHROPIC_SEARCH_EFFORT=low).

{% set hits = rag_brave_search(ref('topic'), count=5) %}
Use these sources:
{{ hits | join("\n\n") }}

Installing the package is enough: promptmap finds the kinds through the promptmap.model_kinds and promptmap.rag_kinds (promptmap >= 0.5.16) entry point groups and loads them on first use. Nothing has to import it.

Configuration is read from the environment — see each module's docstring.

Moved here from promptmap core (promptmap ≥ 0.6)

  • execute_python — unchanged, just packaged here.
  • agent_multi_harness — promptmap's old agent kind (mini-swe-agent / opencode, working in agent_dir). Rename model_type="agent" to model_type="agent_multi_harness"; config keys are unchanged.

The old coding_agent kind moved the other way: it is now core's agent kind, on the pi harness. Rename model_type="coding_agent" to model_type="agent". See promptmap's agent docs.

Metadata

Release files for promptmap-extra-model-kinds 0.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for promptmap-extra-model-kinds 0.6.1
File Size Uploaded Provenance Actions
promptmap_extra_model_kinds-0.6.1.tar.gz 291.0 kB Without provenance Details for promptmap_extra_model_kinds-0.6.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for promptmap-extra-model-kinds 0.6.1
File Interpreter ABI Platform Actions
promptmap_extra_model_kinds-0.6.1-py3-none-any.whl Python 3 none any Details for promptmap_extra_model_kinds-0.6.1-py3-none-any.whl

Total release size: 347.7 kB

Release files / promptmap_extra_model_kinds-0.6.1.tar.gz

Download URL promptmap_extra_model_kinds-0.6.1.tar.gz
Size 291.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8f1ae7ff87fd1535163f7663d5f71b3394be8e62b4ba2f48a5b119321702702e
BLAKE2b-256 checksum
How to use checksums
4f6d0467b07fae38252e646a4d94704db77c64ff8a74a469934e95cbddffee62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / promptmap_extra_model_kinds-0.6.1-py3-none-any.whl

Download URL promptmap_extra_model_kinds-0.6.1-py3-none-any.whl
Size 56.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
39624c1d9dbaa5716228ec44ac217ad2b65e1c64d5a5a99dfb994e419dd76ffe
BLAKE2b-256 checksum
How to use checksums
ee60bbe4957359ed02ec08de763dccafa6bfe35d698072789b62fed4b476fcae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for promptmap-extra-model-kinds 0.6.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page