Code

cookbook/agent_concepts/tools/mlx_transcribe_tools.py
from agno.agent import Agent
from agno.tools.mlx_transcribe import MLXTranscribeTools

agent = Agent(
    tools=[MLXTranscribeTools()],
    show_tool_calls=True,
    markdown=True,
)
agent.print_response("Transcribe this audio file: path/to/audio.mp3")

Usage

1

Create a virtual environment

Open the Terminal and create a python virtual environment.

2

Install libraries

pip install -U mlx-transcribe agno
3

Run Agent