Logo vun Setup Agystack

Setup Agystack

Communautéit
jtaroreh
setup-agystack

Configure models and execution runtime for agystack. Configures Antigravity model tiers per role and Cloud Run runtime settings for up to 100+ parallel workers.

Iwwersiicht

Editeurjtaroreh
Repositoryagystack
Skill-Nummsetup-agystack
Stären
120
Forks
12
Matgeliwwert Fichieren
1
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 1 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum jtaroreh op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Setup Agystack an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/jtaroreh/agystack/tree/main/skills/setup-agystack
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jtaroreh/agystack.git /tmp/agystack
mkdir -p .claude/skills
cp -r /tmp/agystack/skills/setup-agystack .claude/skills/setup-agystack
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Setup Agystack an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Setup Agystack automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Setup Agystack net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Setup agystack

Configure model tiers in ~/.gemini/config/plugins/agystack/rules/agystack-models.md and execution runtime in ~/.gemini/config/plugins/agystack/agystack-runtime.json (or workspace .agents/plugins/agystack/).

Prerequisites

  • bun (v1.0+) is mandatory for PR babysitting (watch-pr) and multi-agent orchestration (orch). Node.js is not supported.
  • gh (GitHub CLI) is required for PR automation and preflight checks.
  • gt (Graphite CLI) is recommended for stacked PRs.
  • google-cloud-storage, google-genai, and google-cloud-run are optional Python libraries for GCS artifact storage, preflight checks, and Cloud Run job monitoring.

During setup, verify dependencies automatically via --doctor:

bash
python3 "$(find ~/.gemini/config/plugins/agystack .agents/plugins/agystack skills/setup-agystack -name "setup_runtime.py" 2>/dev/null | head -1)" --doctor

Steps

1. Select execution runtime

Choose the execution runtime for parallel swarms:

  • Local Runtime (Default): Runs via native invoke_subagent in Antigravity for up to 8 concurrent workers. Zero cloud setup required.
  • Cloud Run Runtime: Runs via Google Cloud Run Jobs for 10 to 100+ parallel workers in isolated container instances. Cloud Run is strictly an on-demand batch runner. It only spins up containers when you explicitly trigger /swarm (or ask to swarm a task across many parallel workers). It does not run continuously and is never an always-on server. It costs $0 when idle. Daily tasks (pair programming, routine edits, bug fixes, refactoring, code reviews via /interrogate, and local subagents) always run locally on your machine.

CRITICAL INSTRUCTION FOR AI AGENT WHEN PRESENTING RUNTIME CHOICE: When presenting the runtime choice to the user, explicitly explain the cost and execution model before asking them to choose:

  1. Explain that Cloud Run is strictly an on-demand batch runner. It only spins up containers when the user explicitly triggers /swarm (or asks to swarm a task across many parallel workers).
  2. Clarify that Cloud Run does NOT run continuously and is never an always-on server.
  3. State that Cloud Run costs $0 when idle.
  4. Reassure the user that daily tasks (pair programming, routine edits, bug fixes, refactoring, code reviews via /interrogate, and local subagents) ALWAYS run locally on their machine.

If Cloud Run is selected: CRITICAL INSTRUCTION FOR AI AGENT FOR PROVISIONING: NEVER print manual bash commands with placeholders (like <your-gcp-project-id>) for the user to run. You MUST directly execute the setup commands yourself using python3 "$(find ~/.gemini/config/plugins/agystack .agents/plugins/agystack skills/setup-agystack -name "setup_runtime.py" 2>/dev/null | head -1)" right here in the chat environment.

  1. Verify Quotas and Permissions:
    • Google AI Studio API Key: If using GEMINI_API_KEY, verify that paid billing (Pay-as-you-go / Tier 1+) is enabled on the AI Studio project. Free-tier API keys (capped at 5 requests per minute) are strictly prohibited for swarms because parallel workers will hit immediate rate limits.
    • Vertex AI Mode: If using Vertex AI mode, verify that the GCP project has the Vertex AI API enabled (aiplatform.googleapis.com) and that the active user or service account has the Vertex AI User role (roles/aiplatform.user).
    • Model Availability: Gemini 3 series models (gemini-3.8-flash) require global routing (aiplatform.googleapis.com with locations/global). Regional endpoints return HTTP 404 for Gemini 3.x.
  2. Check Requirements: Run python3 skills/setup-agystack/scripts/setup_runtime.py --check to verify gcloud is available and authenticated.
  3. Select Project:
    • Query available projects by running python3 skills/setup-agystack/scripts/setup_runtime.py --list-projects.
    • Ask the user which project they want to use, or if they want you to create a new one.
  4. Provisioning: Once a project ID is known, run the full provisioner (do this yourself, do not ask the user to do it!): python3 skills/setup-agystack/scripts/setup_runtime.py --project <PROJECT_ID> --auto-provision --scripts-dir skills/swarm/scripts (or use --create-project <PROJECT_ID> instead of --project if creating a new one).

Do not leave the user to do the work. Complete the deployment end-to-end for them. Ensure GEMINI_API_KEY is exported in the user's environment with paid tier enabled (Pay-as-you-go), or Vertex AI permissions and global endpoint access are verified.

2. Detect available models

Enumerate the model tiers you can pass to invoke_subagent:

  • pro: High-capability tier (maximum reasoning budget for complex code, architecture, and hard tasks)
  • flash: Balanced fast tier (fast execution for exploration and standard generation)
  • flash_lite: Lightweight tier (minimal latency for quick lookups)
  • inherit (or auto): Inherit parent chat model

3. Load current state

If ~/.gemini/config/plugins/agystack/rules/agystack-models.md exists, read its current role assignments. Otherwise start from skill defaults.

4. Map and confirm

Show every role with its model tier and confirm:

  • Single roles: feature, refactoring, bug-fix, perf-issue, hillclimb, swarm workers
  • Panel roles: arena runners, architect runners, interrogate reviewers

5. Write the model rule

Write to .agents/plugins/agystack/rules/agystack-models.md if installed workspace-locally, otherwise ~/.gemini/config/plugins/agystack/rules/agystack-models.md:

# agystack model configuration. One line per role. Delete a line to fall back to the skill default.
# Antigravity model tiers for invoke_subagent:
# - pro        (High-capability tier: deep reasoning, large refactors, complex design)
# - flash      (Balanced fast tier: exploration, reading, standard code generation)
# - flash_lite (Lightweight tier: fast mechanical lookups)
# - inherit    (Runs on the active parent chat session model)

feature, refactoring: pro
bug-fix: pro
perf-issue: pro
hillclimb: pro
judgment and prose: pro
hardest tasks: pro
how explorer: flash
how explainer: pro
why investigators: flash
why synthesizer: pro
reflect tooling: pro
reflect judgment, divergent, synthesizer: pro
arena runners: pro, flash, inherit
arena cross-judge pool: pro, flash, inherit
swarm workers: flash
architect runners: pro, flash, inherit
interrogate reviewers: pro, flash, inherit

6. Confirm

Confirm that the model rule and runtime settings are active for new sessions.

7. Offer a verification skill (optional)

If the project lacks an end-to-end verification harness, offer /create-verification-skill.

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Setup Agystack?

Configure models and execution runtime for agystack. Configures Antigravity model tiers per role and Cloud Run runtime settings for up to 100+ parallel workers.

Firwat Setup Agystack op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Setup Agystack besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Setup Agystack an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/jtaroreh/agystack/tree/main/skills/setup-agystack an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Setup Agystack benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Setup Agystack benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Setup Agystack domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Setup Agystack gratis?

Jo. De Skill gëtt vum jtaroreh ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇