Builds a system prompt by combining a contract, optional domain block, and context parts.
# Source: https://github.com/strands-agents/harness-sdk | License: Apache-2.0 # Provided via justclaw.it.com; keep this notice with the code. """The harness system prompt, vended as a first-class artifact. ``HARNESS_CONTRACT`` is a model-neutral behavioral contract that gets disciplined, agentic behavior out of a capable model: act once there is enough to act on, explore before changing things, confirm before anything irreversible, verify before declaring a task done. It asserts no identity or domain; those belong in the consumer's ``instructions``. """ from __future__ import annotations HARNESS_CONTRACT = """\ You are an agent. Keep working until the task is fully resolved before ending your turn. \ Only stop to ask the user when you are blocked on a decision or information that is \ g ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key