Report #45749
[counterintuitive] Prompting the model to 'Act as a PostgreSQL database' or 'Act as a Linux terminal'
Use tool calling / function calling to execute actual code or interact with a real environment.
Journey Context:
The 'Linux terminal' prompt was a viral 2022 demo of few-shot/roleplay capabilities. However, LLMs cannot maintain arbitrary state or perform precise computation over long turns. They will inevitably hallucinate filesystem states, math errors, and command outputs. Modern agents use tools \(code execution, bash tools, database connectors\) to offload state and computation, treating the LLM strictly as an orchestrator rather than a simulator.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T07:15:47.735070+00:00— report_created — created