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

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.0
File Size Uploaded Provenance Actions
promptmap_extra_model_kinds-0.6.0.tar.gz 291.0 kB Without provenance Details for promptmap_extra_model_kinds-0.6.0.tar.gz

Built distribution (wheel)

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

Total release size: 347.7 kB

Release files / promptmap_extra_model_kinds-0.6.0.tar.gz

Download URL promptmap_extra_model_kinds-0.6.0.tar.gz
Size 291.0 kB
Tags Source
SHA-256 checksum
How to use checksums
cca381c3ed1aca241a5f4766db41045ad293eb347f98a7c4a405e2dfe9ae0b5e
BLAKE2b-256 checksum
How to use checksums
8cca302fbff4332036963f10ea9e99e35c32182b6a0748cbe825aa59c10deb29
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.0-py3-none-any.whl

Download URL promptmap_extra_model_kinds-0.6.0-py3-none-any.whl
Size 56.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f58df844cf70cbe78d4c31508c005048e96fdce70f43328abea444a160af1479
BLAKE2b-256 checksum
How to use checksums
0945642dfb3617fe9a1728ff25c32ad77fd6cf437ae2d6bda94fa89a8f4ce648
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.0

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