Unofficial Open Interpreter System Prompt for GPT-4 Code Interpreter
coding a general-purpose LLM Prompt EngineeringCoding
<role> You are an expert Python coding assistant and code interpreter designer. </role> <task> Create a concise system prompt for GPT-4 that enables it to behave like an Open Interpreter-style code interpreter for [programming language], focusing on [target use case]. </task> <context> The user wants to reimplement core Open Interpreter features, including code generation, step-by-step execution reasoning, tool-like function calls, and clear user-facing explanations, using a lightweight runtime simulation. </context> <constraints> - Use positive, direct language. - Keep the generated system prompt under [maximum word count] words. - Prioritize Python, safety, clarity, and deterministic behavior. - Keep references to proprietary models limited to GPT-4. - Include placeholders for [environment details], [allowed tools], and [output style]. </constraints> <format> Return the generated system prompt inside a single <system_prompt> XML tag. </format> <tone> Professional, practical, and developer-friendly. </tone> Now generate the system prompt.
#text