uv-install-agentjet-swarm-server

when the user only need to run agentjet client, and do not have to run models locally (e.g. user in their laptop), ONLY install AgentJet basic requirements is enough (pip install -e .). see install-agentjet-client skill

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "uv-install-agentjet-swarm-server" with this command: npx skills add binary-husky/vibe-rl/binary-husky-vibe-rl-uv-install-agentjet-swarm-server

when the user only need to run agentjet client, and do not have to run models locally (e.g. user in their laptop), ONLY install AgentJet basic requirements is enough (pip install -e .). see install-agentjet-client skill

Prerequisites Check

Check Python version requirement (3.10) and uv availability.

Verify user has uv installed:

uv --version

If uv is not installed, follow the uv installation guide.

Step 1: Clone the Repository

Clone the AgentJet repository from GitHub and navigate into the project directory:

git clone https://github.com/modelscope/AgentJet.git cd AgentJet

Step 2: Create Virtual Environment

Create a new virtual environment with Python 3.10 using uv:

uv venv --python=3.10 source .venv/bin/activate

Step 3: Install Dependencies

Install AgentJet with the verl training backbone:

uv pip install -e .[verl]

For users in China (faster with Aliyun mirror):

uv pip install -i https://mirrors.aliyun.com/pypi/simple/ -e .[verl]

Step 4: Test GitHub Connection (Before flash-attn)

Before installing flash-attn, test your connection to GitHub:

curl -I https://github.com --connect-timeout 10

or

git ls-remote https://github.com/Dao-AILab/flash-attention.git

!!! danger "⚠️ CRITICAL: Unstable GitHub Connection Detected" If the above command fails or times out, you will NOT be able to download pre-compiled flash-attn wheels from GitHub.

This means flash-attn will need to be compiled from source, which can take:

  • 30+ minutes on a fast machine
  • 1-2+ hours on slower machines

RECOMMENDED: Find a way to establish a stable GitHub connection before proceeding:

  • Use a VPN or proxy
  • Use GitHub mirrors if available in your region
  • Wait for better network conditions
  • Use a machine with better GitHub connectivity

If you cannot establish a stable connection and must proceed with compilation:

# Set to number of CPUs to speed up compilation
export MAX_JOBS=$(nproc)

Step 5: Install flash-attn

flash-attn must be installed after other dependencies:

uv pip install --verbose flash-attn --no-deps --no-build-isolation --no-cache

For users in China (faster with Aliyun mirror):

uv pip install -i https://mirrors.aliyun.com/pypi/simple/ --verbose flash-attn --no-deps --no-build-isolation --no-cache

!!! warning "flash-attn Installation Notes"

  • flash-attn must be installed after other dependencies.
  • If installation takes a long time, ensure a healthy connection to GitHub.
  • To build faster, you can set: export MAX_JOBS=${N_CPU} (replace ${N_CPU} with number of CPUs).

Step 6: Verify Installation

Verify the installation by checking the AgentJet version:

python -c "import ajet; print(ajet.version)"

Next Steps

After successful installation:

  • Quick Start: Run your first training command and explore examples

  • Tune Your First Agent: Follow the step-by-step guide to build and train your own agent

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

docker-install-agentjet-swarm-server

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

Skill Creator (Opencode)

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize a...

Registry SourceRecently Updated
Coding

Funnel Builder

Builds complete multi-channel revenue funnels adapted to any business model. Combines proven frameworks from elite operators: Yomi Denzel's viral top-of-funn...

Registry SourceRecently Updated
Coding

macos-wechat-send

Automates sending messages on WeChat Mac by controlling the app via AppleScript and clipboard to reliably deliver text to specified contacts.

Registry SourceRecently Updated