▲ 5 r/AIAgentsInAction+1 crossposts

Do you use agents to write the LLM prompts in your code? What’s your setup?

I’m building a coding-agent workflow that designs, writes and tests LLM calls (classifiers, extractors, tool-using agents) in a real codebase.

I’m curious how you write and test the system prompts inside those calls, the ones that live in the code, not the ones you type into a chat.

My setup

  • A spec records each LLM call’s input size and call volume, and I pick the model size/cost tier from that.
  • One agent writes the system prompt from a schema, a small per-model profile (which structured-output features the target model supports) and the spec.
  • A second agent checks the prompt against a fixed rule list (model, sampling, untrusted input). It catches real problems.

The problem: it loops, coining it loop hell. In one run I accepted a fix, the writer reworded the prompt, the checker found a new mismatch, and that went four rounds before I stopped it. Loop hell. The same rule was written in several places (schema, prompt, spec), so fixing one made the others disagree, and a model change means redoing the prompt too.

What I’d like to know

  1. Do you use an agent or a skill to write the prompts in your code, or do you write them yourself?
  2. If you use a checker, is it a second agent, a rule list, or evals?
  3. What ends the loop for you? What tells you a prompt is done, and who decides?
  4. How do you measure whether an agent-written prompt works: golden test cases, an LLM judge, production metrics, user feedback?
  5. Where does each rule live (schema, prompt, spec, tests), and how do you stop them drifting apart?

If you use a named skill or plugin for this, I’d like to hear which one and how it’s going. Thx

reddit.com
u/Key_Horse_8632 — 5 days ago

Help. Preparing for an AI-assisted coding interview. How did you approach yours? How to succeed in the interview.

I have an AI-assisted technical screen coming up. I have been told, it is a small repo, and a couple of tasks that build on each other.

They say they're evaluating how I use AI, how I break down the problem, and how I communicate while working. Interview is time boxed for 1 hour.

If you've done one of these, either as the candidate or the interviewer:

  • What separated strong candidates from weak ones?
  • How did you split time between prompting the AI and reading or verifying its output?
  • Any mistakes to avoid?

Thx.

reddit.com
u/Key_Horse_8632 — 7 days ago
▲ 3 r/AISearchLab+1 crossposts

For folks shipping AI search / RAG in production at work (not POCs)

Not POCs or experiments-just trying to understand adoption at actual companies.

Reply with:

  • Yes - we're using agentic patterns in production
  • No - still traditional RAG / embeddings
  • Mixed - some of both

Just need the signal on whether this is real or niche.

reddit.com
u/Key_Horse_8632 — 10 days ago