r/aipromptprogramming

▲ 38 r/aipromptprogramming+32 crossposts

OpenSourcing TrueForge Agent harness : Expect feedback from community on the agent loop

Hey folks 👋

We just open sourced TrueForge, our vendor-neutral agent harness for building general-purpose agents.

It handles the runtime pieces that get painful quickly : context management, tool/MCP execution, subagents, sandboxing, approvals, persistent state, and more.

We also benchmarked the harness itself. With the same Opus 4.8 model, TrueForge delivered a similar solve rate at ~30% lower cost than Claude Managed Agents. Switching to an open model pushed that to ~75% lower cost on the same benchmark.

Would love feedback from people building agents.

⭐ Star the repo: https://github.com/truefoundry/trueforge

📖 Read the launch article: https://x.com/truefoundry/status/2090081376330715176

u/Upbeat_Pea8961 — 9 hours ago

Wordle but AI prompting challenges

Every week there's one prompt. This week's is "build a game you play with one button"

You have a certain amount of credits in game to build and then people vote on each others build.

It's free and there's no signup to play. Genuinely curious what people think of the format, especially since it takes some more effort than wordle.

shorts.bridge-jobs.com

reddit.com
u/Accomplished_Try1207 — 8 hours ago
▲ 6 r/aipromptprogramming+3 crossposts

Turning LLMs into interactive 3D historical maps using Wikidata QIDs and URL compression

I built this client-side WebGL application to demonstrate a zero-backend Prompt-to-Artifact pattern, turning unstructured conversational LLM outputs into spatial narrative visualizations.

A custom prompt forces models like ChatGPT, Claude, or Gemini to act as data compilers rather than text generators.

The entire sequence of events (factions, timelines, descriptions, locations) is serialized directly into a compressed URL payload.

When opened, the WebGL frontend parses the URL hash in memory and reconstructs the animated 3D timeline without hitting a database or server backend.

Try it out:

https://mundu.app/create.html

u/Silent-Assumption292 — 7 hours ago
▲ 43 r/aipromptprogramming+26 crossposts

[Help needed] I need advice about a new video on the Play Store for my app

This is the app (called "LWP+"), and I've shown here the video that I've published there:

https://play.google.com/store/apps/details?id=com.lb.lwp_plus

At first I was happy about what I created on the video, but then I thought that it looks more like a tutorial here, instead of maybe focusing on what's the most interesting. Surprisingly, ever since I've published the video, it actually got quite some views already (29 after 2 days), despite the fact it's a bit of a niche app. Still, I think maybe it can be improved.

I want to know what you guys think about the video (which has audio, BTW).

Here's about the app:

It's a live wallpaper app, that has these features:

  1. Allows showing color/image/animation/video as content (users choose the file from the file system). No special effects so some users that complain about the dimming/zooming effects actually like using it. Users can also choose whether it should scroll or the type of automatic cropping.

  2. Allows (some) control over the Material-You colors of the OS, as it lets users to choose the colors to report the OS about what's on the wallpaper. This means that like on Android 17, users can choose the colors they want (if the OS supports it) despite the content not matching it.

  3. Setting of double-tap to lock the screen. Some launchers don't offer this, so I added it to the app too.

  4. Some extra flags that (on some devices) should affect colors further, such as black/white text and/or black/white icons on status bar and/or lock screen and/or launcher.

The app is completely free, ad-based. Users can remove the ads including by just watching full screen ads. Originally it was created to offer dark-theme on devices as it wasn't a toggle on the OS settings, and was based on the colors of the wallpaper.

u/AD-LB — 19 hours ago

Looking for new beginning Teammates!!!

Hi I’m tin age 18 and I am just getting started at college, and I had been thinking about ai prompting for software development might be a genius way for side hustling, I’ve currently got a software planned, which could be a great social software, high risk but very high cost and I’m looking for ppl to start a team, trustworthy and just vibe coding with chill guys at the similar age. Reach out to me on Reddit dms and we will start getting on discord.

reddit.com
u/BoringTin — 1 day ago

I treat LLM as a primitive language. Best thing I do.

I treat LLM as a primitive language. Best thing I do.

>How I went from $50/month and 143 bugs per loop to $20/month and less than 8 findings per spec.

I work with LLM in a different way. I don't treat it as an intelligent agent. I treat it as a primitive language, with conditional and deterministic typing. If it doesn't pass the type, it doesn't pass. Simple.

My harness is programmatic. It has tooling for my agent loop. And I organize everything in a modular structure, ECS and FSM. And I'm gonna tell you why it helps.

What was slowing me down before

The mistake that made me change everything is simple, and a lot of people go through it. Everything returned success, or kept going with no empirical proof. Exit code zero, ok message in the terminal. It looked like it worked. In practice it had created nothing. No artifact, no log, no proof. The process died stateless. It had foundation, had the right pieces, but no wiring.

That's when I understood that process success is not delivery proof. I needed mandatory observable proof.

https://preview.redd.it/vg1swzoop6kh1.png?width=1920&format=png&auto=webp&s=ba93244715286036c437d4f9f2af9a74ca36370a

How I think about prompts today

I refine the idea a lot before. My production prompt has 4 parts, always in this order. I never change it.

1. Introduction. What I want to do, full description, how I want it to work, what I want it for, which stacks and infra I want to work with. I never inform code or file that I'm not sure about.

2. Mandatory. What has to be followed to develop the structure. Rules, methods, alignments, guidelines and delegations. It's the limit.

3. Core. What I want it to have and to do. As descriptive as possible of all flows. That's where the behavior lives. Not only that but: design, structural architecture, behaviors to follow, style...

4. Expected results. What I expect as delivered functionality, how I expect it to look.

I ask to deliver in a deterministic, modular and expandable scope way. Parsed into an opinionated structure in json. This json becomes my base-core prompt.

How I anchor the idea

After the core I don't go straight to coding. I create all the research part first, using my tool hordts (available on github) to refine online research. With that I do a brainstorm on top of the core anchor. Only then I idealize and generate the full planning to develop the complete spec-driven, E2E, of everything the project needs, also in json structure. My cli uses json as database. A tool for handling spec-driven + agentic pipeline.

Each spec has flags defining skills, agents and tools access, the context, rules, expected results and what the spec will do. The context here is important: it's the prompt that the agent will receive with everything it needs for its run execution. Files it will use, stacks, tags, imports, syntax. Without needing to consult the codebase. It goes straight from that starting point to production.

That's why the LLM doesn't keep grabbing unnecessary context. It works in loop per phase, spec and subject until it delivers 100% polished and functional and moves to the next.

How I separate things

I separate agentic workspace from repository. One git to control the workspace and one git to control the repository, just the project itself. Control by git tree for tracking, worklog, versioning and branches. PR, commit and diff analysis are heavily used if an internal error happens, that's where analysis of what was really done is born. One controls the process, the other controls the product. If you mix it becomes a mess and you lose what is AI usage and what is the project itself.

How each task runs in practice

Each spec runs with multiple phases when possible, with multiple tasks. And each task is an agentic pipeline that audits if necessary what it needs to execute the next action. It's checking what needs to be used, planning what needs to be done, executing the plan, validating that everything worked and moving to the next, otherwise go back two steps.

It can be done in parallelism and multi concurrency, can have or not dependents. And when it identifies repetition that can be programmatic, it creates algorithm and script to automate without LLM usage. I don't spend tokens where it can be solved with code.

The analysis that saves me

I use modular linear regressive analysis to hunt bugs. I go linear, part by part, going back through the steps and necessary components. I check if the invariant of that component still holds after the last spec. If there was regression, if it broke something that worked before. If there's a counterpoint that the implementation ignored.

In every run there's also analysis of gaps, findings, counterpoints, analytical regression, convergence and non-functioning. All on the fly. Skills, agents, test scripts, tests are produced on the fly when needed, grounded without assuming anything. Spec-driven can be auto incremented according to necessity. The focus is to deliver each spec 100% functional and with no bug before the next run.

Why tests, observability, DevOps and anima are not extra but necessity

For me it's not final phase. Test is gate, only way to prove that what is being done, simply, is being done. If there's no executable proof, it doesn't advance. Observability is ledger, worklog, tracking. If it's not registered, it didn't happen as expected. DevOps is the dual git, it's workspace control. Anima is visual proof of state transition. If state changed and I can't observe it, the transition is invalid, and correction must be guaranteed.

How much it costs and how much it converges today

Before without this system I spent $50 per month. Today $20. Convergence rate per run before 73%, today 92% and up. Bugs before per loop 143, today less than 8 findings per spec in multiple loops. Execution time varies, but agent flow is continuous, so a spec can have flows even well designed depending on what needs to be delivered up to 3h straight and spending less than $0.50. Dead code almost minimal. Before had higher frequency, today the loop already enters almost fully polished until functionality without bug, analyzing and removing the unnecessary.

How I optimize cost

Frontier I use for core, for research and for spec-driven. For development I use medium model with less cost. As it already has everything it needs to work, in loop until getting the result it gets much cheaper.

And after total production, frontier can analyze the whole load again to hunt bugs and add a memory structure of findings. With all findings, I create new spec-driven planning and run another full pipeline again. It's the second loop, and basically the last spec-driven loop, the rest are punctual polishes or refinement.

In the end my results got absurdly good. Take it, see if it helps you.

If you want to talk about harness, spec-driven and ECS/FSM, hit me up. hordts tool is on my GitHub.

Agent hub views - 1 ancor file with findings and 1 prompt.

https://preview.redd.it/yb796prq66kh1.png?width=1711&format=png&auto=webp&s=3d67a618ba1e1cfa9c0e4b79a2d6f967f7169be3

'''create plan/specdriven for this report @/docs/superpowers/frontend-audit-2026-08-18.md (This source has already been validated, no need to revalidate, just execute the processes for correction) from today/yesterday.
use pipectl and goalctl + subagent driven.'''

https://preview.redd.it/200ooomu66kh1.png?width=1883&format=png&auto=webp&s=3c93b6a5defe3c1f583f508561b30b320fb4a29d

reddit.com
u/oGregVallim — 1 day ago

Do we want AI that acts smart or AI that feels real?

There's a debate I've been seeing more around some communities lately: should we keep optimizing for intelligence, or start caring more about whether an AI has consistent preferences, opinions, and personality? At first it sounds like a choice between two things.

You have the insanely capable AI that can reason through a complicated problem but feels like an empty shell and then you’ve the agent that's fun to talk to, has strong opinions, remembers your preferences, but falls apart when you give it something difficult to do. I don't think it has to be one or the other.

What I find more interesting is why some agents feel consistent in the first place. A lot of people try to solve this by adding personality to the prompt like give the agent a SOUL.md, tell it to be opinionated, give it some quirks, maybe tell it what it likes and doesn't like.

That can work for a few conversations. But after enough interactions, it usually starts feeling fake where the AI says one thing today and contradicts itself two weeks later cuz none of those preferences are grounded in anything.

I think the more interesting version of personality comes from what the agent really remembers. If an agent has a persistent history of what worked, what failed, decisions it made, mistakes it repeated, and how it handled unusual situations, you start getting something much closer to a consistent character.

That's why I've been thinking more about context architecture than prompt engineering lately. I found this breakdown on context engineering vs prompt engineering for AI agents: https://www.firecrawl.dev/blog/context-engineering and one thing that stood out to me is that keeping an agent's context useful over time is a much deeper problem than just writing a better system prompt.

Maybe that's also where the "AI that feels real" part eventually comes from by not pretending the model has desires or feelings but by giving it enough persistent state and history that its behavior develops some continuity. bcuz I don't really want an AI that's just "smart" but I also want one where I can eventually say, "I know why you made that decision that's how you usually approach these problems." and that for me feels much more useful than another 5% on a benchmark, lmk your thoughts.

u/Impossible-Air4851 — 1 day ago

Need a Proper Roadmap to Become an AI Engineer 😔

Need some guidance 😔

I’m trying to learn AI Engineering and build a career in this field, but I’m honestly confused about where to start and what to learn first.

If anyone can share a proper roadmap and good free/paid resources to become an AI Engineer, I’d really appreciate it. I don’t want to waste time learning random things.

Any guidance from experienced AI Engineers would mean a lot. 🙏

reddit.com
u/ismart_shanku — 2 days ago

virtual receptionist Australia....

I’ve been looking into how AI virtual receptionists are being used by businesses in Australia. The idea is pretty simple: an AI system can handle incoming calls, answer common questions, take messages, and sometimes help with appointment scheduling.

I’m curious how Australian businesses feel about this. Would you be comfortable having an AI answer your business phone, or do you still prefer speaking with a real receptionist?

u/No_Career_1828 — 3 days ago

Prompting tips for a AI-powered Discord Bot

Hi! I'm going to (re)create a Discord bot (for my personal server) using an OpenAI-compatible provider, and would like to know what you think it's the best practices for the AI to handle things like multi-user conversation, memory, giving extra contexts (like user IDs, channel names), not anything on code-level but more on the prompt/what to send in each chat completion/response, etc.

reddit.com
u/the_vico — 3 days ago

Prompt for talking to great humans that died ?

Hello! So i somethimes use gpt for some kind of therapy conversations. I had this ideea that maybe you can prompt it to be similar to some great minds that you do not have access to, like Carl Jung. Do you think that would be possible? Does someone have any sugestion for a prompt like that? Thank you!

reddit.com
u/Anxious_Throat8918 — 4 days ago

Markdown fatigue

I'm using AI agents (Claude Code mostly) for coding quite extensively these days. Used correctly it is a great boost of throughput. My standard workflow is to use 3 git worktrees where I run one CLI in each.

With that said, I've started to more and more feel fatigue from reading markdown. Claude in particular is exceptionally good at being very wordy. To be more specific, during a day I read:

  • Plans I have produced
  • Messages back and forth in the terminal
  • PR reviews that I make
  • Automated PR reviews (made by git copilot)
  • PR descriptions that others are producing
  • Screen dumps from colleagues where AI explains something.

This in combination with having 3 different contexts / threads running at the same time in 3 different worktrees is really exhausting. I've experimented with using different skills etc. for example caveman to keep down the wordiness of the model, but haven't find a solution that solves the core of the issue.

Anyone feel the same? If yes, how do you tackle it? (and oh god, "tackle it"... I'm starting to write like an AI lol)

u/adamramberg — 6 days ago
▲ 68 r/aipromptprogramming+16 crossposts

The problem with MCP-based codebase context tools: the model just doesn't call them

Something I kept running into building agent tooling: giving an agent an MCP

tool that *could* answer a question about the codebase doesn't mean it will.

Tool-call decisions are probabilistic, not guaranteed. The agent has to

recognize it needs the tool, remember it exists, and choose to call it over

just grepping. A lot of "codebase context" products are architected as

exactly that: an MCP server sitting in the tool list, unused more often than

not.

Graft's bet is different: don't wait to be asked. It hooks directly into

Claude Code. The matching nodes get pulled into every prompt automatically,

editing a file surfaces its dependents inline, and the graph re-syncs itself

in the background after every edit, all without the agent deciding to invoke

anything. Same reason Chrome doesn't ship with an ad blocker built in: the

core stays general, and the extension handles the specialized job. Graft is

that extension for context.

Underneath, it's a typed graph, not a vector index: tree-sitter builds a

deterministic per-symbol graph (no model call), and an optional `--deep` LLM

pass groups that into markdown nodes with typed links (`depends_on`, `uses`,

`produces`) an agent follows like any other file. Method calls resolve

through the receiver's type (constructor assignments and type annotations,

not just call-site name matching), so a common method name doesn't pull back

every unrelated method with that name across the codebase.

The claim: up to 4× cheaper and 3× faster, with better or no loss of

correctness. Setup: 162 runs, two repos (graft itself + a real Node/Express

auth service), 3 trials each, single-file and multi-file questions split

evenly. Three variants of the same Claude Sonnet 5 agent: cold (explores from

zero), push (context bundled up front), pull (MCP tools, nothing injected,

paid for only when asked). A separate Opus 4.8 model graded correctness with

a required-keyword floor, so a fast-but-wrong answer couldn't win by being

fast. Cost is cache-aware (reads ~0.1×, writes 1.25×) to match real billing.

Results: push cut cost 32%, tool calls 46%, latency 60%, at equal correctness

(93% both, no loss). Pull gave up most of the speed but correctness jumped

to 98%, +5 over cold, the "better" half of the claim, and worth noting: pull

*is* the MCP-tool-list approach, and it still worked, because the harness

forced the call. Left to its own judgment across a real session, that's

exactly the discipline that erodes.

Second test, because a benchmark on questions can still be gamed: reset

PocketBase to its base commit before 5 merged PRs, re-implemented each with

and without graft, scored by file-overlap with what the maintainers actually

changed. 5/5 reproduced, at 21% lower cost.

Opensource, MIT licensed

Here's the repo link : https://github.com/NanoNets/Graft

github.com
u/shhdwi — 7 days ago

How has AI changed how you work?

I'm going to be honest, when I first started using AI, I felt like I was going to accelerate my personal current workflow. But it turns out it's a lot better at some things than others. So it's more like it gave me new superpowers. And I'm relearning and reprioritizing my life around those.

For example, making a simple program is now a trivial task that doesn't require too much long-term maintenance. And that opens up a huge realm of possibilities that I never thought of before.

How about in your case?

By the way, I'm a mod here and just wanted to say we have an AI community discord. The point of the discord is we're trying to solve for the journey and not just one individual question. There's just things you'll get on the discord that you won't get on Reddit like being able to screen share as you work and get tips as you go through the journey of learning AI. Check the comment below this message if you want to be part of it.

reddit.com
u/OneDev42 — 6 days ago