SyntheticMDProductions commited on
Commit
3eea00b
·
verified ·
1 Parent(s): e0265b9

Make ADAM a clean runnable source release

Browse files
Files changed (4) hide show
  1. .gitignore +20 -4
  2. LICENSE +21 -0
  3. README.md +34 -327
  4. config/tools.json +278 -0
.gitignore CHANGED
@@ -1,11 +1,27 @@
 
1
  __pycache__/
2
  *.py[cod]
3
  .pytest_cache/
4
  .venv/
5
  venv/
6
- logs/*.log
7
- data/projects/*
8
- !data/projects/.gitkeep
9
  config/settings.local.json
10
- *.tmp
 
 
 
11
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Python and test caches
2
  __pycache__/
3
  *.py[cod]
4
  .pytest_cache/
5
  .venv/
6
  venv/
7
+
8
+ # Local application state and user-connected tools
9
+ config/settings.json
10
  config/settings.local.json
11
+ config/external_tools.json
12
+ data/*
13
+ !data/.gitkeep
14
+ logs/
15
 
16
+ # Generated datasets, models, and media
17
+ ADAM_Datasets/
18
+ artifacts/
19
+ build/
20
+ dist/
21
+ *.safetensors
22
+ *.ckpt
23
+ *.pt
24
+ *.pth
25
+ *.bin
26
+ *.onnx
27
+ *.tmp
LICENSE ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2026 SyntheticMDProductions
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
README.md CHANGED
@@ -1,346 +1,53 @@
1
- # ADAM — AI Development and Automation Manager
2
-
3
- ADAM is a local, safety-first desktop hub for orchestrating AI project tools.
4
- It includes registered dataset, DDPM, and SDXL LoRA workflows with background
5
- planning, approval gates, progress reporting, and persistent asset history.
6
-
7
- Dataset preparation, captioning, and preview placeholders remain clearly marked
8
- as demo tools. The connected Dataset Collector, DDPM trainer, and Local SDXL
9
- LoRA Trainer use real adapters and never fall back to simulated training.
10
-
11
- Existing program folders can be connected from **Settings → Tool folders**.
12
- ADAM stores only the path and scans for likely entry points; it does not copy or
13
- modify the external project. Folder assignments can also be pasted into chat:
14
-
15
- ```text
16
- DDPM Trainer: D:\AI\DDPM
17
- Flow Matching Trainer: D:\AI\FlowMatchImageGenerator
18
- ```
19
-
20
- Detection does not automatically authorize training. A real training adapter
21
- remains gated until its dataset, model name, run settings, and output location
22
- are explicit.
23
-
24
- ## Training agents
25
-
26
- ADAM's training lifecycle is divided into four explainable responsibilities:
27
-
28
- - **EVE** reviews dataset membership and leaves uncertain images for the user.
29
- - **ORION** reviews planned epochs, batch size, resolution, image exposures, and
30
- estimated optimizer steps. He can require approval but never silently changes
31
- the requested settings. In the Model Creation Assistant, **ORION: apply a
32
- starting recipe** fills a conservative, editable draft from the image count
33
- and selected resolution before a plan is built.
34
- - **ATLAS** watches active training for non-finite loss, sustained critical GPU
35
- temperature, critically low disk space, stalls, and large runtime overruns.
36
- Critical conditions pause the trainer process tree so the user can inspect it.
37
- - **NOVA** examines available post-training previews and samples for unreadable
38
- files and exact-looking duplicate collapse. Her report explicitly separates
39
- technical sample health from subjective or subject-quality review.
40
-
41
- ORION, ATLAS, and NOVA reports are stored with each durable job record and are
42
- shown in Current Plan, Active Job, and Jobs / History respectively. ATLAS's
43
- default thresholds can be overridden in `config/settings.json` with the
44
- `atlas_*` settings defined in `adam/config.py`.
45
-
46
- ## Real image collection
47
-
48
- When a valid Dataset Collector folder is connected, the `dataset_collector`
49
- registry entry uses ADAM's real visible-browser adapter. After plan approval it:
50
-
51
- - opens Bing Images in a normal visible Chrome window;
52
- - waits when consent/CAPTCHA/human-verification text is detected;
53
- - resumes automatically after the user resolves the page;
54
- - downloads valid images at least 256×256;
55
- - removes exact duplicate downloads;
56
- - writes a matching `.txt` caption beside every image; and
57
- - records URLs, captions, sources, and dimensions in `metadata.csv`.
58
-
59
- No CAPTCHA or website restriction is bypassed. Closing Chrome or stopping the
60
- job ends collection safely. A new timestamped dataset folder is used rather
61
- than overwriting an existing collection.
62
-
63
- ADAM keeps an incomplete DDPM request in conversation memory. A follow-up such
64
- as `dataset folder Mario, model name Mario V2, epoch count 100, output D:\Runs`
65
- fills the pending fields and validates named datasets against the connected
66
- collector. It will not start if the dataset cannot be found.
67
-
68
- ## Showcase videos
69
-
70
- The **Showcase Video** workspace creates a finished MP4 directly from completed
71
- DDPM and Flow Matching models. Select and reorder the models, choose 12–24
72
- images per model, a 3-, 4-, or 5-second image duration, shared steps and aspect
73
- ratio, provider-compatible samplers, seed, and 720p or 1080p output. ADAM runs
74
- the image batches sequentially and then renders a request-list interface that
75
- tracks the active model, image number, trainer, steps, sampler, and aspect ratio.
76
- LoRA models are intentionally excluded from this streamlined workflow.
77
 
78
- When Ollama is reachable, messages that are not workflow commands receive a
79
- short conversational answer. Ollama may explain or plan, but it still cannot
80
- bypass the registry or confirmation gates.
81
-
82
- ## Web search in Chat Mode
83
-
84
- Chat Mode can give local Ollama current web context without an API key. Enable
85
- it in **Settings → Planning model**, then ask naturally, for example:
86
-
87
- ```text
88
- Search the web for Dandy's World character ideas.
89
- What are the latest Ollama release notes?
90
- Look up a reference for a cyberpunk city character.
91
- ```
92
-
93
- ADAM sends only that search query to Bing's public results feed, reads the
94
- result titles and snippets,
95
- and passes up to five titles, snippets, and links to Ollama. It does not open
96
- the result pages, download anything, or let web content run tools. Results are
97
- untrusted reference material, so ADAM is instructed to cite the links and flag
98
- uncertainty. Disable the setting to keep Chat Mode fully local.
99
-
100
- When you explicitly ask ADAM to **read**, **open**, or **research** result links,
101
- it can read up to three public HTML/text pages and give Ollama short extracts.
102
- For example: `Search the web for Undertale character ideas and read the most
103
- relevant links.` Direct links can be read with `Read https://example.com/ and
104
- summarize it.` Private/local addresses, non-web protocols, oversized pages,
105
- downloads, and more than three pages are blocked. This control can be disabled
106
- in Settings.
107
-
108
- Planning runs away from the interface thread, and conversational Ollama output
109
- is streamed into the chat. ADAM validates training commands against a strict
110
- schema and each registered trainer's declared capabilities before offering a
111
- job.
112
-
113
- In **Settings → Planning model**, **Chat response length** sets the maximum
114
- number of generated tokens for a Chat Mode reply. Higher values allow longer
115
- research summaries but use more time and GPU memory. The default is 1,024,
116
- which gives Qwen3 enough room to reason and still produce a visible response.
117
-
118
- ADAM stores friendly dataset/model names, paths, trainer types, epochs, and
119
- resume checkpoints in `data/assets.json`. Requests such as:
120
 
121
- ```text
122
- From the Mario dataset, train it on a DDPM for 300 epochs.
123
- With the Mario dataset, train it on a LoRA for 100 epochs.
124
- Continue the Mario model from the DDPM for 50 epochs.
125
- ```
126
 
127
- are resolved to real paths before approval. Continuation is offered only when a
128
- compatible checkpoint exists. New DDPM runs retain the latest resume checkpoint.
129
 
130
- ## Run
 
 
131
 
132
- ```powershell
133
- python main.py
134
- ```
135
 
136
- On Windows, you can also double-click `Launch ADAM.bat`.
 
 
 
137
 
138
- The app requires Python 3.10+ and PySide6. Optional integrations use `psutil`
139
- for system information and `pynvml` for NVIDIA GPU information.
140
 
141
  ```powershell
 
 
142
  python -m pip install -r requirements.txt
 
143
  ```
144
 
145
- Try:
146
-
147
- - Click **Create a model…** in Trainer Mode for the guided Model Creation Assistant.
148
- - `Adam, train a LoRA of Hatsune Miku`
149
- - `Adam, collect a dataset of liminal spaces`
150
- - `Adam, generate previews`
151
- - `Adam, check GPU status`
152
- - `From the Mario dataset, train it on a DDPM for 300 epochs`
153
- - `With the Mario dataset, train it on a LoRA for 100 epochs`
154
-
155
- Training and large collection plans are never started until you approve the
156
- plan. All actions are recorded in `logs/adam.log`, while project artifacts live
157
- under `data/projects/`.
158
-
159
- The Model Creation Assistant can start from a built-in Character LoRA, Style
160
- LoRA, DDPM, or Flow Matching preset. It can create a dataset or select a
161
- registered one, recommends starting values, and saves personal presets. The
162
- result still goes through ADAM's normal validated planner and approval gate.
163
- Use **+ Add model** to build a multi-model training batch. Each wide model tab
164
- keeps its own dataset, trainer, name, and settings; the minus button removes an
165
- unwanted model, and tabs can be dragged to change the run order. ADAM validates
166
- all models, presents one combined approval plan, and runs them sequentially so
167
- only one training workflow uses the GPU at a time. A failed step stops the batch
168
- before a later model starts.
169
- Before approval, ADAM adds checks for connected tools, dataset contents, the
170
- LoRA base model, and output-drive free space. Completed dataset and training
171
- jobs also include a suggested next step.
172
-
173
- ### Model Batch Builder
174
-
175
- Use **Create model batch…** to paste one requested subject per line. ADAM turns
176
- the list into editable model tabs, removes duplicate names, and lets the current
177
- trainer recipe be applied to any multi-selection of models. The batch is saved
178
- as a draft so it can be closed and resumed later.
179
-
180
- For a review-first workflow, choose **Collect missing datasets first**. This
181
- queues only sequential dataset collection and leaves training in the saved
182
- draft. After collection, reopen the draft, use **Find collected datasets**, and
183
- review each dataset in Training Studio. **Exclude rejected** moves rejected
184
- images out of the training folder into a recoverable quarantine, and **Restore
185
- excluded** reverses it. **Keep all images** marks the whole selected dataset as
186
- accepted in one action, after which individual bad images can still be rejected.
187
- Training remains locked until each model is explicitly
188
- marked as reviewed and ready. If every linked dataset is acceptable as-is,
189
- **Approve all datasets** marks the entire batch ready after one confirmation;
190
- it does not inspect individual images or apply pending rejection decisions.
191
-
192
- Completed Flow Matching models can be selected in **Fine-tune**. ADAM uses the
193
- saved Flow model folder as the continuation source, locks the continuation to
194
- the model's original resolution, and writes the fine-tuned result to a new
195
- output folder. This continues the saved weights while starting a fresh optimizer
196
- and learning-rate schedule; it does not overwrite the original model.
197
-
198
- ## Training Studio
199
-
200
- The **Training Studio** turns completed work into a reviewable experiment loop:
201
-
202
- - **Datasets** provides an image gallery, keep/reject decisions, caption editing,
203
- exact duplicate detection, and visually similar duplicate candidates.
204
- - **Experiments** compares job settings and outcomes, opens outputs, marks a
205
- preferred model, and converts successful settings into reusable recipes.
206
- - **Checkpoint Lab** browses model checkpoints and output images, records
207
- consistent prompt/seed evaluations, and sends preview requests through the
208
- normal approval-aware planner.
209
- - **Recipes** preserves training starting points and can import or export
210
- portable JSON recipe files.
211
-
212
- ### EVE AI Dataset Review
213
-
214
- In Training Studio → Datasets, **EVE AI Review…** performs a local reference-
215
- guided visual review. Add one or more good reference images and optional bad
216
- references, then choose Keep and Reject confidence thresholds. EVE uses a small
217
- DINOv2 vision model to divide the selected dataset into **Keep**, **Reject**, and
218
- **Uncertain** galleries with confidence scores. The model is downloaded once on
219
- first use and subsequent analysis stays local.
220
-
221
- Nothing is applied automatically. Inspect both sides, double-click images for a
222
- full view, and move selected results between the three groups before choosing
223
- **Apply EVE review**. EVE's decisions remain ordinary Training Studio review
224
- marks: they can be manually changed, and rejected files are not moved until
225
- **Exclude rejected** is selected. The latest proposal is also saved under
226
- `data/eve_reviews/` for auditing. Use **Select all in current group** (or
227
- Ctrl/Shift selection) to move many images at once; EVE transfers only the
228
- chosen thumbnails so manual sorting stays responsive on large datasets.
229
-
230
- Training panels show elapsed time, a progress-based ETA, recent logs, and a
231
- loss sparkline when the connected trainer reports `loss`. Preflight summaries
232
- include clearly labelled workload, duration, VRAM, and disk estimates. These
233
- estimates are planning hints rather than hardware guarantees.
234
-
235
- Create a Model also supports live training previews with a configurable
236
- epoch interval, prompt, and reproducible seed for each model tab. While a
237
- training job is active, its newest 256×256 preview appears in the right sidebar
238
- with the source epoch and next scheduled preview. The full-size trainer output
239
- can be opened from the card. Built-in adapters may publish previews directly;
240
- registered DDPM, Flow, LoRA, APVD, MaskGit, and other trainers can also
241
- participate by writing conventionally named `preview`, `sample`, or `epoch`
242
- images beneath their declared output folder.
243
-
244
- ## Generations
245
-
246
- The **Generations** workspace runs compatible registered image generators
247
- without opening their separate desktop interfaces. The connected DDPM and Flow
248
- Matching projects can generate from completed models with a reproducible seed,
249
- sampler or ODE method, step count, image count, and aspect ratio. Generation
250
- work uses the normal ADAM job queue, progress reporting, cancellation, and
251
- logging.
252
-
253
- Every completed batch is stored under `data/generations/` with its images and a
254
- `generation.json` sidecar. The history gallery can open an image or batch folder
255
- and restore the exact settings for another run. DDPM creative notes are stored
256
- with a batch for organization; they are not presented as text conditioning for
257
- an unconditional DDPM model.
258
-
259
- **Generation Cycle…** selects multiple compatible completed models and queues
260
- one generation step per model. Choose images per model, a shared prompt or
261
- creative note, starting seed, slideshow duration, looping, fullscreen playback,
262
- and an optional model/trainer label. When the cycle finishes, ADAM opens the
263
- results as a local slideshow while preserving every ordinary generation record
264
- in history.
265
-
266
- If ADAM discovers a job interrupted by an unexpected shutdown, it offers to
267
- open Jobs & History. The previous record remains intact and can be retried as a
268
- new approval-gated job. Job logs can also be exported for troubleshooting.
269
-
270
- ## Connect an existing tool
271
-
272
- ADAM supports importable Python functions and command-line Python scripts.
273
- For a no-code setup, open **Settings → External Tools → Add external tool**.
274
- Choose the program folder, select its training entry script and important
275
- configuration files, then review ADAM's static compatibility and safety report.
276
- The report covers:
277
-
278
- - detected command-line options and required inputs;
279
- - likely dataset formats;
280
- - output and checkpoint behavior;
281
- - progress reporting;
282
- - resume-training support; and
283
- - potentially risky operations visible in the selected entry script.
284
-
285
- The 1–10 rating measures how clearly the script fits ADAM's safe command-line
286
- contract. It is not a guarantee that third-party code is harmless. ADAM does
287
- not execute a script while scanning it, external tools cannot replace built-in
288
- registry entries, and every external-tool run requires explicit approval.
289
-
290
- After registration, a tool can be planned with a request such as:
291
-
292
- ```text
293
- Run APVD Model Trainer with dataset=D:\DreamData, epochs=20, output=D:\APVD\output
294
- ```
295
-
296
- ADAM will ask for any required inputs that were omitted before it offers the
297
- approval plan.
298
-
299
- For manual registry configuration, edit the relevant item in
300
- `config/tools.json`:
301
-
302
- ```json
303
- {
304
- "backend": {
305
- "type": "python",
306
- "module": "my_tools.lora",
307
- "function": "train"
308
- },
309
- "demo": false
310
- }
311
- ```
312
-
313
- The function receives a `ToolContext` as its first argument and keyword
314
- arguments from the approved plan. This keeps training code in one place: your
315
- existing GUI and ADAM can both call the same backend.
316
-
317
- For scripts:
318
-
319
- ```json
320
- {
321
- "backend": {
322
- "type": "script",
323
- "path": "D:/AI/LoRATrainer/train.py"
324
- },
325
- "demo": false
326
- }
327
- ```
328
-
329
- ADAM invokes scripts directly with the current Python interpreter, captures
330
- stdout/stderr, and never drives another GUI with mouse clicks.
331
 
332
- ## Safety model
333
 
334
- - Plans are shown before execution.
335
- - Long, destructive, or high-volume work requires confirmation.
336
- - Unregistered tools cannot be invoked.
337
- - External paths and arguments are validated before execution.
338
- - The LLM may propose a plan, but only registered tools can execute it.
339
- - Pause, resume, and cancel controls are available for active jobs.
340
- - Every tool action and state transition is logged.
341
 
342
- ## Tests
343
 
344
  ```powershell
345
  python -m pytest -q
346
  ```
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ tags:
4
+ - desktop-application
5
+ - ai-tools
6
+ - dataset-management
7
+ - lora-training
8
+ - windows
9
+ ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
 
11
+ # ADAM AI Development and Automation Manager
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
 
13
+ ADAM is a local Windows desktop hub for organizing AI image-development workflows. It helps you prepare and review datasets, connect your own training tools, plan runs with explicit approval, monitor jobs, and keep a history of your own assets.
 
 
 
 
14
 
15
+ ## What is included
 
16
 
17
+ - ADAM source code and the built-in tool registry.
18
+ - A clean, empty external-tool registry.
19
+ - No model weights, LoRAs, checkpoints, datasets, generated images, job history, personal paths, API keys, or local settings.
20
 
21
+ ## Requirements
 
 
22
 
23
+ - Windows 10/11
24
+ - Python 3.10 or later
25
+ - Optional: NVIDIA GPU for compatible training workflows
26
+ - Optional: Ollama for local chat assistance
27
 
28
+ ## Install and run
 
29
 
30
  ```powershell
31
+ git clone https://huggingface.co/SyntheticMDProductions/AI_Development_Automation_Manager
32
+ cd AI_Development_Automation_Manager
33
  python -m pip install -r requirements.txt
34
+ python main.py
35
  ```
36
 
37
+ On first launch, ADAM creates your personal `config/settings.json` automatically. In **Settings → Tool folders**, connect the local projects, datasets, and models that you own and want ADAM to manage. ADAM does not bundle or download model weights for you.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
 
39
+ ## Notes for users
40
 
41
+ - Training and collection plans require approval before ADAM starts them.
42
+ - You are responsible for the licenses, permissions, and rights for any datasets, models, and third-party tools you connect.
43
+ - This repository is a downloadable desktop application. It is not a hosted Hugging Face Space or an inference model.
 
 
 
 
44
 
45
+ ## Development
46
 
47
  ```powershell
48
  python -m pytest -q
49
  ```
50
+
51
+ ## License
52
+
53
+ ADAM is released under the [MIT License](LICENSE).
config/tools.json ADDED
@@ -0,0 +1,278 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "tools": [
3
+ {
4
+ "id": "youtube_video_collector",
5
+ "name": "ADAM Video Dataset Collector",
6
+ "description": "Previews and downloads supplied YouTube videos or playlists, normalizes MP4 files, extracts traceable frames, and writes provenance and credits.",
7
+ "category": "Dataset",
8
+ "entry_function": "collect_youtube_dataset",
9
+ "arguments": ["dataset_name", "urls", "output_root", "max_videos", "max_duration_seconds", "max_total_duration_seconds", "max_total_size_mb", "preferred_resolution", "download_audio", "skip_beginning_seconds", "skip_ending_seconds", "mode", "frames_per_second", "max_accepted_frames", "remove_blurry_frames", "remove_black_frames", "remove_near_duplicates", "duplicate_threshold", "keep_mp4", "separate_source_folders", "mix_accepted_frames", "generate_captions", "generate_credits", "save_exact_timestamps", "dry_run", "permission_status", "retry_limit"],
10
+ "required_arguments": ["dataset_name", "urls"],
11
+ "capabilities": ["manual_urls", "playlist_limit", "metadata_preview", "mp4_normalization", "frame_provenance", "progress", "pause", "cancel"],
12
+ "requires_confirmation": true,
13
+ "enabled": true,
14
+ "demo": false,
15
+ "backend": {
16
+ "type": "python",
17
+ "module": "adam.tools.youtube_video_collector",
18
+ "function": "collect_youtube_dataset"
19
+ }
20
+ },
21
+ {
22
+ "id": "dataset_collector",
23
+ "name": "Dataset Collector",
24
+ "description": "Collects image references and produces a reviewable dataset manifest.",
25
+ "category": "Dataset",
26
+ "entry_function": "collect_dataset",
27
+ "arguments": ["subject", "image_count", "collection_mode", "project_name", "output_dir"],
28
+ "required_arguments": ["subject", "image_count", "project_name"],
29
+ "capabilities": ["fresh_collection", "named_output"],
30
+ "requires_confirmation": true,
31
+ "enabled": true,
32
+ "demo": false,
33
+ "backend": {
34
+ "type": "python",
35
+ "module": "adam.tools.real_dataset_collector",
36
+ "function": "collect_dataset"
37
+ }
38
+ },
39
+ {
40
+ "id": "dataset_preparer",
41
+ "name": "Dataset Preparation",
42
+ "description": "Validates, filters, deduplicates, and prepares collected images.",
43
+ "category": "Dataset",
44
+ "entry_function": "prepare_dataset",
45
+ "arguments": ["project_name"],
46
+ "requires_confirmation": false,
47
+ "enabled": true,
48
+ "demo": true,
49
+ "backend": {
50
+ "type": "python",
51
+ "module": "adam.tools.demo_backends",
52
+ "function": "prepare_dataset"
53
+ }
54
+ },
55
+ {
56
+ "id": "caption_generator",
57
+ "name": "Caption Generator",
58
+ "description": "Creates editable training captions from a prepared dataset.",
59
+ "category": "Dataset",
60
+ "entry_function": "generate_captions",
61
+ "arguments": ["subject", "project_name"],
62
+ "requires_confirmation": false,
63
+ "enabled": true,
64
+ "demo": true,
65
+ "backend": {
66
+ "type": "python",
67
+ "module": "adam.tools.demo_backends",
68
+ "function": "generate_captions"
69
+ }
70
+ },
71
+ {
72
+ "id": "lora_trainer",
73
+ "name": "LoRA Trainer",
74
+ "description": "Launches and monitors a registered SD/SDXL LoRA training backend.",
75
+ "category": "Training",
76
+ "entry_function": "train_lora",
77
+ "arguments": ["dataset_dir", "model_name", "epochs", "output_dir", "base_model", "resume_from", "preview_enabled", "preview_every", "preview_prompt", "preview_seed"],
78
+ "required_arguments": ["dataset_dir", "model_name", "epochs", "output_dir", "base_model"],
79
+ "capabilities": ["fresh_training", "resume_training", "progress", "pause", "cancel"],
80
+ "requires_confirmation": true,
81
+ "enabled": true,
82
+ "demo": false,
83
+ "backend": {
84
+ "type": "python",
85
+ "module": "adam.tools.lora_adapter",
86
+ "function": "train_lora"
87
+ }
88
+ },
89
+ {
90
+ "id": "preview_generator",
91
+ "name": "Preview Generator",
92
+ "description": "Produces review previews from the latest registered model output.",
93
+ "category": "Output",
94
+ "entry_function": "generate_previews",
95
+ "arguments": [
96
+ "subject",
97
+ "project_name",
98
+ "preview_count",
99
+ "model_name",
100
+ "checkpoint",
101
+ "prompt",
102
+ "seed"
103
+ ],
104
+ "requires_confirmation": false,
105
+ "enabled": true,
106
+ "demo": true,
107
+ "backend": {
108
+ "type": "python",
109
+ "module": "adam.tools.demo_backends",
110
+ "function": "generate_previews"
111
+ }
112
+ },
113
+ {
114
+ "id": "ddpm_generator",
115
+ "name": "DDPM Generator",
116
+ "description": "Generates reproducible image batches from completed models in the connected DDPM project.",
117
+ "category": "Output",
118
+ "entry_function": "generate_ddpm_images",
119
+ "arguments": ["model_name", "model_path", "prompt", "image_count", "steps", "seed", "sampler", "aspect_ratio", "reference_image", "reference_strength", "width", "height", "preview_interval"],
120
+ "required_arguments": ["model_name", "model_path", "prompt", "image_count", "steps", "seed", "sampler", "aspect_ratio"],
121
+ "capabilities": ["image_generation", "seed", "sampler", "batch", "aspect_ratio", "reference_image", "live_preview", "progress", "cancel"],
122
+ "model_trainers": ["ddpm"],
123
+ "generation_options": {
124
+ "samplers": ["DDIM", "DDPM"],
125
+ "aspect_ratios": ["1:1 (Square)", "16:9 (Widescreen)", "9:16 (Portrait)", "4:3 (Classic)", "3:4 (Portrait Classic)", "3:2 (Photo)", "2:3 (Portrait Photo)"],
126
+ "step_min": 5,
127
+ "step_max": 500,
128
+ "step_default": 50
129
+ },
130
+ "requires_confirmation": false,
131
+ "enabled": true,
132
+ "demo": false,
133
+ "backend": {
134
+ "type": "python",
135
+ "module": "adam.tools.ddpm_generator",
136
+ "function": "generate_ddpm_images"
137
+ }
138
+ },
139
+ {
140
+ "id": "flow_generator",
141
+ "name": "Flow Matching Generator",
142
+ "description": "Generates reproducible image batches from completed models in the connected Flow Matching project.",
143
+ "category": "Output",
144
+ "entry_function": "generate_flow_images",
145
+ "arguments": ["model_name", "model_path", "prompt", "image_count", "steps", "seed", "sampler", "aspect_ratio", "preview_interval"],
146
+ "required_arguments": ["model_name", "model_path", "prompt", "image_count", "steps", "seed", "sampler", "aspect_ratio"],
147
+ "capabilities": ["image_generation", "seed", "ode_method", "batch", "aspect_ratio", "live_preview", "progress", "cancel"],
148
+ "model_trainers": ["flow"],
149
+ "generation_options": {
150
+ "samplers": ["Heun", "Euler"],
151
+ "aspect_ratios": ["1:1 (Square)", "4:3 (Landscape)", "3:4 (Portrait)", "3:2 (Landscape)", "2:3 (Portrait)", "16:9 (Widescreen)", "9:16 (Vertical)"],
152
+ "step_min": 1,
153
+ "step_max": 200,
154
+ "step_default": 20
155
+ },
156
+ "requires_confirmation": false,
157
+ "enabled": true,
158
+ "demo": false,
159
+ "backend": {
160
+ "type": "python",
161
+ "module": "adam.tools.flow_generator",
162
+ "function": "generate_flow_images"
163
+ }
164
+ },
165
+ {
166
+ "id": "lora_generator",
167
+ "name": "LoRA Generator",
168
+ "description": "Generates prompted SDXL image batches with completed LoRAs from the connected LoRA Trainer project.",
169
+ "category": "Output",
170
+ "entry_function": "generate_lora_images",
171
+ "arguments": ["model_name", "model_path", "prompt", "negative_prompt", "base_model_path", "image_count", "steps", "seed", "sampler", "aspect_ratio", "width", "height", "cfg_scale", "lora_strength", "reference_image", "denoise_strength", "prompt_weighting", "preview_interval"],
172
+ "required_arguments": ["model_name", "model_path", "prompt", "image_count", "steps", "seed", "sampler", "aspect_ratio"],
173
+ "capabilities": ["image_generation", "text_prompt", "seed", "sampler", "batch", "aspect_ratio", "reference_image", "live_preview", "progress", "cancel"],
174
+ "model_trainers": ["lora"],
175
+ "generation_options": {
176
+ "samplers": ["DPM++ 2M", "DPM++ SDE", "Euler", "Euler a", "DDIM"],
177
+ "aspect_ratios": ["1:1 (Square)", "4:3 (Landscape)", "3:4 (Portrait)", "3:2 (Landscape)", "2:3 (Portrait)", "16:9 (Widescreen)", "9:16 (Vertical)"],
178
+ "step_min": 1,
179
+ "step_max": 150,
180
+ "step_default": 30
181
+ },
182
+ "requires_confirmation": false,
183
+ "enabled": true,
184
+ "demo": false,
185
+ "backend": {
186
+ "type": "python",
187
+ "module": "adam.tools.lora_generator",
188
+ "function": "generate_lora_images"
189
+ }
190
+ },
191
+ {
192
+ "id": "showcase_video_renderer",
193
+ "name": "Showcase Video Renderer",
194
+ "description": "Composes images generated by the current job into ADAM's finished showcase MP4 interface.",
195
+ "category": "Output",
196
+ "entry_function": "render_showcase_video",
197
+ "arguments": ["title", "display_seconds", "resolution", "models"],
198
+ "required_arguments": ["title", "display_seconds", "resolution", "models"],
199
+ "capabilities": ["video_generation", "progress", "cancel"],
200
+ "requires_confirmation": false,
201
+ "enabled": true,
202
+ "demo": false,
203
+ "backend": {
204
+ "type": "python",
205
+ "module": "adam.showcase",
206
+ "function": "render_showcase_video"
207
+ }
208
+ },
209
+ {
210
+ "id": "completion_notifier",
211
+ "name": "Completion Notification",
212
+ "description": "Records pipeline completion and makes the output easy to open.",
213
+ "category": "System",
214
+ "entry_function": "notify_complete",
215
+ "arguments": ["project_name"],
216
+ "requires_confirmation": false,
217
+ "enabled": true,
218
+ "demo": true,
219
+ "backend": {
220
+ "type": "python",
221
+ "module": "adam.tools.demo_backends",
222
+ "function": "notify_complete"
223
+ }
224
+ },
225
+ {
226
+ "id": "system_monitor",
227
+ "name": "System Monitor",
228
+ "description": "Reports CPU, RAM, GPU, VRAM, temperature, and active processes.",
229
+ "category": "System",
230
+ "entry_function": "inspect_system",
231
+ "arguments": ["project_name"],
232
+ "requires_confirmation": false,
233
+ "enabled": true,
234
+ "demo": false,
235
+ "backend": {
236
+ "type": "python",
237
+ "module": "adam.tools.demo_backends",
238
+ "function": "inspect_system"
239
+ }
240
+ },
241
+ {
242
+ "id": "ddpm_trainer",
243
+ "name": "DDPM Trainer",
244
+ "description": "Launches and monitors the connected DDPM trainer with safe, explicit run settings.",
245
+ "category": "Training",
246
+ "entry_function": "train_ddpm",
247
+ "arguments": ["dataset_dir", "model_name", "epochs", "output_dir", "resume_from", "resolution", "batch_size", "learning_rate", "gradient_accumulation_steps", "dataloader_num_workers", "mixed_precision", "save_every", "preview_steps", "training_intensity", "preview_enabled", "preview_every", "preview_prompt", "preview_seed"],
248
+ "required_arguments": ["dataset_dir", "model_name", "epochs", "output_dir"],
249
+ "capabilities": ["fresh_training", "resume_training", "progress", "pause", "cancel"],
250
+ "requires_confirmation": true,
251
+ "enabled": true,
252
+ "demo": false,
253
+ "backend": {
254
+ "type": "python",
255
+ "module": "adam.tools.ddpm_adapter",
256
+ "function": "train_ddpm"
257
+ }
258
+ },
259
+ {
260
+ "id": "flow_trainer",
261
+ "name": "Flow Matching Trainer",
262
+ "description": "Launches and monitors the connected Rectified Flow image trainer.",
263
+ "category": "Training",
264
+ "entry_function": "train_flow",
265
+ "arguments": ["dataset_dir", "model_name", "epochs", "output_dir", "resume_from", "resolution", "batch_size", "learning_rate", "gradient_accumulation", "workers", "mixed_precision", "save_every", "preview_every", "preview_steps", "gradient_checkpointing", "preview_enabled", "preview_prompt", "preview_seed"],
266
+ "required_arguments": ["dataset_dir", "model_name", "epochs", "output_dir"],
267
+ "capabilities": ["fresh_training", "resume_training", "progress", "cancel"],
268
+ "requires_confirmation": true,
269
+ "enabled": true,
270
+ "demo": false,
271
+ "backend": {
272
+ "type": "python",
273
+ "module": "adam.tools.flow_adapter",
274
+ "function": "train_flow"
275
+ }
276
+ }
277
+ ]
278
+ }