Skip to main content

mlx-agent

PyPI version PyPI downloads Tests

Your coding agent can make the props too. Local 3D generation on Apple Silicon. A duck knight holding a croissant lance.

Discover, run and manage local AI models on Apple Silicon.

Generate images, video, music, speech and 3D assets with local models. Manage model discovery, conversion and serving, then keep task inputs and results together through the CLI or MCP.

Get started

The core requires Python 3.11 or later and uses the standard library. Model execution needs a separately installed runtime; optional backends have their own dependencies.

git clone --depth 1 --branch main https://github.com/cavi-ai/mlx-agent.git
cd mlx-agent
python3 scripts/mlx-agent inspect-host --json
python3 scripts/mlx-agent discover --limit 3 --json

Review the candidates and follow Your first local model. To prepare compatible local weights and a runtime, see Intake and optional backends. Discovery does not download weights.

Generate a 3D mesh

Turn a PNG, JPEG or WebP image into a GLB with native MLX TripoSG, TRELLIS.2 or Pixal3D. Use compatible converted local weights and the installed mlx-3d backend. Optional backend installation uses Python 3.12. Choose a new .glb path in an existing output directory:

python3 scripts/mlx-agent convert mesh --path /absolute/local/mesh-model --image /absolute/input/object.png --out /absolute/output/object.glb --json

For example, ask a connected agent:

Turn this image into a GLB using my chosen local model. Show me the settings before starting, then show me the result.

For jobs that outlive the client, use durable tasks. They retain task inputs, status and output. See local inference for model-specific operations.

Connect your tools

Use the CLI directly, or register the current checkout's stdio server with an MCP client:

{
  "mcpServers": {
    "mlx-agent": {"command": "python3", "args": ["/absolute/path/to/mlx-agent/scripts/mlx-agent-mcp"]}
  }
}

See Installation and provider lifecycle for host-specific setup, updates and removal.

More with local models

See Evidence and sizing for model checks and the security model for confirmation, network and recovery boundaries.

Full host and skill reference

Provider support

First-class adapters are included for each provider below. The universal installer supports both user and project scopes.

Provider Package Invoke
Claude Code Native plugin /mlx-scout
/mlx-adopt
/mlx-wire
/mlx-bench
/mlx-doctor
/mlx-watch
/mlx-fleet
/mlx-task
Codex CLI Native plugin $mlx-agent:mlx-scout
$mlx-agent:mlx-adopt
$mlx-agent:mlx-wire
$mlx-agent:mlx-bench
$mlx-agent:mlx-doctor
$mlx-agent:mlx-watch
$mlx-agent:mlx-fleet
$mlx-agent:mlx-task
Agy Native plugin mlx-scout skill
mlx-adopt skill
mlx-wire skill
mlx-bench skill
mlx-doctor skill
mlx-watch skill
mlx-fleet skill
mlx-task skill
OpenCode Native plugin /mlx-scout
/mlx-adopt
/mlx-wire
/mlx-bench
/mlx-doctor
/mlx-watch
/mlx-fleet
/mlx-task
OpenClaw Native skills /mlx-scout
/mlx-adopt
/mlx-wire
/mlx-bench
/mlx-doctor
/mlx-watch
/mlx-fleet
/mlx-task
Hermes Agent Native skills /mlx-scout
/mlx-adopt
/mlx-wire
/mlx-bench
/mlx-doctor
/mlx-watch
/mlx-fleet
/mlx-task
AgentSkills-compatible hosts Portable skills mlx-scout skill
mlx-adopt skill
mlx-wire skill
mlx-bench skill
mlx-doctor skill
mlx-watch skill
mlx-fleet skill
mlx-task skill

Documentation and contributing

Start with the documentation index, CLI reference, runtimes, or troubleshooting. See Contributing for local checks and Development for adapters and documentation builds.

Versioned documentation comes from docs/mlx-agent/source; the consumer contract describes release artifacts. Distributed under the MIT License.

Metadata

Release files for mlx-agent 0.13.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mlx-agent 0.13.0
File Size Uploaded Provenance Actions
mlx_agent-0.13.0.tar.gz 1.4 MB With provenance Details for mlx_agent-0.13.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mlx-agent 0.13.0
File Interpreter ABI Platform Actions
mlx_agent-0.13.0-py3-none-any.whl Python 3 none any Details for mlx_agent-0.13.0-py3-none-any.whl

Total release size: 3.0 MB

Release files / mlx_agent-0.13.0.tar.gz

Download URL mlx_agent-0.13.0.tar.gz
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
375b11f018411cb0e794a0df0b9a7659823eb8fc1bb28cf97582727ac0daf856
BLAKE2b-256 checksum
How to use checksums
111abb96cae726a9e272a5d2435ed113f83df70b4f8ce148d432255cc3b9d47c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Release files / mlx_agent-0.13.0-py3-none-any.whl

Download URL mlx_agent-0.13.0-py3-none-any.whl
Size 1.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
55ed9d09c032a9d63972a39bfa279def4494a789584efebd28489b88dcd227f1
BLAKE2b-256 checksum
How to use checksums
1c8684b55b3e1bf735843895169b87d6ff15dae1ff33c28aedcf239baf6eafdc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Security for mlx-agent 0.13.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mlx_agent-0.13.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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