LogoLogo
  • JuliaOS Documentation Hub
  • About JuliaOS
    • Mission & Vision
    • Features and Capabilities
    • Roadmap
    • Tokenomics
  • Ecosystem
    • Overview
  • Partners
    • Heurist
    • Fetch.ai
    • Soulgraph
    • cheqd.io
    • Aethir
    • Anyone
    • TensorLabs
    • Hashpower
  • Technology
    • Overview
    • Open Source
      • Modular Framework
      • CLI Mode
    • AI Platform
      • Dashboard
      • Agent Management
      • Swarm Management
      • Marketplace
      • Mining
    • LLM
    • Launchpad
    • Robotics & IOT
      • SwarmIOT
      • Modular AI with Robotics
        • J3OS MiniLLM
          • 🔧 Use Cases
  • Technical
    • Overview
    • Developer Hub
      • Getting Started
        • Installation Guide
          • Github Guide
        • Basic Concepts
        • Quick Start Guide
          • Handling secrets
        • Examples and Use
          • Example: Using the Trading Functionality
          • Example: Using the Benchmarking Feature
          • Example: Multi-Agent Swarm Coordination
          • Example: Using the Python Wrapper for LLM Integration
          • Example: Using Cross-Chain Bridges
          • Example: Creating and Running a Swarm Optimization
          • Page 4
      • Best Practices
        • Performance Tuning
        • Agent/Swarm Design Patterns
        • Best Practices & Patterns
        • Security Best Practices
      • CLI
        • JuliaOS CLI Interface
        • Agent Management (CLI)
        • CLI Configuration
        • Cross-Chain Hub (CLI)
        • Swarm Management (CLI)
        • CLI Troubleshooting
        • Wallet Management (CLI)
      • Framework SDK
        • Modules
          • Bridge
          • Agents Module
          • Dex
          • Swarms Module
          • Wallet
        • Python Wrapper
          • LangChain Integration
          • Python Wrapper
      • Contributing Guide
      • Extending JuliaOS
      • Development Setup & Conventions
      • Testing & Debugging
      • Troubleshooting
    • Architecture
      • High Level JuliaOS
      • CLI <-> Backend Communication
      • Data Storage Architecture
      • Framework Internals
      • Architecture Deep Dive
        • Architectual Notes
    • Concepts
      • Core Features & Concepts
      • Agents
        • Agent Skills & Specializations
      • Swarms
      • Neural Networks
      • Blockchains & Chains
      • Bridges (Cross-Chain)
      • Integrations
        • Google ADK
        • LLMs
        • Price Feed
        • DEX Integration
      • Storage
      • Trading Capabilities
      • Use Cases
      • Wallets
      • Portfolio Optimization
  • Research
    • JuliaOS Research
  • API Documentation
    • API Reference
      • API Reference: Julia Backend Commands
      • API Reference: CLI Commands
      • API Reference: Node.js API
      • API Reference: Python API
      • API Reference
  • Community
    • Community & Support
  • FAQ
    • General
    • Technical
    • Community
Powered by GitBook
On this page
  • Command Format
  • Agent Commands
  • Swarm Commands
  • Wallet Commands (Backend - Use with Caution)
  • Bridge / Blockchain / DEX Commands
  • System Commands
Export as PDF
  1. API Documentation
  2. API Reference

API Reference: Julia Backend Commands

This page lists the commands processed by the Julia backend server, typically invoked via the Node.js or Python bridge.

(Note: This list is based on inferred functionality and previous documentation. The exact command names, parameters, and return values should be verified against the command handler logic in /julia/julia_server.jl and the relevant Julia modules in /julia/src/)

Command Format

Commands are typically sent as JSON objects with a command field (e.g., "agents.create_agent") and a payload field containing parameters.

{
  "command": "category.action",
  "payload": { "param1": "value1", "param2": 123 }
}

Agent Commands

Command
Description
Payload Parameters
Example Payload
Return Value

agents.create_agent

Create a new agent

name (String), type (String), config (Dict)

{"name": "MyAgent", "type": "Trading", "config": {"risk": 0.5}}

Agent ID or Agent object

agents.list_agents

List all managed agents

None

{}

Array of Agent objects or IDs

agents.get_agent

Retrieve details for a specific agent

id (String)

{"id": "agent-uuid-123"}

Agent object

agents.start_agent

Start a specific agent

id (String)

{"id": "agent-uuid-123"}

Status confirmation

agents.stop_agent

Stop a specific agent

id (String)

{"id": "agent-uuid-123"}

Status confirmation

agents.delete_agent

Delete a specific agent

id (String)

{"id": "agent-uuid-123"}

Status confirmation

agents.update_config

Update configuration for an agent

id (String), config (Dict)

{"id": "agent-uuid-123", "config": {"risk": 0.6}}

Status confirmation

Swarm Commands

Command
Description
Payload Parameters
Example Payload
Return Value

swarms.create_swarm

Create a new swarm

name (String), algorithm (Dict), config (Dict)

{"name": "MySwarm", "algorithm": {"type":"PSO", "params":{...}}, "config": {"pairs": [...]}}

Swarm ID or Swarm object

swarms.list_swarms

List all managed swarms

None

{}

Array of Swarm objects or IDs

swarms.get_swarm

Retrieve details for a specific swarm

id (String)

{"id": "swarm-uuid-456"}

Swarm object

swarms.start_swarm

Start optimization/operation for a swarm

id (String)

{"id": "swarm-uuid-456"}

Status confirmation

swarms.stop_swarm

Stop a specific swarm

id (String)

{"id": "swarm-uuid-456"}

Status confirmation

swarms.delete_swarm

Delete a specific swarm

id (String)

{"id": "swarm-uuid-456"}

Status confirmation

swarms.add_agent

Add an agent to a swarm

swarm_id (String), agent_id (String)

{"swarm_id": "swarm-456", "agent_id": "agent-123"}

Status confirmation

swarms.remove_agent

Remove an agent from a swarm

swarm_id (String), agent_id (String)

{"swarm_id": "swarm-456", "agent_id": "agent-123"}

Status confirmation

Wallet Commands (Backend - Use with Caution)

Command
Description
Payload Parameters
Example Payload
Return Value

wallets.get_wallets

List backend-managed wallets

None

{}

Mock List

wallets.get_wallet_info

Get info for a backend wallet

wallet_id (String)

{"wallet_id":"wallet1"}

Mock Info

wallets.create_wallet

Create new backend wallet (INSECURE if keys stored)

name (String)

{"name":"AgentWallet"}

Mock Wallet

wallets.import_wallet

Import backend wallet (INSECURE)

name, private_key, chain

{...}

Mock Wallet

wallets.export_wallet

Export backend wallet key (INSECURE)

wallet_id, chain

{...}

Mock Key

Bridge / Blockchain / DEX Commands

Command
Description
Payload Parameters
Example Payload
Return Value

bridge.get_token_address

Resolve token symbol to address

symbol (String), chain (String)

{"symbol":"WETH", "chain":"ethereum"}

Address Dict or Error

blockchain.get_balance

Get native/token balance

address, chain, token_address (opt)

{"address":"0x...", "chain":"base"}

Balance Dict or Error

dex.get_swap_quote

Get quote for a DEX swap

token_in, token_out, amount_in_wei, dex_name, chain

{...}

Quote Dict or Error

bridge.execute_trade

Prepare unsigned swap TX

dex, chain, trade_params (Dict: token_in, token_out, amount_in_wei, slippage, wallet_address)

{...}

Unsigned TX Dict or Error

bridge.submit_signed_transaction

Submit client-signed TX

chain, request_id, signed_tx_hex

{...}

Submission Result Dict

bridge.get_transaction_status

Check submitted TX status

chain, tx_hash

{"chain":"polygon", "tx_hash":"0x..."}

Status Dict or Error

bridges.[protocol].transfer

Initiate cross-chain transfer

Varies by protocol

{...}

Transfer ID/Tx Hash

bridges.[protocol].getStatus

Check cross-chain status

transferId

{...}

Status string

System Commands

Command
Description
Payload Parameters
Example Payload
Return Value

system.get_status

Get overall system status

None

{}

Status object

system.get_metrics

Get performance metrics

None

{}

Metrics object

system.ping

Basic health check

None

{}

"pong"

PreviousAPI ReferenceNextAPI Reference: CLI Commands