HiveLang v4Latest Version

The Language of Agents

HiveLang v4 is a declarative programming language designed for orchestrating autonomous AI agents. It simplifies complex prompt engineering into clean, readable, and type-safe code.

Why HiveLang?

1

Declarative Logic

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

2

Native Multi-Agent Support

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

3

Integrated Memory

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

4

Concurrent Tools

The parallel keyword makes multi-tool execution blazingly fast.

A Quick Glimpse

example-bot.hive
bot "AutoResearcher" description "Finds news and summarizes them" on input say f"🔍 Researching: {input}" parallel call integrations.google.search(query: input) as search_data call integrations.news.search(query: input) as news_data end call ai.generate( prompt: f"Summarize {search_data} and {news_data} for the user." ) as final_summary say final_summary end end