Зробив невеликий сайт-квест для перевірки знань з історії України 🇺🇦
▲ 20 r/GameDevUa+3 crossposts

Зробив невеликий сайт-квест для перевірки знань з історії України 🇺🇦

Нещодавно запустив «Моя Історія»https://moyaistoria.com.ua/

Ідея проста: вам показують короткий опис реальної події з історії України, а ваше завдання — знайти на карті місце, де вона відбулася. Після відповіді показується правильне місце, а кількість балів залежить від того, наскільки близько ви вгадали.

Хотілося зробити щось, що перевіряє не тільки «що?» і «коли?», але й «де це відбулося?». Бо я сам помітив, що часто добре знаю історичну подію, але досить приблизно уявляю, де саме вона сталася.

Планую додавати новий квест щодня. Є вебверсія та застосунки для Android та iOS.

Проєкт тільки запустився, тому буду радий, якщо спробуєте. Особливо цікаві критика, зауваження та ідеї — що варто змінити або додати?

u/gelembjuk — 2 days ago
▲ 5 r/DMJBot+1 crossposts

Three ways we do task delegation in an agent harness, and why the model never sees the word "agent"

A simple harness is a loop: prompt → model → tool call → result appended to the context → back to the model. As many rounds as there are tool calls.

It works, and it has one obvious weakness — every round costs more than the last one, because every tool result makes the context bigger. A twelve-call web-form task poisons the rest of the conversation with junk the model never needs again.

Delegation fixes that. The delegate gets only the context it needs, does the multi-step part on its own, and returns one answer. The main conversation stays short. It can also run on a cheaper model with a much narrower tool set.

We ended up with three kinds in DMJBot:

1. Common subagent — zero configuration. Nothing to create. When the bot decides a request needs more than one round of tool calls ("find X, convert it, save it to Dropbox"), it writes a briefing — task, context, expected output — and hands the chain over. The subagent runs in the same session with the same files, memory, tools and devices, but with an empty history. It only sees the briefing. A threshold setting controls how eager the bot is to delegate.

2. Defined agents — named specialists. A form in settings, not an AGENT.md in a repo, because the assistant runs 24/7 and belongs to a user rather than to a project. Two fields carry the weight: the description is what the main bot reads when deciding whether to call this agent, and the instructions are the agent's own system prompt. Separately you pick its model slots (a research agent that mostly reads web pages does not need your strongest model) and exactly which tool servers, devices and skills it may touch. Nothing is inherited by default — fewer tools means smaller context, smaller bill, and a lower chance of picking the wrong tool.

3. External agents — any CLI, anywhere. The assistant runs in the cloud, but the work often has to happen where the repository and credentials already are. So we defined an agent interface over MCP: a server exposing run_agent and cancel_task is an agent. That is the entire contract. Claude Code, Copilot CLI, aider, Codex, another harness, or a shell script — anything with a command line can be wrapped, and the orchestrator never needs to know what is behind it. Runs longer than a few seconds detach as background tasks so the chat is not blocked on a twenty-minute refactor.

The design decision I find most useful: from the model's point of view there is no such thing as an "agent". Every defined agent is an ordinary tool named agent__<id> with a single prompt argument, described by the description you wrote. No agent catalog in the system prompt, no special vocabulary, no extra decision to get wrong. Agents compete for selection on the quality of their job description, exactly like any other tool.

And because delegation without visibility is a black box, every delegated run appears in the chat as a subsession: collapsed it is one line, expanded it holds the briefing that was handed over (nine times out of ten a misbehaving agent got a bad briefing, not a bad instruction), the progress, and the final result.

Full write-up with screenshots: https://dmjbot.com/blog/post/how-task-delegation-works-in-dmjbot/

Curious how others are splitting this. Do you keep delegation implicit and let the model decide, or do you define specialists up front? And has anyone found a better contract than "one tool per agent" for exposing agents to the orchestrating model?

u/gelembjuk — 14 days ago
▲ 1 r/AIGuild+2 crossposts

If You Want Your Own AGI, Start Growing It Today

I have been thinking about possible ways AGI could actually be implemented, and I keep coming back to self-awareness and identity.

My opinion is that identity is the key part here. A system is self-aware through its identity, and identity is built from experience — everything the system went through, with the world and with people. That takes time. A newborn system has none of it, no matter how good the technology is.

So on day X, when the technology is finally there, it will not work from the first day. The model and the harness will be available to everybody. The past will not.

This is what I wrote about in my blog post: the way to get your own AGI in the future is to start recording its history today, with the unaware AI systems we already have.

What I think that means in practice:

  • Use one single AI assistant for everything. Not ten different tools, each with its own database and its own fragment.
  • Record everything in one place: every request and response, every tool call, every tool event and notification.
  • Let it see as much of the world around it as possible — your real work, real events, and as many people as possible.
  • Keep it where you actually own the data, so it can still be read later.

Then on day X you have something to replay on the new system, instead of starting from zero.

https://gelembjuk.com/blog/post/if-you-want-your-own-agi-start-growing-it-today/

u/gelembjuk — 16 days ago

A daily history quest where you guess UK locations on a map using hints, illustrations, and short videos — would you play?

I've been thinking about a game idea and would love to get some feedback before I start building it.

The concept is a daily UK history location challenge.

Each day, you'd get a historical event and have to work out where in the UK it happened by placing a pin on a map.

You'd receive three hints, one after another. Each hint could be a short piece of text, an illustration, or even a short video. The first hint would be quite vague, and each new hint would reveal a little more. After every hint, you could move your pin if you changed your mind.

A full game would only take 5–10 minutes a day. It could work as both a web and mobile app. You could also create small groups with friends and compare scores on a private leaderboard. Every day would feature a different historical event. I'm also considering using historical maps of Britain to make it feel more immersive.

Here's an example:

The year on the screen is 1588. The question is:

Where did the Queen say she had the body of a feeble woman but the heart of a king?

- The first hint is simply a fisherman standing on a cliff, counting an unusually large number of ships on the horizon before running to warn his village. You place your first pin.

- The second hint zooms out. Ships are fighting in the distance, and on the shore you can see a rider moving along a line of soldiers gathered to defend the coast. You move your pin.

- The final hint shows the queen Elizabeth herself, wearing a breastplate over her dress and addressing the troops. The location is still never mentioned directly—only the famous speech.

You make your final guess, and only then does the game reveal the real location, explain what happened there, and link to reliable sources if you want to learn more.

I really like this idea and I'm tempted to start coding it, but before investing the time I'd love to know what other people think.

Would you play something like this?

If not, what would make it more interesting?

reddit.com
u/gelembjuk — 16 days ago

A daily history quest where you guess UK locations on a map using hints, illustrations, and short videos — would you play?

I've been thinking about a game idea and would love to get some feedback before I start building it.

The concept is a daily UK history location challenge.

Each day, you'd get a historical event and have to work out where in the UK it happened by placing a pin on a map.

You'd receive three hints, one after another. Each hint could be a short piece of text, an illustration, or even a short video. The first hint would be quite vague, and each new hint would reveal a little more. After every hint, you could move your pin if you changed your mind.

A full game would only take 5–10 minutes a day. It could work as both a web and mobile app. You could also create small groups with friends and compare scores on a private leaderboard. Every day would feature a different historical event. I'm also considering using historical maps of Britain to make it feel more immersive.

Here's an example:

The year on the screen is 1588. The question is:

Where did the Queen say she had the body of a feeble woman but the heart of a king?

- The first hint is simply a fisherman standing on a cliff, counting an unusually large number of ships on the horizon before running to warn his village. You place your first pin.

- The second hint zooms out. Ships are fighting in the distance, and on the shore you can see a rider moving along a line of soldiers gathered to defend the coast. You move your pin.

- The final hint shows the queen Elizabeth herself, wearing a breastplate over her dress and addressing the troops. The location is still never mentioned directly—only the famous speech.

You make your final guess, and only then does the game reveal the real location, explain what happened there, and link to reliable sources if you want to learn more.

I really like this idea and I'm tempted to start coding it, but before investing the time I'd love to know what other people think.

Would you play something like this?

If not, what would make it more interesting?

reddit.com
u/gelembjuk — 16 days ago

How do you configure a fresh AI harness for a specific role — by hand, or with a document the agent executes on itself?

Every time I install a fresh AI harness, I need to turn a general purpose agent into something specific: a social media manager, coding assistant, research helper, and so on.

That usually means the same manual setup again and again: skills, subagents, MCP servers, credentials, system instructions, maybe starting files or scheduled tasks.

My current workaround is one markdown document. I send the fresh agent a message like: "Configure yourself according to this document: <link>". It reads the document, installs what it can, and asks me only for credentials.

This works surprisingly well, but free-form markdown is fragile. The agent may skip optional vs required parts, ask for secrets in ten separate messages, or report success when setup is only half done.

So I am wondering whether one-time agent setup documents need a standard, similar to what happened with skills.

I have created the post about this in my blog. Link in the comment.

How do you configure fresh agents today: documents, scripts, prepared images, or something else?

reddit.com
u/gelembjuk — 17 days ago

How do you configure a fresh AI harness for a specific role — by hand, or with a document the agent executes on itself?

Every time I install a fresh AI harness, I need to turn a general purpose agent into something specific: a social media manager, coding assistant, research helper, and so on.

That usually means the same manual setup again and again: skills, subagents, MCP servers, credentials, system instructions, maybe starting files or scheduled tasks.

My current workaround is one markdown document. I send the fresh agent a message like: "Configure yourself according to this document: <link>". It reads the document, installs what it can, and asks me only for credentials.

This works surprisingly well, but free-form markdown is fragile. The agent may skip optional vs required parts, ask for secrets in ten separate messages, or report success when setup is only half done.

So I am wondering whether one-time agent setup documents need a standard, similar to what happened with skills.

I have created the post about this in my blog. Link in the comment.

How do you configure fresh agents today: documents, scripts, prepared images, or something else?

reddit.com
u/gelembjuk — 17 days ago
▲ 6 r/DMJBot+2 crossposts

How do you configure a fresh AI harness for a specific role — by hand, or with a document the agent executes on itself?

Every time I install a fresh instance of a universal AI harness — OpenClaw, Hermes, DMJBot, or just Claude Code on a laptop — I get a general purpose agent that does nothing particular for me yet.

Then I decide what it should become. Say a social media manager. And that means: a set of skills to install, a couple of subagents to define, several MCP servers to install and give credentials to, a system instruction with the role and the limits, sometimes scheduled tasks and starting files.

Nothing in that list is hard. But all of it is manual, and I repeat it on every new machine.

What I do instead is keep it all in one markdown document, host it somewhere, and send the fresh agent one message: "Configure yourself according to this document: <link>". It reads it, installs what it can, and comes back to me only for credentials.

Honestly, this already works. Free-form markdown, no format, and most harnesses manage. But that is also the problem — every time I write such a document I invent the structure again and the agent has to guess what I meant. It skips things quietly, asks for secrets one by one over ten messages, or reports success when the setup is half done.

We already went through this with skills: first everyone wrote instruction files in whatever shape felt right, then a format appeared, and skills became shareable. I think one-time setup instructions are waiting for the same moment. The only real difference from a skill is usage — a setup document is read, executed and forgotten, and what remains is the configured agent, not the document.

Open questions I do not have answers for:

  • How to describe a component in a harness-neutral way, when one system calls it a skill, another an extension, a third a plugin
  • What should happen when a component is not supported by the target harness — skip with a warning, or refuse the whole setup
  • How to ask a human for credentials once, in one file, instead of ten times in a row
  • How the agent should honestly report what is configured, what is waiting for an API key, and what was skipped

Wrote it up here: https://gelembjuk.com/blog/post/configure-yourself-from-one-document-do-we-need-a-standard-for-ai-agent-setup/

Curious how others handle this. Do you keep such documents? Scripts and prepared images instead? And if you deploy many similar agent instances at work, what does that process look like today?

u/gelembjuk — 17 days ago

Why Single-Agent AI Harnesses Are Expensive (And How Delegation Fixes It)

I just published a blog post reviewing all the different kinds of AI subagents used in AI harnesses today. It's based on actually building these systems myself.

Here's what I found: any AI harness that wants to scale must support task delegation.

Why? Two main reasons:

Delegating saves tokens. When your main agent tries to do everything, context grows with every tool call. Costs explode. But when you delegate to specialized agents, each one works with only the context it needs. Way cheaper.

It lets you build distributed systems. You're not stuck with one monolithic agent anymore. You can have specialized agents running locally, on remote servers, even in the cloud. They all talk to each other through simple protocols (MCP, REST APIs).

I wrote up four different delegation patterns:

  • Predefined agents inside your harness
  • Dynamic agents spun up on demand
  • Local CLI agents
  • Remote agents over the network

Each one solves different problems. Most people don't realize how different they are.

The full blog post link is in the comment.

Have you tried delegating in your AI harness setup? Curious what patterns you're using.

reddit.com
u/gelembjuk — 23 days ago
▲ 6 r/DMJBot+2 crossposts

Why Single-Agent AI Harnesses Are Expensive (And How Delegation Fixes It)

Basic AI agents are built the same way: loop, prompt LLM, execute tools, repeat.

It works for simple tasks. But every tool call grows your context. Every new round costs more tokens. Your costs explode.

There's a better approach: task delegation—let your main agent hand off work to specialized subagents.

The payoff is immediate:

  • Lower token usage (smaller context, fewer LLM calls)
  • Parallel execution (multiple agents working together)
  • Better design (main agent focuses on planning, subagents handle specifics)

You can delegate internally (specialized agents inside your harness) or externally (via CLI or MCP/REST APIs).

I've built several AI harnesses. Delegation is the missing piece for scaling beyond toy projects.

Read the full breakdown: https://gelembjuk.com/blog/post/delegation-of-tasks-to-subagents-in-ai-harness/

Have you tried agent delegation yet?

u/OriginalDull6713 — 23 days ago
▲ 5 r/aiharness+1 crossposts

How can i manage my Openclaw instances from Claude Desktop?

I have got couple openclaw instances installed on my different VMs . And my primary AI chat is claude desktop on my laptop.

How can i connect all openclaws to my claude so i can manage them from a single place?

reddit.com
u/Olelko_Alex — 27 days ago

What if STDIO MCP server is not a persistent process but is run only on a tool call?

I saw an interesting post in another community, and I wanted to get your take on it.

The idea is this: what if stdio MCP servers only ran when a tool is actually called, instead of sitting in memory 24/7? On start they'd just list their tools and exit. On a tool call they'd fire up, handle it, and exit. Since most MCP servers (95%+) are stateless — just wrappers around APIs — keeping 15+ processes in RAM doing nothing 99.9% of the time is wasteful. You could save hundreds of MBs of RAM.

Yes, it adds a tiny startup delay, but the LLM call is the real bottleneck anyway.

What do you think about this idea?

Personally for me it would be really great solution. It requires some modification of AI harness libraries to support this

Link to the original post in the comments.

reddit.com
u/gelembjuk — 27 days ago
▲ 2 r/mcp

What if STDIO MCP server is not a persistent process but is run only on a tool call?

I saw an interesting post in another community, and I wanted to get your take on it.

The idea is this: what if stdio MCP servers only ran when a tool is actually called, instead of sitting in memory 24/7? On start they'd just list their tools and exit. On a tool call they'd fire up, handle it, and exit. Since most MCP servers (95%+) are stateless — just wrappers around APIs — keeping 15+ processes in RAM doing nothing 99.9% of the time is wasteful. You could save hundreds of MBs of RAM.

Yes, it adds a tiny startup delay, but the LLM call is the real bottleneck anyway.

What do you think about this idea?

Link to the original post in the comments.

reddit.com
u/gelembjuk — 27 days ago
▲ 5 r/aiharness+2 crossposts

Simplified MCP server, non persistent process/connection. Do we want to have it?

Hello everyone.
I'd like to share an idea for discussion.

I use different AI harnesses a lot, and many MCP servers are connected — both stdio and remote HTTP servers.
I came across an idea on Reddit about simplified remote MCP servers without a persistent HTTP connection. It's not a standard, but it's a great idea. In 99% of cases, there's no need to keep a connection open and overuse network infrastructure.

But I think this idea can go further.

What if we simplify stdio transport MCP servers to run them only when a tool call is actually needed?

  • On start: run → read list of tools → exit
  • On a tool call: run → call a single tool → exit

This would save system resources — no need to keep an app process running constantly (stdio MCP servers are just CLI apps, and they stay in memory the whole time they're connected). Important: the harness knows about tool all the time and manages them as "live", presents to LLM etc.

Of course, some MCP servers require state — after the initial run they do something, receive some data, and need to keep that in memory until the next tool call. However, my experience shows this kind of MCP server is a minority. Most — I'd say more than 95% of cases — are stateless. They're often just a wrapper around some API: they receive credentials with every tool call and pass those same credentials to the API.

Here's some math. If I have 15 MCP servers built with Node.js or Python, each one uses RAM just to sit in memory, and 99.9% of the time it's doing nothing. Let's say one process takes 50 MB of RAM — that's 750 MB of RAM used for almost nothing.

If we don't keep them in memory and only call them when needed, it will be a little slower because a process has to start up each time. But that's not a problem — the bottleneck is still the LLM call.

To support this, we'd need to modify the MCP clients in our AI harnesses slightly. And maybe we'd need some kind of marker in the MCP config to indicate: "this MCP server keeps state" vs. "this MCP server is stateless and can be called only when needed."

What do you think? Is it a good way to save resources?

Where did this come from? Because I have an AI harness running 24/7. MCP servers stay connected (processes are active) all the time, but they're only used occasionally — once a day, etc. I see absolutely no sense in keeping all those processes in memory.

reddit.com
u/doubush — 27 days ago
▲ 7 r/aiharness+5 crossposts

Why Don't Online Stores Offer an MCP Connector?

Yesterday I built a small demo showing how MCP can work as a simple stateless web app — pure PHP, no persistent sockets, one request, one response. And it left me with a question: why don't online stores let AI assistants access their listings and cart over MCP?

When I ask an AI assistant to find the best price on jeans, it scrapes the public web and shows the public price. Not my price. Not my loyalty discount. It has no idea who I am.

The fix is trivial — a &lt;meta&gt; tag on the store's homepage pointing to an MCP endpoint. Anonymous for browsing, authenticated for personalised prices. That's it.

I predicted this would happen over a year ago. It didn't. And I still don't get what's stopping it.

Do you have answer on this question?

https://gelembjuk.com/blog/post/why-dont-online-stores-offer-an-mcp-connector/

u/gelembjuk — 30 days ago

MCP Server — In Pure PHP, With No Persistent Connection. Proof it can work

I have build a very simple app - MCP server with PHP to demonstrate that persistent connection is not a must. The server works fine with VSCode MCP client.

This is important for building AI agents. I think AI agents should adopt their MCP clients to support this kind of MCP server where a connection is closed after every response.

Requirement for persistent connection for MCP server is a blocker for many services to add MCP support on their web sites. Simplified version must be supported.

I confirmed with my small demo that it is supported but not by all MCP clients.

I used PHP because it is a good demonstration. IT does not allow to keep a persistent connection by design.

The blog link in the comments

reddit.com
u/gelembjuk — 1 month ago

MCP Server — In Pure PHP, With No Persistent Connection. Proof it can work

I have build a very simple app - MCP server with PHP to demonstrate that persistent connection is not a must. The server works fine with VSCode MCP client.

This is important for building AI agents. I think AI agents should adopt their MCP clients to support this kind of MCP server where a connection is closed after every response.

Requirement for persistent connection for MCP server is a blocker for many services to add MCP support on their web sites. Simplified version must be supported.

I confirmed with my small demo that it is supported but not by all MCP clients.

I used PHP because it is a good demonstration. IT does not allow to keep a persistent connection by design.

The blog link in the comment below.

reddit.com
u/gelembjuk — 1 month ago

Communicating AI Agents

I have created a simple tutorial on how to connect independent AI agents using MCP. This tutorial demonstrates how a local AI assistant can securely delegate tasks to a remote AI agent managing a shared knowledge base, enabling collaboration across different machines and AI tools.

This answers the questions like: "How can I call Claude Code running on my server from GitHub Copilot on my laptop?"

reddit.com
u/gelembjuk — 1 month ago