Skip to main content

agi-app-pytorch-playground

PyPI version Python versions License: BSD 3-Clause

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 Deploy scheduler & workers 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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agi_app_pytorch_playground-2026.7.31.tar.gz (66.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agi_app_pytorch_playground-2026.7.31-py3-none-any.whl (76.0 kB view details)

Uploaded Python 3

File details

Details for the file agi_app_pytorch_playground-2026.7.31.tar.gz.

File metadata

File hashes

Hashes for agi_app_pytorch_playground-2026.7.31.tar.gz
Algorithm Hash digest
SHA256 7f291b12a04fe8f3c912018af8ad17f33d4ffb20459c1a26e704e1f31200dfb0
MD5 95ad625bf2cfe52573465ccb0db30844
BLAKE2b-256 3094ca5447ec32ef4ec7891d61338752845dce15e0a73db178cc34546cc6a1b7

See more details on using hashes here.

Provenance

The following attestation bundles were made for agi_app_pytorch_playground-2026.7.31.tar.gz:

Publisher: pypi-publish.yaml on ThalesGroup/agilab

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agi_app_pytorch_playground-2026.7.31-py3-none-any.whl.

File metadata

File hashes

Hashes for agi_app_pytorch_playground-2026.7.31-py3-none-any.whl
Algorithm Hash digest
SHA256 04826ee97e9677685521d608cc4f87c3f967dae3e6cdc8be3af5122996d95896
MD5 931b74cf2d04010fcc86b596b54aff37
BLAKE2b-256 0fffaa3216ebc765d7173c2e9e50c42d6e226552be6188347618461430f4b7ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for agi_app_pytorch_playground-2026.7.31-py3-none-any.whl:

Publisher: pypi-publish.yaml on ThalesGroup/agilab

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

2026.7.31 This release

2 files

2026.7.17

2 files

2026.7.4

2 files

2026.6.24

2 files

2026.6.23

2 files

2026.6.20

2 files

2026.6.14.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page