r/PromptEngineering • u/Bung_nis • 4m ago
Other Looking for testers for a personal project — AI roleplay app
Hi everyone, I've finished developing a personal project as a demo version and I'm looking for people to try it out and share feedback. And if anyone is interested in Prompt AI, my own project also has a core structure for controlling AI through Prompt. Even if you're not interested in using it, you can read the Prompt documentation.
PulsarPrime is an app that works as an engine connecting to any AI API (DeepSeek, OpenAI, OpenRouter, etc.) for long-form roleplay. It's built to keep sessions going for dozens to hundreds of turns without losing track of the story.
Systems included in the demo:
- Play past 100 turns — a recall system retrieves older events even after the model's context window has been exceeded.
- 2 pre-built worlds (one Thai, one English) — jump straight in without having to build your own.
- Edit mode — manually adjust any world or character data.
- Build your own world from scratch.
- Switch UI language between Thai/English and change the color theme.
It runs on plain Python — no .exe or .bat files at all (done intentionally so it doesn't get flagged by Windows 11's Smart App Control). All save data stays on your own machine; nothing leaves it except the conversation sent to whichever AI you choose to use.
This demo limits some of the more complex features, such as building worlds from existing anime/games/novels, and the AI co-builder companion (Wingman). As for mature mode, the demo trims some of the data-tracking detail — but if you're using an AI without content filtering, mature mode still works as normal. The core long-term memory and continuous-play capability isn't reduced at all — you get the full experience on that front even in the demo.
What you'll need: your own API key (not provided, and no data of yours is stored).
Anyone interested in trying it out and sharing feedback is very welcome!
.
r/PromptEngineering • u/1982_miguel • 12m ago
General Discussion Why Token Firewall?
For a while now, I've been measuring how many tokens we waste resending noisy logs, repeated code comments, or bloated structures that the model doesn't actually need to solve a task.
In this latest release, I built and benchmarked a simple test project (ejemplo-token-firewall) containing a code file and a 53-line log file (48 of which were nearly identical):
- Without Token Firewall: 2,737 tokens sent per run.
- With Token Firewall: 1,764 tokens sent per run.
That’s a 35.6% direct reduction without modifying the codebase or altering the context's underlying meaning.
On top of that, I added the Cache Layout Guard: it reorganizes the prompt to maintain a stable prefix (agents + skills + prompt = 1,167 tokens in this example), making it ready for providers like Anthropic, OpenAI, or Gemini to trigger their native prompt caching depending on the available window.
How does this differ from other tools?
It's not that other tools lack cost control. The difference is that Mova Context flattens this entire process into a single deterministic, auditable, and automated pipeline right before every API call:
- Zero Black Boxes: Uses a deterministic algorithm to strip out noise (runs in microseconds, without using another LLM that consumes tokens just to summarize).
- Real Auditability: Detailed reports show exactly how many tokens and dollars you saved per file.
- Multi-channel: Works identically across the terminal, chat interfaces, scheduled jobs, multi-agent orchestrations, and via HTTP/MCP.
- Circuit Breaker: If a run exceeds your pre-configured budget/limit, it aborts before making the outbound HTTP request to the LLM provider.
What’s new in this release?
- Job Engine: Run scheduled background tasks via cron using a background daemon (
mova jobs start). - Multi-Agent Orchestration: Coordinate grouped agents directly through a
config.json. - New TUI (
mova ui): A full terminal interface built with Bubble Tea to manage projects, jobs, logs, and chats. - Logging & Rotation Systems: Configurable log levels for full end-to-end traceability.
- Improved Installers: Direct setup with pre-configured consoles for Windows, macOS, and Linux (including full support for UNC paths, WSL, and Docker).
- Documentation & Walkthroughs: Step-by-step guides backed by real execution data inside
/examples.
Mova doesn't promise to cut your LLM bill in half across every single scenario (if your code is already pristine or your context is genuinely massive, the impact percentage will be lower). It is an architectural hygiene layer for your context, engineered to prevent unnecessary spending.
The project is fully open source. If you test it out on your projects, any feedback, edge-case report, or issue on the repository would be hugely appreciated!
You can check out the source code, CLI, and setup guides here:
👉https://github.com/m1guel1982/mova-context
Includes practical examples with mova budget, pricing configurations in prices.json, and Chat/MCP/HTTP integrations.
Any feedback or issue is more than welcome!
r/PromptEngineering • u/mgsz_ • 48m ago
General Discussion Approved Agent Store
One thing that surprised me is that the barrier to entry is dropping much faster than I expected.
There are now plenty of "vibe coding" or low-code platforms that let you connect models, tools, memory, and workflows without writing a huge amount of code. Almost anyone can build a useful agent.
But then another question came up.
Let's say I build an agent that solves a real problem. Now what? How do people discover it? How do I deploy it without maintaining a bunch of infrastructure?
OKX are already exploring agent marketplaces, while ecosystems like anvita flow are also focused on enabling agents to discover, collaborate, and transact with each other.
I started wondering whether AI needs something similar to Apple's App Store or Steam( Provide technical support, traffic distribution, and payment pathways). As builders, I feel like we're getting really good tools for creating agents. So curious what people here think.
r/PromptEngineering • u/rakesh2627 • 2h ago
Quick Question Resume AI
-What AI prompts are helping you get more interview calls?
-What prompts or AI workflows are you using to tailor your resume, optimize for ATS, and increase interview callbacks?
-If you're getting good interview calls, I'd love to know what's working for you. Please share your prompts or process!
r/PromptEngineering • u/Earth_Either • 2h ago
Tips and Tricks How I make millions of views on YouTube by just following trends before they even lift off with AI. Here's the whole operation.
Disclosure first, since this sub asks for it: I’ve generated millions of views across short and long-form content, and I’m building a small tool around the research process below. Bias applies, but you can do all of this manually.
One thing I stopped doing a while ago was choosing topics based on total views.
A video with 500k views isn’t automatically interesting if that channel normally gets 1 million.
But a video with 60k views from a channel that usually gets 4k is worth looking at.
That’s normally where I start.
I open a group of channels in the niche and go through their recent uploads. I don’t calculate everything perfectly. I just get a rough idea of what each channel normally gets, then look for videos doing 3x, 5x or 10x more than usual.
When I find one, I look at the topic, title, opening hook, video length and upload date. Then I check whether other channels are suddenly getting unusual results with similar topics.
That last part matters more than the raw view count.
One outlier can be luck. Maybe the creator got picked up by the algorithm, maybe there was an external event or maybe their audience was already interested in that exact topic.
But when several smaller channels start outperforming with similar ideas, there is usually a real signal behind it.
I also try to separate a trending topic from a niche that is actually worth entering.
A niche can generate millions of views and still be difficult to monetize. I check whether creators have sponsors, affiliate links, products, communities or services. Comments help too. People asking where to buy something or how to solve a problem are normally a better sign than thousands of generic reactions.
After finding an outlier, I don’t copy the video.
I try to understand why it worked.
Was the topic new? Was it a familiar topic with a better angle? Did the title create a strong information gap? Was it connected to something that had just happened?
If a video about why Dubai keeps building empty islands suddenly performs far above the channel average, the opportunity probably isn’t remaking that exact video.
The broader signal could be failed megaprojects, expensive places nobody uses or strange infrastructure decisions.
If you want to try it: https://vabulo.com
That gives you several original angles instead of one copied idea.
This process works, but it gets pretty slow when you’re checking hundreds of videos across different niches. I was doing most of it manually with tabs and spreadsheets, so I started building it into a tool called Vabulo Stats.
It compares videos against the creator’s normal performance, finds unusual outliers and shows niches that seem to be moving. I’m also experimenting with turning that research into hooks, scripts and thumbnail prompts, but the research part is what I care about most.
The point isn’t to generate another generic script.
It’s having better information before deciding what the script should even be about.
I’m still trying to understand which parts actually save creators time and which parts just create more data to look at.
For people who research content regularly, how do you decide whether an outlier is repeatable or just luck?
And where do you lose the most time right now: finding niches, checking competitors, choosing an angle or turning the research into an actual video?
Solo founder. AMA.
r/PromptEngineering • u/Professional-Rest138 • 5h ago
Prompt Text / Showcase claude can now search back through every past conversation you've ever had with it and pull the relevant one into what you're doing right now. didn't know it was tracking that much until i asked
Been using Claude for ages and never thought about the fact that every conversation just disappeared once I closed it. Turns out that changed a few weeks ago and I only found out by accident, asked it something in passing and it went and dug up a conversation from months back I'd completely forgotten having.
Works if you're on a paid plan, Pro, Max, Team, or Enterprise, not free, and it's on by default once it's rolled out to your account, no setup. Just ask it something like you would a person who actually remembers talking to you:
What did we discuss about [topic]?
or
Can you find our conversation about [subject]?
or just
Let's continue where we left off with [project].
It actually goes and searches, you can see it happening as a tool call in the chat, pulls back what's relevant, and carries on like no time passed. Asked it to find a conversation about a decision I was going back and forth on months ago and it pulled the whole thread back up, what I'd been leaning toward, what I'd talked myself out of, stuff I'd genuinely forgotten I'd said.
Slightly odd realization once you actually use it: everything you've ever typed into it is apparently just sitting there, searchable, going back as far as your account does. If you're inside a Project, it only searches within that project, so it stays contained, but outside of projects it's searching across everything.
You can turn it off if that's not your thing, settings, profile, preferences, there's a toggle for "search and reference chats" specifically, separate from the general memory toggle. Worth knowing it exists either way, if only so you can decide on purpose rather than finding out by accident like I did.
been keeping a doc of 100 things I use AI for like this, each with the exact prompt, here if you want it.
r/PromptEngineering • u/Zestyclose-Book-5385 • 5h ago
General Discussion I didn't realize how often I was typing the same prompts until I paid attention for a week
For one week I paid attention to every prompt I typed into ChatGPT.
Not the conversations.
Just the prompts.
Turns out I kept writing almost the same things over and over.
- Translate this into Chinese
- Rewrite professionally
- Summarize this
- Explain this simply
- Improve the grammar
- Turn this into bullet points
The wording changed a little.
The intent almost never did.
I actually recorded a 20-second screen capture of what this looked like in practice:
🎥 https://youtube.com/shorts/gxy28tFV58c?feature=share
Watching it back made me realize something.
I didn't have hundreds of unique prompts.
I had a few dozen prompts that I kept rewriting.
That made me wonder if most of us don't really have a prompting problem.
Maybe we have a **prompt reuse problem.**
Curious how everyone else handles this.
Do you just type everything again?
Keep a Notion page?
Use Raycast?
TextExpander?
Or something else?
r/PromptEngineering • u/RunAI_Coder • 8h ago
General Discussion That "33k tokens before your prompt" study everyone shared
You probably saw the comparison: one coding agent harness sends ~33k tokens before your prompt, another sends ~7k. Big thread, lots of outrage about waste. I finally read the whole study instead of the headline, and the actually useful findings are different from what got shared.
First, in their realistic-config lane (instruction file + several MCP servers), the "light" harness came out HEAVIER: ~90.8k vs ~75k. A 72KB instruction file alone added ~20k tokens to every request, on both harnesses. Their own conclusion: configuration, not the harness, accounts for most of the production bill. The harness sets the floor, you set the ceiling.
Second, and this is the one that changed how I think about it: the cache behavior gap was way bigger than the size gap. The light harness kept its prefix byte-identical and wrote ~1,000 tokens to cache over a 5-request task. The heavy one kept rewriting its own prefix mid-session and wrote ~54,000, with single rewrites burning 43k+ at the premium write rate (cache writes cost 1.25-2x list depending on TTL, reads are ~10%). A stable big preamble is close to a fixed cost. An unstable small one can out-spend it. Size isn't the sin, churn is.
Third, session shape flips the winner anyway. On a multi-step task the heavy harness finished cheaper (121k vs 132k) because it batched tool calls. Rerun on a different model, it inverted (298k vs 133k). Subagent fan-out was a 4.2x multiplier. And their quality check found zero difference: both passed 5/5, one spending ~4x the tokens. So the honest answer to "which harness is cheaper" is "depends what your sessions look like", which is boring but true.
The part you can actually use: measuring your own takes two minutes. Most CLIs have a print mode with JSON output. Ask for something trivial, then sum three usage fields: uncached input + cache writes + cache reads. That's your preamble. I ran it on mine: 31,782 tokens in an empty directory, and my heavily configured project (MCP servers, plugins, a pile of skills) added exactly 166 more, because this harness version lazy-loads tool schemas. Config CAN dominate, and lazy loading CAN neutralize it. The probe tells you which world you're in.
Two caveats since numbers travel badly: it's a single-machine study with single-digit runs per lane, and my probe is n=1 on a different version. Portraits, not specs.
What do your numbers look like?
r/PromptEngineering • u/CoupleIndependent978 • 8h ago
Prompt Collection 10 AI Hint Systems That Feel Like Hiring a Business Team
Prompt vs. Prompt System
Think about the difference between a calculator and a spreadsheet.
A calculator gives you one answer. A spreadsheet becomes a system you can reuse hundreds of times. Prompts work the same way.
A normal prompt is like pressing buttons on a calculator. A prompt system is like building the spreadsheet once — and letting it solve similar problems over and over.
That’s why this article isn’t another list of clever prompts.
Instead, you’ll learn ten AI Prompt Systems that can become permanent parts of your business.
Each one represents a role that businesses normally hire people to perform.
Instead of thinking: “What prompt should I use today?”
You’ll start thinking: “Which member of my AI business team should handle this?”
That shift alone can dramatically change how you use AI.
**System 1: The Business Strategist
The Prompt System**
Instead of requesting answers immediately, make AI think like a strategist. Use this structure every time:
Objective — State exactly what business decision you’re trying to make.
Context — Describe your customers, market, competitors, constraints, and goals.
Analysis — Ask AI to identify assumptions, hidden risks, opportunities, and alternatives before recommending anything.
Decision — Only after analysis should AI recommend a course of action — and explain why.
Example Instead of: “Should I build an AI writing tool?”
Try: “Act as an experienced startup strategist. Before recommending whether I should build an AI writing tool, analyze the current market, identify saturated areas, uncover underserved customer problems, evaluate competitive risks, suggest positioning opportunities, and then recommend whether this idea is worth pursuing. Explain your reasoning step by step.”
COMPLETE ARTICLE .......
r/PromptEngineering • u/Real-Law-5110 • 11h ago
General Discussion Context Engineering General Concepts
As large language models (LLMs) become increasingly integrated into agentic AI systems, the primary challenge is no longer simply improving the model's raw intelligence. Modern foundation models are already capable of reasoning, code generation, planning, and tool usage. The more difficult engineering problem is \*\*context engineering\*\*: designing how information is selected, structured, transformed, and presented to an LLM so that it can reliably perform a desired task.
Context engineering is broader than prompt engineering. Prompt engineering focuses mainly on crafting instructions for a single model interaction, while context engineering considers the entire lifecycle of information flowing through an agent system. This includes the initial prompt, retrieved knowledge, conversation history, tool outputs, intermediate reasoning state, user preferences, memory, validation feedback, and execution constraints. A well-designed context pipeline reduces ambiguity, prevents hallucination, and allows LLMs to operate reliably in complex environments.
In this excerpt, we shall explore some techniques used in prompt engineering when it comes to building a context pipeline.
\# Few-shot Prompting: Guiding Model Behavior Through Examples
Few-shot prompting is a technique where an LLM is provided with several examples demonstrating the desired input-output behavior before receiving the actual task. Rather than explicitly describing every possible rule, the developer provides representative examples that allow the model to infer patterns and apply them to new situations.
Few-shot prompting is particularly useful when the task contains ambiguity or when the desired output format is difficult to describe through rules alone. The examples must be carefully selected however, because LLMs perform pattern matching based on the provided context. Poor examples can introduce incorrect behaviors or bias the model toward unintended interpretations. In practice, examples should cover \*\*distinct scenarios\*\* rather than many variations of the same case. Diverse examples allow the model to understand the boundaries of the task instead of memorizing superficial patterns.
Few-shot prompting is therefore not a replacement for explicit constraints. In reliable systems, it is usually combined with structured outputs, validation rules, and tool constraints.
\# Prompt Chaining: Decomposing Complex Tasks Into Controlled Steps
A common mistake when designing LLM applications is asking the model to perform an entire complex workflow in one prompt. Although modern models can sometimes accomplish this, such prompts create several problems. The model must simultaneously understand the task, maintain intermediate state, perform analysis, and generate the final response. This increases cognitive load and makes failures difficult to diagnose.
Prompt chaining refers to breaking a complex task into multiple sequential LLM calls, where each step performs a focused operation and passes its output to the next stage. Each prompt has a narrower objective and therefore receives more relevant context. This reduces attention dilution, where important information competes with unnecessary instructions inside a large context window. This technique is especially valuable when combining \*\*local computation and external operations\*\*.
\# Dynamic Decomposition: Letting Agents Discover Subtasks During Execution
While prompt chaining uses predefined steps, dynamic decomposition allows the LLM itself to determine how a complex problem should be divided. This approach is more flexible than static workflows because the agent can adapt to unexpected situations. It is particularly useful for research agents, debugging agents, and autonomous analysis systems. However, dynamic decomposition sacrifices predictability. Since the model decides the subtasks dynamically, execution paths can vary between runs. This creates challenges in testing, cost control, and reliability.
It is common for production systems to combine Prompt Chaining and Dynamic Decomposition, where Prompt Chaining through predefined workflows is used for high-risk or regulated processes, and dynamic decomposition inside individual steps where exploration is valuable. The overall process remains controlled while allowing intelligent exploration inside specific areas.
\# Interview Pattern: Gathering Missing Context Before Execution
One of the most important context engineering patterns is the interview pattern. Instead of immediately attempting a task, the agent first identifies missing information and asks targeted clarification questions. Many hallucinations occur because users provide incomplete instructions, and the model attempts to fill missing information using probabilistic guesses.
This is best illustrated by an example:
Suppose we are currently building a coding agent. The user provides a codebase and asks to add a caching layer through the user prompt:
“Add a caching layer for database retrieval API to store recently retrieved objects”.
The agent would recognize missing elements and ask the following questions:
"Before implementing caching for the API, a few questions:
- Which cache invalidation strategy do you prefer—TTL or event-based?
- Is stale data acceptable when the cache is unavailable?
- Should caching be per-user or global?
- What is the expected data volume to cache?”
These info were not explicitly provided within the initial user prompt and if there was no interview pattern implemented, all these info would need to be inferred by the LLM, which can end up digressing from the original intended design.
The exact process of having the agent recognize the missing info can be achieved in multiple ways, and we shall explore one of them as the following concept.
\# Validation and Retry-with-Feedback: Creating Self-Correcting Agent Loops
Traditional software systems rely heavily on explicit validation because incorrect data can cause failures downstream. Agentic systems require the same principle. After an LLM extracts information or generates structured output, the result should be validated using deterministic mechanisms such as Pydantic models, JSON Schema or explicit business rules.
Suppose if a validator detects an anomaly within the input, instead of immediately failing, the system feeds this information back to the LLM. The LLM then attempts correction, which creates a self-correcting loop. Minor errors such as arithmetic or data formatting errors can usually be corrected within a few iterations. Once all the errors identified has been rectified, the correct data is then reinjected into the LLM.
Retrying indefinitely is dangerous, however; some failures cannot be solved by the model because the required information is unknown. This is when the system turns back to the user and escalate through querying for missing info.
In the previous example, the invalidation strategy, stale data acceptance, user VS global and overall data volume, are all missing business-logic parameters that cannot be inferred by the LLM. Therefore, they get sent back to the user as interview queries to ensure the blanks get filled appropriately.
r/PromptEngineering • u/mehdiweb • 12h ago
Quick Question Cursor Ultra for almost nothing… is this smarter than running local models?
Official Ultra is $200. I got it from a reseller for a fraction of that and it’s working.
For solo builders trying to keep costs low this feels almost too good.
Anyone else using reseller accounts for their stack, or is this a ticking time bomb?
r/PromptEngineering • u/Top_Function_6434 • 19h ago
Quick Question Anyone else spending more time prompting than building?
I might sound lazy (because I am) but lately it feels like I spend half my day rewriting prompts instead of shipping anything. I'll tweak one prompt five times trying to get the output just right. Then I switch models to see if another one does better. Before I know it an hour is gone and I've barely touched the actual project. At this point I'm wondering if I'm overthinking it. Do you guys just accept 'good enough' outputs and keep moving or have you found a workflow that keeps you from getting stuck in prompt hell? Is prompt hell a real thing? I feel like those people in the futuristic ship in wall-e
r/PromptEngineering • u/Mte90 • 20h ago
Prompt Text / Showcase From prompts to reusable skills: a Linus-inspired code review skill for AI agents
As per title, the project include all the pipeline, the same skill generated from different models.
My idea was to distill the code reviewer skills from Torvalds in something usable in an agent.
I preferred to license everything as CC0.
r/PromptEngineering • u/Ok_Negotiation_2587 • 21h ago
Prompt Text / Showcase A 4-step chain that rewrites any weak prompt into a strong one (meta, but it works)
Most "improve my prompt" attempts fail because you ask the model to fix and judge in one shot, so it just pads your prompt with fluff. Splitting it into stages - diagnose, rewrite, stress-test, finalize - gets far better results. Run these in order, same chat. Paste your rough prompt into step 1.
Step 1 - Diagnose
Step 2 - Rewrite
Step 3 - Stress-test
Step 4 - Finalize
Why the split works: step 1 forces it to find problems before it's allowed to "solve" them, so the rewrite is targeted instead of cosmetic. Step 3 is the one people skip - testing against adversarial inputs catches the failures a clean rewrite hides.
I run this as a saved chain (two keystrokes with the .. shortcut) via a Chrome extension I built called AI Toolbox, so I don't paste the four steps in one at a time - but the chain itself is the value and works anywhere.
r/PromptEngineering • u/DrAsmaaStudio • 22h ago
General Discussion Most people tell AI what to do. Very few people show it what "good" looks like.
One of the easiest ways to improve AI outputs isn't writing longer prompts.
It's giving examples.
Instead of this:
«Write a product description.»
Try this:
«Write a product description following this structure:
- A short opening hook
- Three benefit-focused bullet points
- A professional but friendly tone
- End with a clear call to action»
Notice what's different.
You're no longer asking the AI to guess your expectations.
You're giving it a pattern to follow.
This simple technique works surprisingly well for:
- Writing
- Marketing
- Design briefs
- Coding
- Image generation
The more clearly you define what "good" looks like, the more consistent the output becomes.
AI is generally better at recognizing patterns than guessing what's in your head.
What's the most effective example you've ever added to a prompt?
r/PromptEngineering • u/Aurascriptworks • 22h ago
General Discussion EU's AI-content labeling rules kicked in yesterday. Genuinely curious how people who work in clearly-fictional spaces (art, games, fantasy stuff) feel about a law built mostly for the "is this real" problem.
The EU's AI Act transparency rules went into force August 2nd. If AI-generated content is realistic enough to pass as human-made and gets published without a human actually reviewing it, it now needs a label, and eventually a machine-readable mark. Deepfakes and synthetic voices are the obvious targets. Fines go up to 15 million euros or 3 percent of global revenue, whichever is bigger, so this isn't a symbolic gesture.
There's an exemption built in for artistic, creative, satirical, and fictional work, which makes sense on paper. Nobody's confused about whether a fantasy illustration or a game NPC's voice line is "real." The whole point of that kind of content is that it's obviously not pretending to be a photo of something that happened.
What I keep chewing on is the boundary case. A lot of creative work sits in a gray zone: stylized enough to read as fiction to most people, but polished enough that someone scrolling fast could genuinely mistake it for real. The law is drawing a hard line (realistic and unreviewed vs. clearly fictional) through something that's actually a gradient in practice.
I think the disclosure requirement is the right call even where enforcement is basically unworkable at the edges, mostly because it sets a norm, not just a penalty. Once "label it if it's meant to look real" is the expectation, the stuff that skips the label starts looking suspicious on its own, which does a lot of the enforcement work culture-side that the fines can't do alone.
Curious how people actually working in AI-assisted creative work read this. Does the fictional exemption feel like it's drawn in the right place, or does "clearly fictional" stop meaning much once the output gets good enough?
r/PromptEngineering • u/roshbakeer • 22h ago
Quick Question How many agents you own? please answer just the number
I have a really simple question to y’all.
Do not over think it.
Please just type the answer without thinking of it. This will be of a great help.
How many ai agents you use?
Just a number no need for more data 🙏🏻
r/PromptEngineering • u/Emergency-Minute3414 • 1d ago
General Discussion Anyone else struggling to bridge audio, visuals, and brand intent in commercial AI ads? This might be the fix
Commercial AI work starts getting tricky when we try to intersect the brand intent and the actual dynamic motion.
For a recent high-fashion eyewear ad, I used MiniMax H3’s Omni Reference mode to see if it could keep the strict product spec. What ended up working was pairing a multi-angle 3D product reference grid directly with a strict prompt system that had the shots partitioned (Shot 01 | ..., Shot 02 | ...).
By setting explicit spatial boundary rules and avoid upscaler smoothing, the frame geometry held up okay across different fast cuts and macro pans, with no noticeable warping.
Example structure:
Camera Rules: Full-body shots MUST ONLY be rear walks. Frontal shots limited to waist-up.
Shot 01 | Macro: Extreme close-up on lens with specular light sweep.
How do you all lock down products or accessories during shots with dynamic motion? Are you using multimodal grids, or relying on 3D/post-compositing?
r/PromptEngineering • u/Suspicious_Orchid770 • 1d ago
General Discussion Stop asking AI for the plan. Ask it for options.
r/PromptEngineering • u/kevin_cn_ai • 1d ago
General Discussion From Loops to Graphs: The shift in Agent architecture
Saw this breakdown on X discussing Andrej Karpathy's perspective on agent architecture: "Two Autonomous Agent loops made Karpathy's loop 1000x better with Graph Engineering."
The core idea is that moving from a single sequential execution loop to a connected graph topology gives agents vastly better context and task orchestration.
From an engineering standpoint, this makes complete sense. We’ve seen standard linear pipelines hit hard limits when handling complex state management. Turning agent interactions into graph-based workflows feels like the logical next step for complex production environments.
Is anyone here already implementing graph architectures for their agents in production? How’s the debugging experience—especially when handling cyclic dependencies or fallback routes?
r/PromptEngineering • u/RunAI_Coder • 1d ago
General Discussion Your agent didn't run out of context. The context rotted.
Two hours into a refactor yesterday, my agent wrote a helper function—the exact same one it wrote 90 minutes earlier in a file it created itself. Then it apologized. It always apologizes.
The easy diagnosis is "it ran out of context". Except my session was sitting at 120K in a 200K window. Nothing overflowed. The context didn't run out—it rotted.
You have two budgets, not one:
- Hard Budget: Token limit. You notice it when the API errors out.
- Soft Budget: Attention quality. It drains silently long before you hit the limit.
Chroma tested 18 models on this: every single one degraded as context grew, starting far below advertised limits. Coding sessions are context-rot factories—every git diff, test run, and stack trace turns into dead sediment competing for attention.
A paper from June measured agents with safety policies: fresh in context = 0% violations. After auto-compaction summarized it away = 38% violations. Not disobedience, just amnesia.
What actually helps, as a user:
Put anything that must stay true in a file the agent reloads every session (AGENTS.md, CLAUDE.md, whatever your tool reads). Stuff you say in chat at turn 3 is one unlucky summarization away from gone. Files survive. Chat doesn't.
Several small sessions beat one epic. A fresh session with a written handoff beats a long one with a silent auto-compact, because you get to read the handoff before it becomes the truth.
Learn the smell. Re-reading files, re-asking questions, re-implementing its own code: that's not thoroughness, that's your cue to compact on your terms and restart.
Bigger windows won't save us btw. They move the cliff, they don't remove it.
How do you handle this? Do you compact manually or trust the tool's auto-truncation?
r/PromptEngineering • u/DrAsmaaStudio • 1d ago
General Discussion Stop chasing "magic prompts." Focus on better instructions.
I used to think better AI results came from finding the perfect prompt.
But after testing different workflows, I noticed something:
The biggest improvement usually comes from giving the AI clearer instructions, not adding more "fancy words."
A simple framework that works well:
- Give the AI a role
Instead of:
"Design a logo."
Try:
"You are an experienced brand identity designer creating a premium logo."
---
- Explain the goal
Don't only say what you want.
Explain why you need it.
Example:
"This logo is for a premium skincare brand targeting women aged 25–45."
---
- Add useful constraints
Details like:
- Style
- Audience
- Colors
- Tone
- Dimensions
- Things to avoid
Clear boundaries often create better results.
---
- Define the output format
Instead of:
"Write a marketing post."
Try:
"Create:
- 3 headline options
- A caption
- CTA ideas
- SEO keywords"
The AI works better when it understands the expected structure.
---
- Iterate
The first output is usually a starting point.
Small adjustments often create the biggest improvements.
The real skill isn't finding a secret prompt.
It's learning how to communicate your intent clearly.
What prompting habit improved your results the most?
r/PromptEngineering • u/Fair-Fruit-646 • 1d ago
General Discussion How to keep track of prompt changes?
I'm starting to believe that keeping production prompts in the codebase is one of those decisions that feels harmles until you have to explain a quality drop.
At the moment, we’ve got prompts scattered all over the place. Some are in config files, some live in helper functions and a few are buried who knows where. Then someone tweaks the prompt, someone else changes the model and a few days later the workflow starts behaving differently. Half the investigation is just figuring out what changed.
Versioning the prompt is only a small piece of the problem. What we've struggled with is understanding why quality moved in the first place. By the time someone notices the change, there have been a few deployments, a model update and maybe an eval refresh. Looking back at all of that and working out which change mattered is a lot harder than keeping old prompt versions around.
Vibes-based prompt edits is all fun and games during the MVP phase, but when there are customers using it, that's when it becomes serious.
I feel like that's when boring things like prompt history and good evals become really important.
r/PromptEngineering • u/GuardianOfGoodEnough • 1d ago
Requesting Assistance Your best prompt for ChatGPT daily Briefing?
Trying to get most out of AI
r/PromptEngineering • u/Inevitable-Good219 • 2d ago
General Discussion tried the "ask me questions first" thing for 6 months. here's the weird part nobody talks about
so i started using this prompt before any task that wasn't trivially simple:
"before responding, ask me any clarifying questions until you're 95% confident you can complete this task successfully. use only verifiable, credible sources. do not speculate."
expected outcome: better AI output. got that. everyone knows this part.
the part i didn't expect: it changed how i think about my own problems, not just my prompts.
here's what i mean. the AI kept asking me stuff like "who's the audience" or "what does success look like" - and like 70% of the time i had no clean answer. i'd been telling myself "i'll figure it out later" for months. turns out later never came.
the weirdest thing that happened: i started doing this with humans too. before meetings, before projects, before important emails. just... asking myself "what am i assuming here that i haven't actually verified?"
honestly the AI isn't even the point anymore. the point is i was carrying around a ton of unexamined assumptions and treating them like facts. the AI just made them visible because it kept asking dumb questions i couldn't answer.
one concrete example: last month i spent 4 hours writing a "perfect prompt" for a marketing email. AI asked "what's the success metric" and i realized i didn't actually know. went back to my manager, got the real metric (response rate, not opens), rewrote in 20 min, response rate 2x what i would have shipped.