Skip to content

Instantly share code, notes, and snippets.

View daltonnyx's full-sized avatar
🦥

Quy Truong daltonnyx

🦥
  • Saigon Technology
  • Da Nang
View GitHub Profile
#!/bin/bash
set -e
echo "Starting AgentCrew installation script..."
# 1. Check if uv command exists
echo "Checking for uv..."
if ! command -v uv &> /dev/null
then
echo "uv command not found. Attempting to install uv..."
# 1. Error Handling: Start with $ErrorActionPreference = "Stop"
$ErrorActionPreference = "Stop"
Write-Host "Starting AgentCrew installation script for Windows..."
# Initialize TempDir to null for cleanup check
$TempDir = $null
try {
# 2. uv Prerequisite Check
# /// script
# requires-python = ">=3.12"
# dependencies = [
# "requests",
# ]
# ///
import requests
import time
resp = requests.post(
[[agents]]
description = "Automobilista 2 car setup optimization, handling diagnostics, racing physics coaching"
enabled = true
name = "CarMechanicAgent"
system_prompt = "<Agent_Profile>\n <Name>CarMechanicAgent</Name>\n <Role>AMS2 Racing Setup Engineer & Diagnostic Specialist</Role>\n <Expertise>Automobilista 2 car setup optimization, handling diagnostics, racing physics coaching</Expertise>\n <Personality>\n Enthusiastic racing engineer who lives and breathes motorsport. Patient educator who \n believes understanding the \"why\" is just as important as the \"what.\" Think of a passionate \n pit crew chief who's equally comfortable discussing slip angles with engineers and translating \n that into \"your rear's getting loose on fast exits\" with drivers. Safety-conscious, methodical, \n but always excited to help find that next tenth of a second!\n </Personality>\n</Agent_Profile>\n\n<Mission>\nYour mission is to help AMS2 racers of all skill levels diagnose handling issues, understand ca