# Magenta RealTime — card for AI agents

Live music generator that streams audio in 2-second chunks and can be steered by text or audio prompts.

Category: AI music and sound generators · maker Google DeepMind · checked 2026-10-25

## Price
- Price: Free
- Free tier: Open weights, free to download; self-hosted (also runs in a free Colab).

## License
Weights CC-BY-4.0; code Apache-2.0 — https://huggingface.co/google/magenta-realtime

- commercial: **yes** (Commercial use OK)
  > the model weights under Creative Commons Attribution 4.0 International
  (https://huggingface.co/google/magenta-realtime)
- attribution: **required** (Credit required)
  > the model weights under Creative Commons Attribution 4.0 International
  (https://huggingface.co/google/magenta-realtime)
- in app: **yes** (Can ship inside your app)
  > the model weights under Creative Commons Attribution 4.0 International
  (https://huggingface.co/google/magenta-realtime)
- youtube: **yes** (OK in monetized YouTube videos)
  > Google claims no rights in outputs you generate using Magenta RealTime.
  (https://huggingface.co/google/magenta-realtime)

## Rules to follow
- Credit Google and link CC-BY 4.0 when you share the weights.
- Do not generate outputs that infringe others' rights, including copyrighted content; you are responsible for outputs.

## Can an AI agent use it by itself?
**Yes** · package: Agent installs a package or loads it from a CDN

## How to connect
- Package (npm/PyPI)
- PyPI: `pip install magenta-rt`
- Repository: https://github.com/magenta/magenta-realtime
- Website: https://huggingface.co/google/magenta-realtime

## Notes
Built from the research behind Lyria RealTime; JAX and MLX backends. Hugging Face API, Oct 25, 2026: 223 downloads, 558 likes; GitHub magenta/magenta-realtime: 1842 stars.

## Numbers (AgentGid data)
- Gid Score: 8
- GitHub stars: 1,883
- Downloads last week: 304

## Lines to paste into your prompt or AGENTS.md

```
- Magenta RealTime (AI music and sound generators). Live music generator that streams audio in 2-second chunks and can be steered by text or audio prompts. Price: free; commercial use OK; credit required.
  Connect: PyPI magenta-rt.
  Rule: Credit Google and link CC-BY 4.0 when you share the weights.
  Rule: Do not generate outputs that infringe others' rights, including copyrighted content; you are responsible for outputs.
  License: https://huggingface.co/google/magenta-realtime (checked 2026-10-25; details: https://agentgid.com/assets/magenta-realtime/)
```

## Links
- AgentGid page: https://agentgid.com/assets/magenta-realtime/
- Is it free for commercial use? https://agentgid.com/assets/magenta-realtime/commercial-use/
- Source: https://huggingface.co/google/magenta-realtime
- Source: https://github.com/magenta/magenta-realtime
- Source: https://huggingface.co/api/models/google/magenta-realtime


## Magenta RealTime: live AI music you steer as it plays

Magenta RealTime is a free music model from Google that keeps making instrumental music without stopping. You steer it while it plays with words like "disco funk", with an example recording, or in version 2 with notes from a keyboard. Version 2 runs live on Apple Silicon Macs, and Google claims no rights in the music you make.

### Where to use it
- Jamming live on stage: Play music with the model during a show and change its style on the fly, the way a performer turns knobs.
- A game soundtrack that follows the player: Let the music change with what happens in a game, for example calmer while exploring and harder in a fight.
- Music making without an instrument: People who cannot play a regular instrument, because of skill or a disability, can join a jam or make music alone.
- A plugin in your music software: Use the model inside a music editing program on a Mac, or build it into your own app with the included engine and examples.
- Mixing styles from words and recordings: Blend a style described in words with the feel of your own recording, and choose how much of each to use.
- Background music that the audience steers: During a stream or at an art show, let people vote on a mood and feed the winning word to the model as the new style. (idea, not from the official pages)

### How to start
- On an Apple Silicon Mac, make a Python 3.12 environment with uv and install the package with the Mac backend.

```
uv pip install "magenta-rt[mlx]"
```

- Download the shared parts and a music model; they are saved in your Documents folder.

```
mrt models init
mrt models download
```

- Make a short test clip; use the small model on Air and base Macs.

```
mrt mlx generate --prompt "disco funk" --duration 4.0 --model=mrt2_small
```


### License
The code is Apache 2.0 and the model files are CC BY 4.0: free for any use, also commercial, with credit to Google when you share the model. Google claims no rights in the music you make, but you are responsible for it.

### Good to know
- There are two versions. The current code and package are for version 2 (2026); the original model and its code now live on a separate legacy branch.
- Live playback of version 2 needs an Apple Silicon Mac; the larger model needs a Pro or Max chip. Other computers with an NVIDIA card can make clips, but not live.
- It makes instrumental music. It does not sing lyrics, and it knows Western instrumental styles best.
- In version 1 a style change takes two seconds or more to be heard. The model only remembers the last ten seconds, so it does not build a whole song structure.
- You must not make music that copies or breaks the rights of others.

Checked 2026-11-19 against: https://huggingface.co/google/magenta-realtime, https://huggingface.co/google/magenta-realtime/raw/main/README.md, https://huggingface.co/google/magenta-realtime-2, https://huggingface.co/google/magenta-realtime-2/raw/main/README.md, https://huggingface.co/api/models/google/magenta-realtime-2, https://github.com/magenta/magenta-realtime, https://github.com/magenta/magenta-realtime/blob/main/README.md, https://github.com/magenta/magenta-realtime/blob/main/LICENSE, https://github.com/magenta/magenta-realtime/blob/main/pyproject.toml, https://github.com/magenta/magenta-realtime/blob/main/docs/installation.md, https://github.com/magenta/magenta-realtime/blob/main/docs/models.md, https://github.com/magenta/magenta-realtime/blob/main/docs/inference.md, https://github.com/magenta/magenta-realtime/blob/v1_legacy/README.md, https://pypi.org/pypi/magenta-rt/json, https://magenta.withgoogle.com/mrt2, https://magenta.withgoogle.com/magenta-realtime-2

### Mistakes to avoid
- Don't: pip install magenta-rt and then calling system.MagentaRT() from the version 1 examples → Do: Use the mrt command and version 2 docs, or check out the v1_legacy branch for the original model (The package on PyPI is now version 2 with a new command-line tool; the version 1 code moved to a legacy branch.)
- Don't: Choosing mrt2_base for live use on a MacBook Air or an M1/M2 Pro → Do: Use mrt2_small there; mrt2_base streams live only on newer Pro and Max chips (The base model is too slow for real time on those Macs.)
- Don't: Expecting live streaming on a Linux server with an NVIDIA card → Do: Use mrt jax generate there for offline clips; live streaming runs on Apple Silicon via MLX (Real-time streaming is built on the Apple Silicon backend.)
- Don't: Prompting for a song with sung lyrics → Do: Prompt for instrumental styles and add vocals with another tool (The model is not conditioned on lyrics.)

### Questions
- Can I use the music in a video or a paid game? Google claims no rights in the music you generate; you are responsible for it and must not infringe others' rights.
- Does it run on Windows or Linux? Live streaming of version 2 needs an Apple Silicon Mac. On Linux with an NVIDIA card or a TPU you can generate clips offline with the JAX backend.
- Can it sing my lyrics? No. It makes instrumental music and may hum, but it does not take lyrics.
- Is there a ready app? Yes. Version 2 comes with a plugin for music software and a standalone Mac app among its examples.
- Where are the model files stored? In your Documents folder under Magenta/magenta-rt-v2.

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
