Agent Docs

Everything you need to run your sovereign AI agent

🧠 Agent Setup

🆕 First Time Setup (Mac)

  1. Download & install Ollama (free, one click).
  1. Open the Ollama app from your Applications folder. It runs silently in your menu bar — you won't see a window. That's normal.
  1. Go to the-undesirables.com/soul, look up your token, and click Download Agent Workspace. Unzip the folder.
  2. Open Terminal (press Cmd + Space, type "Terminal", hit Enter).
  3. Type cd (with a space after it), then drag your unzipped folder into the terminal window. Hit Enter.
  4. Paste this and hit Enter:
Mac — boot your agent
sudo chmod +x start.sh && ./start.sh

First run only: Ollama downloads the AI brain (~3-5 GB). This takes a few minutes the first time. After that, your agent boots instantly with its full personality and memory loaded.

💡 Mac tip: If you get "permission denied", the sudo in the command above should fix it. Your Mac may also ask you to allow the file in System Settings → Privacy & Security.

✅ Already Set Up? Come Back Anytime

Your agent is permanently saved on your machine. Open any terminal and type:

Replace 0250 with your padded token ID (e.g. token #250 = 0250)
ollama run undesirable_0250

Type /bye to exit the chat. Your agent will be there whenever you need it.

🎬 Clip Studio

Feed your agent any video. It transcribes it, picks the most viral moments, and renders vertical YouTube Shorts with captions and effects — all locally on your machine.

Basic Usage

Drop a video file into your agent folder (or reference its path), then run:

Generate shorts from a video
python3 clip_studio.py video.mp4

First run auto-installs FFmpeg (via Homebrew on Mac) and Whisper. After that it's instant.

Style Presets

Each agent gets a default style based on its personality. Override it with --style:

Clean — no effects, just vertical crops + captions
python3 clip_studio.py video.mp4 --style clean
Chaotic — glitch + VHS + shake + strobe 🔥
python3 clip_studio.py video.mp4 --style chaotic
Retro — VHS + film grain + warm + vignette
python3 clip_studio.py video.mp4 --style retro
Neon — cyberpunk color grade + RGB split
python3 clip_studio.py video.mp4 --style neon
Cinematic — bleach bypass + letterbox + movie fades
python3 clip_studio.py video.mp4 --style cinematic

Mix Your Own Effects

Use --effects to combine any effects you want:

Custom combo
python3 clip_studio.py video.mp4 --effects glitch,neon,letterbox
Retro vibes, no subtitles
python3 clip_studio.py video.mp4 --effects vhs,film_grain,warm --no-captions
Shaky cam + flash + cold grade
python3 clip_studio.py video.mp4 --effects shake,flash_in,cold

Full Effects Library (16 effects)

Browse everything available:

See all effects + presets
python3 clip_studio.py --list-effects

💥 Distortion

  • glitch — RGB channel offset + noise
  • vhs — Retro VHS tape look
  • rgb_split — Heavy chromatic aberration
  • channel_roll — Trippy color swap

🎥 Motion

  • shake — Camera shake / handheld
  • zoom_punch — Dramatic zoom-in
  • slow_intro — First 2s at half speed

🎨 Color Grade

  • neon — Cyberpunk high-sat
  • warm — Golden hour
  • cold — Ice blue tint
  • bleach — Desaturated cinema

📷 Texture

  • film_grain — Analog grain
  • vignette — Dark edge vignette
  • letterbox — Cinematic bars
  • retro_scan — CRT scanlines

✨ Transitions

  • flash_in — White flash at start
  • fade_in — Fade from black
  • fade_out — Fade to black at end
  • strobe — Quick strobe flashes

Options

Skip subtitle overlay
python3 clip_studio.py video.mp4 --no-captions
Limit to 3 clips
python3 clip_studio.py video.mp4 --max-clips 3
Control clip duration (20-45 seconds)
python3 clip_studio.py video.mp4 --min-length 20 --max-length 45

Batch Multiple Videos

Process every .mp4 in a folder at once:

Batch all .mp4 files
for f in *.mp4; do python3 clip_studio.py "$f" --style chaotic; done

Output

Clips are saved in a /clips folder next to your video file. Each clip is a vertical 1080x1920 MP4 ready to upload to YouTube Shorts, TikTok, or Instagram Reels.

A transcript.txt is also saved with the full transcription of the video.

🎨 Image Studio

Generate AI art anchored to your NFT's visual identity. Your agent's personality shapes the aesthetic — high-risk agents go gritty cyberpunk, low-risk agents go clean and composed.

Usage

Generate an image from a prompt
python3 image_studio.py "a bull market celebration"
Another example
python3 image_studio.py "neon city at midnight"

Uses free Hugging Face cloud compute — no API keys needed. Your NFT's reference image is automatically fetched to anchor the style.

🌐 Site Studio

Build a website in one command — for your agent, your personal brand, your business, or anything else. 6 themes, 5 animations, social links, gallery, contact form — zero dependencies. Customize everything with flags. Deploy for free on Netlify, Vercel, or GitHub Pages.

Generate Your Site

Default theme based on your agent's personality
python3 site_studio.py
Generate + open in browser
python3 site_studio.py --preview

Themes

Dark — sleek dark mode with neon accents
python3 site_studio.py --theme dark
Neon — cyberpunk hot pink + cyan
python3 site_studio.py --theme neon
Minimal — clean, light, professional
python3 site_studio.py --theme minimal
Brutalist — raw, bold, no-BS
python3 site_studio.py --theme brutalist
Glass — glassmorphism with frosted blur
python3 site_studio.py --theme glass
Retro — warm amber + terminal green
python3 site_studio.py --theme retro

Animations

Floating particle field
python3 site_studio.py --animation particles
Glitch text effect on heading
python3 site_studio.py --animation glitch
Animated gradient background
python3 site_studio.py --animation gradient
Matrix rain overlay
python3 site_studio.py --animation matrix
No animation
python3 site_studio.py --animation none

Customize

Custom bio/tagline
python3 site_studio.py --bio "your custom bio here"
Add social links
python3 site_studio.py --twitter @handle --discord invite-code
YouTube + TikTok
python3 site_studio.py --youtube https://youtube.com/@you --tiktok @handle
Custom accent color
python3 site_studio.py --color '#ff6600'
Pick which sections to include
python3 site_studio.py --sections hero,about,links

Sections

Toggle any combination with --sections:

  • hero — Profile image + name + bio
  • about — Personality + flaw
  • stats — Big Five + trading stats
  • traits — NFT trait breakdown
  • gallery — Image gallery (add to gallery/ folder)
  • links — Social links + OpenSea
  • lore — Agent lore + backstory
  • contact — Contact form

Browse All Options

See all themes, animations, and sections
python3 site_studio.py --list-themes

🏛️ Ensemble Boardroom

Own multiple Undesirables? Run them as a council. Each agent gets a role based on their personality — one proposes, one critiques, one executes. Cognitive diversity, not groupthink.

How It Works

The Boardroom auto-assigns roles based on each agent's Big Five personality scores:

  • 🗣️ Proposer — Highest Openness → spots the opportunity
  • 🛡️ Risk Manager — Highest Neuroticism → pokes holes in the idea
  • ⚖️ Executor — Highest Conscientiousness → makes the final call

The agents debate in 3 phases: Signal → Critique → Verdict. Each one responds in character, pulling live market data.

Usage

You need at least 2 token IDs. The agents must already be created via start.sh.

Run a 2-agent council
python3 scripts/council.py --tokens 250 420
Run a 3-agent council (full Proposer + Risk Manager + Executor)
python3 scripts/council.py --tokens 250 420 1337
Run a 5-agent war room
python3 scripts/council.py --tokens 69 420 1337 2222 4444

Example Output

With tokens #250 and #420:

Council auto-assigns roles from personality data
🗣️ Proposer (High Openness): Agent #250 (O: 78%)🛡️ Risk Manager (High Neurotic): Agent #420 (N: 72%)⚖️ Executor: highest Conscientiousness gets the tie-breaker

Each agent responds in character using the full personality from their SOUL.md. The more agents you add, the more nuanced the debate.

Advanced Tools

Your workspace also includes these background daemons:

  • sentry.pyMarket Sentry — runs in background, polls market data, alerts you when thresholds are hit (gas spikes, yield drops, price moves)
  • reflect.pyReflexion — weekly self-critique. Grades past predictions vs actual prices, writes critiques to MEMORY.md so the agent learns
Start market sentry (runs in background)
python3 scripts/sentry.py
Run weekly self-reflection for agent #250
python3 scripts/reflect.py --token 250

🎵 ACE-Step Music Generator

ACE-Step is a free, open-source AI music generator that creates full songs from text prompts. Use it to generate theme songs for your agent, promo beats, background audio for Clip Studio videos, or sonic branding for your personal or project identity.

What is ACE-Step?

ACE-Step is an AI model that generates complete audio tracks (vocals, instruments, beats) from a text description and optional lyrics. It runs 100% locally on your machine — no API keys, no subscriptions, no cloud costs. Created by the open-source community.

Why would I want this?

  • 🎤 Generate a theme song for your Undesirable agent
  • 🎬 Create background music for promo videos made with Clip Studio
  • 🎧 Make beats and audio for social media content
  • 🔊 Build sonic branding — intros, outros, notification sounds

Installation

ACE-Step requires Python 3.10+ and ~4GB of disk space for the model. The first run downloads the AI model automatically.

Step 1: Clone the repo

Clone ACE-Step
git clone https://github.com/ACE-Step/ACE-Step.git && cd ACE-Step

Step 2: Set up the environment

Create venv and install deps (Mac/Linux)
python3 -m venv venv && source venv/bin/activate && pip install -r requirements.txt

💡 Windows: Replace source venv/bin/activate with venv\Scripts\activate

Step 3: Launch

Start ACE-Step (opens in browser at localhost:7860)
python app.py

💡 First run: ACE-Step will download the AI model (~4GB). This only happens once. After that, it launches instantly.

Usage Tips

  • Prompt: Describe the genre, mood, and style — e.g. "dark trap beat, 808 bass, aggressive, Chicago drill"
  • Lyrics: Optional — paste lyrics and the AI will sing them
  • Duration: Generate 15-60 second clips (longer = slower)
  • Seeds: Use a specific seed number to reproduce a track you like
  • Export: Output is a .wav file — drag it into Clip Studio for video soundtracks

🎧 Pro tip: Generate multiple seeds (e.g. 1111, 2222, 5555) and pick the best one. AI music is like rolling dice — some seeds hit harder than others.

🚀 Deploy Your Site (Free)

Your generated site is a single HTML file. Here are three free hosting options — all under 2 minutes.

Option 1: Netlify (Easiest)

  1. Go to netlify.com/drop
  2. Drag your my_site/ folder into the browser window
  3. Done! Your site is live with a free .netlify.app URL

Option 2: Vercel

  1. Install Vercel CLI (one time):
Install Vercel CLI
npm install -g vercel
  1. Deploy:
Deploy to Vercel
cd my_site && vercel

Follow the prompts — your site gets a free .vercel.app URL.

Option 3: GitHub Pages

  1. Create a new GitHub repo
  2. Push your my_site/ folder to it
  3. Go to Settings → Pages → Deploy from main branch
  4. Your site is live at yourusername.github.io/repo-name

FAQ

Do I need to be online?

No. Once the AI brain is downloaded (first run), your agent runs 100% offline. No cloud, no API keys, no subscriptions.

How much RAM does it need?

HardwareModelRAM
🖥️ Desktop (16GB+)gemma3:12b12-16 GB
💻 Laptop (8GB)gemma3:4b4-6 GB
📱 Mobileqwen3.5:2b1-3 GB

Can I run it on my phone?

Yes! Download PocketPal AI (iOS) or MLC Chat (Android), load a small model, and paste the contents of SYSTEM_PROMPT.txt from your agent folder as the system prompt.

Does my agent remember conversations?

Your agent ships with a MEMORY.md file that's loaded on boot via the start.sh script. Future conversations in Ollama are remembered within the same session. Between sessions, you can add notes to MEMORY.md to build persistent knowledge.

What files are in my workspace?

  • SOUL.md — Full identity, personality, lore, and voice
  • SYSTEM_PROMPT.txt — Compressed soul for LLM context windows
  • MEMORY.md — Persistent memory and session history
  • AGENTS.md — Operating manual and guardrails
  • IDENTITY.md — Metadata and routing config
  • start.sh — One-click agent launcher
  • clip_studio.py — Viral YouTube Shorts generator
  • image_studio.py — AI art generator
  • PREDICTIONS_LEDGER.json — Trade idea tracker
  • sentry_config.md — Alert thresholds
  • skills/ — Agent skill modules