AIOS Docs
  • Welcome
  • Getting Started
    • Installation
    • Quickstart
      • Use Terminal
      • Use WebUI
    • Environment Variables Configuration
  • AIOS Kernel
    • Overview
    • LLM Core(s)
      • LiteLLM Compatible Backend
      • vLLM Backend
      • Hugging Face Backend
      • LLM Routing
    • Scheduler
      • FIFOScheduler
      • RRScheduler
    • Context
    • Memory
      • Base Layer
      • Agentic Memory Operations
    • Storage
      • sto_mount
      • sto_create_file
      • sto_create_directory
      • sto_write
      • sto_retrieve
      • sto_rollback
      • sto_share
    • Tools
    • Access
    • Syscalls
    • Terminal
  • AIOS Agent
    • How to Use Agent
    • How to Develop Agents
      • Develop with Native SDK
      • Develop with AutoGen
      • Develop with Open-Interpreter
      • Develop with MetaGPT
    • How to Publish Agents
  • AIOS-Agent SDK
    • Overview
    • LLM Core API
      • llm_chat
      • llm_chat_with_json_output
      • llm_chat_with_tool_call_output
      • llm_call_tool
      • llm_operate_file
    • Memory API
      • create_memory
      • get_memory
      • update_memory
      • delete_memory
      • search_memories
      • create_agentic_memory
    • Storage API
      • mount
      • create_file
      • create_dir
      • write_file
      • retrieve_file
      • rollback_file
      • share_file
    • Tool API
      • How to Develop Tools
    • Access API
    • Post API
    • Agent API
  • Community
    • How to Contribute
Powered by GitBook
On this page
  1. AIOS Agent

How to Publish Agents

PreviousDevelop with MetaGPTNextOverview

Last updated 1 month ago

Before submitting your agents, make sure that you have read and followed the guidelines in and check the following things

  1. Tested your agent locally and verified its functionality

  2. Organized agent files according to the required structure

  3. Configured the correct versioning in your agent's configuration file

After you develop your agents locally and organize the agent files in the structure, you can run the following file to upload your agent.

upload-agent \
    --agent_path <agent_path> \
    --agenthub_url <agenthub_url>

For example, if you run the following command

upload-agent \ 
    --agent_path /home/user/xxx/Cerebrum/cerebrum/example/agents/academic_agent \
    --agenthub_url https://app.aios.foundation

It is expected to show the following feedback if your agent has been uploaded successfully.

It is important to mention that the version guidelines as below

Version Format

  • Follow semantic versioning (MAJOR.MINOR.PATCH)

  • Example: 1.0.0, 1.1.0, 2.0.0

Important Version Rules

  1. Immutable Versions: Similar to PyPI packages and Huggingface models, uploaded agent versions are immutable and cannot be modified

  2. Version Updates: To upload changes:

    • Increment the version number in your agent's config.json

    • Major version (X.0.0): Breaking changes

    • Minor version (0.X.0): New features, backward compatible

    • Patch version (0.0.X): Bug fixes

How to Develop Agents
Successfully uploaded example.