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.
Syntax Basics
Variables, bot definitions, and core logic.
Parallel Execution
Concurrent tool calls and error boundaries.
Standard Library
Built-in tools, AI, and HTTP capabilities.
Why HiveLang?
Declarative Logic
Instead of fragile prompts, define bot behavior with structured statements like on input and if/else.
Native Multi-Agent Support
Define multiple specialized Hives in one swarm file 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.