Page cover

Quick Start Guide

This guide will help you get started with JuliaOS by walking you through the process of creating and running a simple agent and swarm.

Starting the JuliaOS Server

Before you can use JuliaOS, you need to start the Julia backend server:

cd /path/to/JuliaOS
julia julia/julia_server.jl

This will start the JuliaOS server on port 8052 by default.

Using the CLI

JuliaOS provides an interactive CLI for managing agents and swarms:

cd /path/to/JuliaOS
node packages/cli/interactive.cjs

This will start the interactive CLI, which provides a menu-based interface for creating and managing agents, swarms, wallets, and more.

Using the Julia API

Creating an Agent

using JuliaOS.Agents

# Create a trading agent
agent = Agents.create_agent(
    "TradingAgent",
    "trading",
    Dict("risk_tolerance" => "medium", "max_position_size" => 1000)
)

# Start the agent
Agents.start_agent(agent["id"])

# Execute a task with the agent
task_result = Agents.execute_task(
    agent["id"],
    Dict(
        "action" => "analyze_market",
        "market" => "crypto",
        "timeframe" => "1d"
    )
)

println("Task result: ", task_result)

Creating a Swarm

Using the TypeScript Framework

Creating an Agent

Creating a Swarm

Using the Python Wrapper

Creating an Agent

Creating a Swarm

Using LangChain Integration (Python)

Next Steps

Now that you've learned the basics of JuliaOS, you can explore the following topics:

  • Basic Concepts - Learn about the core concepts of JuliaOS

  • Agents - Learn more about agents and their capabilities

  • Swarms - Learn more about swarms and swarm algorithms

  • Blockchain - Learn about blockchain integration

  • Wallet - Learn about wallet management

  • Storage - Learn about storage options