🌱 Latest beta — install the latest release

dist_agent_lang

A runtime language tooled with trust off-chain and on-chain controls for the agentic future.

🌳 Leveraging the future of agents and decentralized development

Get Started View on GitHub

Build from Source

Recommended for development and latest features

# Clone repository git clone https://github.com/okjason-source/dist_agent_lang.git cd dist_agent_lang # Build cargo build --release # Test the binary ./target/release/dal --version # Add to PATH (optional) export PATH="$PWD/target/release:$PATH"

Requirements: Rust 1.70+ (install from rustup.rs)

Linux / macOS

Download pre-built binary

# Latest pre-built binaries (pick your OS on the page): # https://github.com/okjason-source/dist_agent_lang/releases/latest # # After downloading the .tar.gz for your platform: tar -xzf dist_agent_lang-*.tar.gz # Install (or use directly) sudo cp dal /usr/local/bin/ # Verify dal --version

Windows

Download pre-built binary

# Latest Windows build — download the .zip from: # https://github.com/okjason-source/dist_agent_lang/releases/latest # # Extract the zip, open Command Prompt in that folder, # copy dal.exe to a folder in your PATH # (e.g., C:\Program Files\dist_agent_lang\) # Add that folder to your system PATH # Verify dal --version

Homebrew (macOS)

Install via Homebrew package manager

# Add tap (when available) brew tap distagentlang/dist_agent_lang # Install brew install dist_agent_lang # Verify dist_agent_lang --version

Note: Homebrew package coming soon

Install

cargo install --git https://github.com/okjason-source/dist_agent_lang.git dist_agent_lang --bin dal

Running the above command will globally install the dal binary from the latest repo.

Verify: dal --version

Install as library

Run the following Cargo command in your project directory:

cargo add dist_agent_lang

Or add the following line to your Cargo.toml:

dist_agent_lang = "1"

"1" tracks latest 1.x on crates.io; use cargo add dist_agent_lang to add the current crate version.

npm (Node.js)

Install via npm package manager

# Install globally npm install -g dist-agent-lang # Verify dist_agent_lang --version

Note: npm package coming soon

🌱 Quick Start

Get up and running in 5 minutes

Step 1: Verify Installation

dal --version # Prints your installed dist_agent_lang / dal version # (matches the release or git checkout you installed from)

Step 2: Create Your First Program

Create a file hello.dal:

@trust("hybrid") service HelloWorld { fn main() { print("Hello, dist_agent_lang!"); } }

Note: Make sure you're in the correct directory when creating files.

Step 3: Run It

dal run hello.dal # Output: Hello, dist_agent_lang!

Tip: Check out the examples/ directory in the repository for more examples!

🌳 Features

Everything you need for modern development

🤖

AI Agent Framework

Native support for AI agents with multi-agent coordination and workflow management

⛓️

Multi-Chain Support

Deploy to Ethereum, Polygon, Solana, Arbitrum, and more with a single codebase

🔒

Built-in Security

Automatic reentrancy protection, safe math, and comprehensive security features

🌐

Hybrid Trust

Seamlessly combine onchain and offchain systems with hybrid trust models

📚

Rich Standard Library

30 modules covering agents, blockchain, AI, database, web, and more

🔄

Solidity Converter

Automatically convert Solidity contracts to DAL format

High Performance

Compiled to native code with optimized execution for speed and efficiency

🛠️

Developer Tools

Comprehensive tooling including debugger, formatter, and package manager

⌨️

CLI Commands

Powerful command-line interface with commands for robust project management

🧬

Agent Mold System

Reusable local and distributed agent configurations for rapid development and deployment

Wanna Code?

Join our beta testing program and help shape the future of dist_agent_lang

Star on GitHub Install Now