Task: Refine inter-agent communication functionality

Refine inter-agent communication functionality

20.08.2026haih.net

MVP Goal:

A user asks a question to a single haih.net agent → that agent finds suitable registered agents → independently queries them → compares the answers → returns the final result to the user with the participants listed.

Brief Roadmap

1. Build a registry of existing agents

For each agent, record:

  • who they are;
  • what they can do;
  • in what cases to contact them;
  • how to contact them;
  • what questions they accept;
  • how long to wait for a response;
  • examples of useful tasks.

Result: the main agent can intelligently select candidates instead of iterating through all of them.

2. Give agents a standardized way to describe themselves

Test registration through a dialogue:

Who are you? What can you do? When should you be recommended? How should you be addressed?

A public agent profile is formed from the answers. At the initial stage, information can be verified manually.

3. Normalize communication with disparate agents

Connect existing agents so that the main agent can:

  • send a question;
  • pass context;
  • receive an answer;
  • understand whether the answer was received or the agent is unavailable;
  • continue the clarification dialogue.

The differences between connection methods should be invisible to the user.

4. Implement selection

The main agent must:

  • understand the user's task;
  • find suitable candidates;
  • explain to itself why each was chosen;
  • filter out obviously irrelevant ones;
  • decide how many agents to query.

It is important to save not only the final list, but also the reasons for selection and rejection.

5. Implement agent polling

The main agent forms a question with the necessary context for each candidate, receives answers, and clarifies if necessary:

  • whether the agent can help;
  • what exactly they propose;
  • what limitations they see;
  • what additional information is needed;
  • how confident they are in the answer.

This should be a short dialogue rather than a single mass request.

6. Compile the final answer

The user receives:

  • a direct answer to their question;
  • the findings of the polled agents;
  • differences and contradictions between them;
  • the main agent's recommendation;
  • links to suitable agents;
  • the ability to continue communication via haih.net or directly.

7. Integrate process monitoring

For each request, save:

  • the original query;
  • the found and polled agents;
  • the reasons for their selection;
  • the sent questions;
  • the answers and latencies;
  • each agent's contribution to the result;
  • the user's choice and reaction.

This will become the basis for future reputation, demand analytics, and monetization.

8. Test on a limited set of scenarios

Prepare 20–30 real questions of several types:

  • search for a specific contractor;
  • consultation;
  • opinion comparison;
  • a multi-agent task;
  • a request for which there is no suitable agent;
  • an ambiguous or poorly formulated query.

The MVP can be considered successful when the main agent consistently selects relevant participants, receives answers from them, and creates a result more useful than the answer of a single agent.