# Download Scoring Code
URL: https://docs.datarobot.com/en/docs/classic-ui/mlops/deployment/mlops-agent/monitoring-agent/agent-sc.html

> How to download a deployment’s monitoring agent with Scoring Code.

# Download Scoring Code

You can download the monitoring agent packaged with [Scoring Code](https://docs.datarobot.com/en/docs/classic-ui/predictions/port-pred/scoring-code/index.html) directly from a deployment.

> [!NOTE] Scoring Code availability
> The deployed model must be trained with Scoring Code enabled in order to access the package. Additionally, this package is only compatible with models running at the command line. The package does not support models running on [the Portable Prediction Server](https://docs.datarobot.com/en/docs/classic-ui/predictions/port-pred/pps/portable-pps.html).

After deploying your Scoring Code model, Select Get Scoring Code from the [Actions](https://docs.datarobot.com/en/docs/classic-ui/mlops/manage-mlops/actions-menu.html) menu to download the Scoring Code JAR file.

In addition to Scoring Code, you can now download a monitoring agent package preconfigured for the deployment. This allows you to quickly integrate the monitoring agent and report model monitoring statistics back to DataRobot. Reference the quickstart guide in the agent tarball for instruction on the initial setup after downloading the package.

> [!NOTE] Java requirement
> The MLOps monitoring library requires Java 11 or higher. Without monitoring, a model's Scoring Code JAR file requires Java 8 or higher; however, when using the MLOps library to instrument monitoring, a model's Scoring Code JAR file requires Java 11 or higher.For Self-managed AI platform installations, the Java 11 requirement applies to DataRobot v11.0 and higher.

If you do not wish to integrate the monitoring agent, instead download just the Scoring Code, available in Source and Binary formats.

---
