HiveLang v5

The language of agents

A declarative language for orchestrating autonomous AI agents. It turns prompts, tools, memory, schedules, and recovery behavior into readable runtime code.

latestbotsschedulestools

Why HiveLang?

Declarative Logic

Instead of fragile prompts, define bot behavior with structured statements like on user.message and if/else.

Native Multi-Agent Support

Define multiple specialized agents in one swarm and let the runtime handle orchestration.

Integrated Memory

Built-in db.get and db.set commands for persistent agent state without extra boilerplate.

Concurrent Tools

The parallel keyword makes multi-tool execution blazingly fast.

Example

example-bot.hive
bot AutoResearcher {
  instructions {
    Finds news on a topic and summarizes it.
  }

  capabilities {
    web.search
    news.search
    ai.generate
  }

  on user.message {
    parallel {
      call web.search with { query: input } as search_data
      call news.search with { query: input } as news_data
    }

    call ai.generate with {
      prompt: "Summarize " + search_data + " and " + news_data + " for the user."
    } as final_summary

    respond with final_summary
  }
}

Did this page help?

Not helpfulExcellent