AGILAB PyTorch playground app for reproducible neural-network experiments
Project description
agi-app-pytorch-playground
agi-app-pytorch-playground publishes the pytorch_playground_project AGILAB
app as a self-contained PyPI payload. It turns an interactive neural-network
playground into an executable AGILAB app with persisted arguments, worker
execution, and deterministic evidence artifacts.
Purpose
Use this package to train a small PyTorch classifier on generated visual datasets, watch the decision boundary move with play/pause controls, inspect the resulting boundary/layers/loss terrain, and keep the configuration and artifacts replayable.
Classic browser neural-network playgrounds are still the shortest beginner teaching route. This package is the engineering-oriented step after that: PyTorch-native execution, replay tokens, deterministic manifests, evidence ZIPs, and reusable PyTorch/Lightning code from the same visual lesson.
Installed Project
The distribution name is agi-app-pytorch-playground; the AGILAB project name
is pytorch_playground_project. The package exposes both
pytorch_playground and pytorch_playground_project through the agilab.apps
entry point group, so AgiEnv(app="pytorch_playground_project") resolves the
project without a monorepo checkout.
Install
pip install agi-app-pytorch-playground
The app project itself installs PyTorch when AGILAB prepares its project environment. The payload package stays lightweight and only exposes the project root.
Direct Launch
When AGILAB is installed, launch the app-managed Streamlit surface directly:
agilab pytorch-playground
To open the hosted backend instead of a local app virtual environment:
agilab pytorch-playground --backend hf
Use AGILAB_PYTORCH_PLAYGROUND_HF_URL or --hf-space owner/agilab for a
custom Hugging Face Space.
Run In AGILAB
Select pytorch_playground_project, then open ANALYSIS for the app-owned
PyTorch Playground surface. That surface places persisted ORCHESTRATE
arguments next to the decision boundary, training curves, neuron/loss views,
evidence download, a one-click Run instant demo path, a deterministic
Train / refresh path, and a live play/pause mode for watching bounded epoch
ticks without leaving ANALYSIS. The boundary-first panel shows the final
surface through a WebGL-first agi-web island with Canvas2D fallback, local
epoch scrubbing, play/pause replay, clickable timeline, keyboard controls,
confidence HUD, glowing uncertainty contour, and hover probability readouts,
with Plotly detail tabs kept for evidence inspection and lesson cards for
replayable circles, XOR feature engineering, spiral capacity, and gaussian
sanity-check variants.
Open ORCHESTRATE when you want the reproducible AGILAB execution path: tune
the sidebar fields, then run INSTALL and RUN. Enable loss-landscape
computation only when you want the heavier 3D projection in the evidence
bundle.
Expected Inputs
The default run generates a synthetic dataset. No external dataset, API key, notebook, cloud service, or private model is required.
Expected Outputs
The run writes the playground config, samples, training history, decision grid, network-layer summary, activation maps, optional loss landscape, a manifest, and a deterministic evidence ZIP.
Change One Thing
Switch the dataset from circles to XOR or spiral, then rerun the app. The manifest and training-history artifacts should make the changed behavior auditable.
Scope
This is an educational reproducibility app. It is not a production trainer, model registry, serving stack, or generic app-agnostic analysis page. The PyTorch-specific UI stays inside the app project; reusable apps-pages remain optional artifact readers for shared contracts.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agi_app_pytorch_playground-2026.6.24.tar.gz.
File metadata
- Download URL: agi_app_pytorch_playground-2026.6.24.tar.gz
- Upload date:
- Size: 65.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ff8742bd4f3e3d2a8ad05851bfd2aa3d54c973668c13a884019de82711390ee
|
|
| MD5 |
4977bfd58754a587537c6fc83e059e66
|
|
| BLAKE2b-256 |
57d0d23435046c64fac620d8ecd2e1e43a9acb14ad99678d798bb3c64255dff3
|
Provenance
The following attestation bundles were made for agi_app_pytorch_playground-2026.6.24.tar.gz:
Publisher:
pypi-publish.yaml on ThalesGroup/agilab
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agi_app_pytorch_playground-2026.6.24.tar.gz -
Subject digest:
6ff8742bd4f3e3d2a8ad05851bfd2aa3d54c973668c13a884019de82711390ee - Sigstore transparency entry: 1940746718
- Sigstore integration time:
-
Permalink:
ThalesGroup/agilab@e1fa2176471ff7c96ea2693837d82ca09a24d604 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ThalesGroup
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yaml@e1fa2176471ff7c96ea2693837d82ca09a24d604 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file agi_app_pytorch_playground-2026.6.24-py3-none-any.whl.
File metadata
- Download URL: agi_app_pytorch_playground-2026.6.24-py3-none-any.whl
- Upload date:
- Size: 75.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02a6cc6dbbce471d2a5d36e7cfb444e7c5c1a524f7e803633f84c829dd9daa32
|
|
| MD5 |
f31ee3b09a2e71d918fd2b0bd334c175
|
|
| BLAKE2b-256 |
53f06185aa4a60791f14ee465e78985dc4baa3ea2f14ce7ebd7c86cd512a9abe
|
Provenance
The following attestation bundles were made for agi_app_pytorch_playground-2026.6.24-py3-none-any.whl:
Publisher:
pypi-publish.yaml on ThalesGroup/agilab
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agi_app_pytorch_playground-2026.6.24-py3-none-any.whl -
Subject digest:
02a6cc6dbbce471d2a5d36e7cfb444e7c5c1a524f7e803633f84c829dd9daa32 - Sigstore transparency entry: 1940746916
- Sigstore integration time:
-
Permalink:
ThalesGroup/agilab@e1fa2176471ff7c96ea2693837d82ca09a24d604 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ThalesGroup
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yaml@e1fa2176471ff7c96ea2693837d82ca09a24d604 -
Trigger Event:
workflow_dispatch
-
Statement type: