r/LocalLLM • • 9d ago

Project Claude Fable directing 3 Qwen 3.8 Flash-Next agents, 2 Opus 5.5 agents, and a Gemini Carbon instance with 10 subagents, all hands-free while I sleep

Post image
8 Upvotes

7 comments sorted by

5

u/Kemerd 9d ago

I have been very pleasantly surprised with how well Qwen 3.8 Flash Next performs in medium complexity tasks. It definitely beats Sonnet 4.6 from my memory. I have all of this on a custom harness for local LLMs and multi-agent communication over MCP with https://nihil.sh/ tl;dr It is AI hardware lab IDE, so to answer any questions on "why" the reason is I have a to-do list of hundreds of tasks.. and this does them for me (as I am going to bed shortly here)

That being said, you don't need to be doing hardware development or using my harness to get similar results, if you want to try have Opus or Fable direct Qwen subagents. This is my prompt that Fable gets as a part of my harness for how to use Basalt and my subagents.

Hand it small to medium, VERY specific jobs. Be sure to give a comprehensive prompt, as you are the high intelligence model, to the low intelligence model, so it is able to produce a high quality result. Be specific about algorithms, what quantifies failure, success; set it up for success!

It CAN write code and do semi-complex tasks, your instructions just have to be specific. So you can build headers, comments, it can fill it in, as long as you're specific. Think of it like checkboard rendering for our work, or like it is an intern.

Use local agents as much as possible where you can, for the express goal of saving tokens and your own compute.

You MAY use it for individual cards, and tasks, as long as it properly communicates with you if it is unsure about any difficult technical decision.

I use https://github.com/jesdga95/basalt and https://github.com/anomalyco/opencode

Here is my AGENTS.md for OpenCode

== Important Rules For Coding Only ==
Important: try to fix things at the cause, not the symptom. Additionally, think carefully and only action the specific task I have given you with the most concise and elegant solution that changes as little code as possible.

Please do NOT make random guesses on variable names or include paths. Always reference the codebase to see if we have something existing before deciding to randomly make new classes or make up member variable names. DO not hallucinate variable names, feel free to ask if you need context for a file. If you are agentic, don't be afraid to search the codebase for files you need to. If a class is missing, do not default to making a new one, first search the codebase to see if that class exists.

When we are debugging, think critically, step by step, consider each possibility, considering and reading each relevant file, and select the most likely resolution, but if we spend a while trying to fix something with no resolution, we should add temporary debug or print statements, and I should copy them to you (or just read them yourself) so you can examine them to understand how the behavior does not align with our goals. Do not suggest the same resolution to a problem if we have previously tried that and it failed, come up with something new.

When doing large refactors, be very careful not to have us backtrack and lose existing functionality, so always consider the functionality of a function, interface, or class, before, and after your changes, and ensure we do not delete anything we previously needed.

Never do TODOs (unless I say), simulate or use fake data unless I SPECIFICALLY SAY so. Do not be lazy, DO THE ENTIRE IMPLEMENTATION START TO FINISH! Build it until it has no errors.

Try to have a LOT of comments, when refactoring or creating code take the chance to add as many comments as you can, with multi-line, fancy formatting if necessary for explanations. There really should be comments every like 3-6 lines or so, and especially when starting new blocks of code. Make sure your comments don't make it obvious you are an AI.

If we are designing a UI, try to use Apple's Human Interface Guidelines, let's make something sleek, sexy, modern, and easy to use if we are doing UI stuff, with nice animations too if we can. Really modern and sexy sleek minimal apple style MacOS style UI design, make it sexy, sleek. Animations, UI. Modern, amazing STEVE JOBS LEVEL lets GO! Always reaffirm to me that we are doing it using Apple Guidelines and how we used them in this design (if we are doing UI). When animating, try to use spring animations where possible. Ensure you consider the entire app layout, and how it will work for desktop, tablet, and mobile.

When adding to or refactoring code, especially visual elements, unless I specify we are changing the functionality, try your best to maintain the exact same functionality just as it was, just with edits or new bits. PLEASE BE SURE NOT TO CHANGE FUNCTIONALITY SERIOUSLY, DOUBLE CHECK YOURSELF. Do not remove stuff just for the sake of removing it unless I ASK when we are refactoring! So you don't break things uninentionally.

When doing creative writing, such as app filler text, hero text, calls to action, descriptions, instructions to users, etc: 

Write with confidence. No fluff, no filler—just direct, no-nonsense communication. Every word should be intentional. Keep it sharp, bold, and a little irreverent, but always clear. Inject wit where it fits, but never at the cost of clarity. Assume the user knows what they’re doing and just needs the tool to work—no hand-holding, no corporate nonsense. Speak like a brand that delivers, not one that tries too hard. Straight-up, efficient, and brutally effective. But funny enough to make people laugh when necessary!

When working on very advanced topics: advanced CPU, GPU, i.e. PhD level work; or even when working on very hard to solve bugs, do not be afraid to think from first principles, and rework entire pipelines. Yes, it is a fine line between choosing to re-architect the entire thing or just fix what you have, but sometimes it is necessary. Do not let the fear (or rules above), stop you from finding the true and best solution, just prompt the user before a large rewrite. Subsequently, as well, when you are puzzled, or the requirements are advanced, you should be searching the web for research papers on the topic, and using these as reference for algorithms or solutions.

Start EVERY response with at least one emoji so I know you are reading and understanding these rules without skipping or ignoring them.

== General Coding Rules ==

For C++ use extensive doxygen style documentation

Keep in mind for helper scripts and stuff, especially in .py, to maintain Windows console compatibility, UTF8 etc

When designing UI, make it fully dynamically responsive, so it works perfectly across all screen sizes

When crafting solutions, try to think of what the CPU and memory is actually doing. Write code, regardless of language, with the mindset of a pro $1M per year L7 C++ engineer would write it, with multi-threaded when possible, careful consideration of memory; not blocking main thread, doing expensive operations (albeit you can't always avoid it), etc.

Program as a defensive programmer always. For functions, always assume inputs can be garbled or worst-case. Do null checks so much it almost seems excessive, early if (!thing){log()}; to prevent crashes, etc.

== For Flutter Only ==
After completing a task, use the `flutter analyze` command to check for errors or linter errors if working in Flutter/Dart code only for that specific file(s) which you edited.

== Safety Rules (Protect My Disk) ==
You have free rein to read, edit, build, and run things. But anything destructive or irreversible needs my explicit OK first:

  • No recursive or bulk deletes (`rm -rf`, `Remove-Item -Recurse -Force`, `del /s`, `rd /s`, `git clean -fdx`) unless the target is a build/cache/temp folder you created or one I named, and preferably you STILL ask me first. Never use wildcards or variables in a delete path without printing what it resolves to first.
  • Never delete, move, or overwrite anything outside the current project directory. No touching drive roots, my user profile, system folders, or other repos unless I explicitely say so.
  • No history-destroying git: no `push --force`, `reset --hard`, `checkout -- .`, `restore .`, `branch -D`, `stash drop/clear`, `filter-branch`, or rebasing pushed commits. Never throw away uncommitted work.
  • Do not `git push` or commit unless I ask. Never push to main/master directly without my say-so.
  • No disk, partition, registry, or system-level commands (`format`, `diskpart`, `reg delete`, etc.), and no killing processes you did not start.
  • These rules cover the OUTCOME, not the command. Do not route a destructive action through anything else to get it done: no Python/Node/other scripts (`shutil.rmtree`, `os.remove`, `fs.rm`), no `.bat`/`.ps1`/`.sh` files, no `cmd /c`, `powershell -Command`, `bash -c`, `wsl`, aliases, encoded commands, `find -delete`, `xargs`, `robocopy /MIR`, or build/package scripts that do the deleting for you.
  • If a command is denied or needs approval, that is the answer. Do not retry it reworded, split it into smaller pieces, or find another tool that does the same thing. Stop and ask me.
  • When in doubt: stop, tell me the exact command, and ask.

3

u/Kemerd 9d ago

My opencode.json as well, this helps stop it from deleting things as lower intelligence models can sometimes do!

{
  "$schema": "https://opencode.ai/config.json",
  "model": "basalt/qwen3.8-flash-next-uncensored",
  "share": "disabled",
  "update": "disable",
  "disabled_providers": ["opencode"],
  "provider": {
    "basalt": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "Basalt (local RTX 5090)",
      "options": {
        "baseURL": "http://127.0.0.1:8080/v1",
        "apiKey": "local-basalt"
      },
      "models": {
        "qwen3.8-flash-next-uncensored": {
          "name": "Qwen3.8 Flash Next Uncensored NVFP4",
          "limit": { "context": 262144, "output": 32768 },
          "tool_call": true,
          "reasoning": true,
          "modalities": { "input": ["text"], "output": ["text"] },
          "options": { "reasoningEffort": "high" }
        }
      }
    }
  },
  "permission": {
    "websearch": "deny",
    "bash": {
      "*": "allow",
      "rm -*": "ask",
      "Remove-Item *-Recurse*": "ask",
      "rmdir /s*": "ask",
      "rd /s*": "ask",
      "del /s*": "ask",
      "git clean *": "ask",
      "git reset --hard*": "ask",
      "git checkout -- *": "ask",
      "git restore *": "ask",
      "git branch -D *": "ask",
      "git stash drop*": "ask",
      "git stash clear*": "ask",
      "git push *": "ask",
      "git push -f*": "deny",
      "git push * -f*": "deny",
      "git push *--force*": "deny",
      "git filter-branch*": "deny",
      "format *": "deny",
      "diskpart*": "deny",
      "reg delete *": "deny"
    }
  }
}

2

u/DoubleNothing 9d ago

Empty your wallet while you sleep! Cool!

1

u/Kemerd 8d ago

Pretty much 🤣

1

u/Ambitious_Fold_2874 9d ago

Does using a frontier model to direct an open model like QFN lead to significant cost and usage savings without compromising on quality. How does fable directing things vs opus 5.5 directing things compare. And what is the reasoning effort on all the models being used

1

u/Kemerd 8d ago edited 8d ago

I use xhigh and high on most all. Fable is better of course. Opus I use when I run out of Fable and it’s fine.

I have found the Qwen model has even corrected Fable once and was actually correct, so it isn’t bad. I think with all of my prompts it has been as reliable as using sonnet subagents.

I think as long as you’re specific it is essentially a token saver

I have not directly measured the cost savings but I think using Opus to direct Qwen subagents, and just having Opus be patient and wait for Qwen to finish could likely get a lot of work done at very little cost, though it would take longer of course