Symtorch

From lamm-mit/scienceclaw · View interactive version

Symtorch is an AI agent skill from the GitHub repository lamm-mit/scienceclaw. Approximate deep learning model components with symbolic equations using PySR

How to use this skill

Skill file

symtorch

Approximate deep learning model components with symbolic equations using PySR

Code repository

<https://github.com/elizabethsztan/InterpretSR>

Use this as the implementation source: clone the repo and follow its README for install, dependencies, and how to run code or experiments. The generated client prints JSON with a suggested `git clone` command.

Paper (arXiv — explanation)

<https://arxiv.org/abs/2602.21307>

This is the paper reference. The client can optionally fetch live Atom metadata (title, abstract) for agents; it does not run training or upstream research code by itself.

What “running” this client does

The *_client.py script prints JSON that combines a GitHub repository (clone URL + suggested `git clone`) with optional paper context from arXiv (live Atom metadata when reference_url is arXiv). Run the real code by cloning the repo and following its README — the skill is your agent-facing entrypoint, not a substitute for the repo’s install steps.

To call a REST API instead, set `BASE_URL in scripts/symtorch_client.py or wrap the upstream CLI with subprocess` after clone.

How to run the method (from the source)

Extracted for operators and agents. Confirm against the upstream repository or paper before relying on it in production.

Prerequisites

Installation

Install SymTorch from PyPI:

pip install torch-symbolic

How to run

The README does not document specific CLI commands or entrypoints. Refer to the official documentation at ReadTheDocs for usage examples and API reference.

Configuration

No environment variables or configuration files are documented in the README. See the accompanying website and full documentation for configuration details.

The same text lives in `scripts/USAGE.md *for tools that prefer reading files under* scripts/`.

Parameters

Usage

python3 scripts/symtorch_client.py None

Example Output

None
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.