View in English

  • Apple Developer
    • 시작하기

    시작하기 탐색

    • 개요
    • 알아보기
    • Apple Developer Program

    알림 받기

    • 최신 뉴스
    • Hello Developer
    • 플랫폼

    플랫폼 탐색

    • Apple 플랫폼
    • iOS
    • iPadOS
    • macOS
    • tvOS
    • visionOS
    • watchOS
    • App Store

    피처링

    • 디자인
    • 배포
    • 게임
    • 액세서리
    • 웹
    • 홈
    • CarPlay
    • 기술

    기술 탐색

    • 개요
    • Xcode
    • Swift
    • SwiftUI

    피처링

    • 손쉬운 사용
    • 앱 인텐트
    • Apple Intelligence
    • 게임
    • 머신 러닝 및 AI
    • 보안
    • Xcode Cloud
    • 커뮤니티

    커뮤니티 탐색

    • 개요
    • Apple과의 만남 이벤트
    • 커뮤니티 주도 이벤트
    • 개발자 포럼
    • 오픈 소스

    피처링

    • WWDC
    • Swift Student Challenge
    • 개발자 이야기
    • App Store 어워드
    • Apple 디자인 어워드
    • 문서

    문서 탐색

    • 문서 라이브러리
    • 기술 개요
    • 샘플 코드
    • 휴먼 인터페이스 가이드라인
    • 비디오

    릴리즈 노트

    • 피처링 업데이트
    • iOS
    • iPadOS
    • macOS
    • watchOS
    • visionOS
    • tvOS
    • Xcode
    • 다운로드

    다운로드 탐색

    • 모든 다운로드
    • 운영 체제
    • 애플리케이션
    • 디자인 리소스

    피처링

    • Xcode
    • TestFlight
    • 서체
    • SF Symbols
    • Icon Composer
    • 지원

    지원 탐색

    • 개요
    • 도움말
    • 개발자 포럼
    • 피드백 지원
    • 문의하기

    피처링

    • 계정 도움말
    • 앱 심사 지침
    • App Store Connect 도움말
    • 새로 추가될 요구 사항
    • 계약 및 지침
    • 시스템 상태
  • 빠른 링크

    • 이벤트
    • 뉴스
    • 포럼
    • 샘플 코드
    • 비디오
 

비디오

메뉴 열기 메뉴 닫기
  • 컬렉션
  • 전체 비디오
  • 소개

더 많은 비디오

  • 소개
  • 요약
  • 코드
  • MLX를 사용하여 Mac에서 로컬 에이전틱 AI 실행하기

    개인정보 보호, 짧은 지연 시간, 오프라인 접근으로 AI 에이전트를 로컬로 실행하세요. MLX의 혁신 기술과 Mac 하드웨어가 어떻게 강력한 에이전틱 워크플로를 완전한 온디바이스 방식으로 구현할 수 있는지 자세히 알아보세요. OpenCode와 같은 코드 에이전트와 이들이 Xcode에 통합되는 방식을 살펴보고, 여러 Mac 확장을 위한 다양한 기법을 알아보며, Mac을 벗어나지 않고 도구를 원활하게 통합하는 방법을 확인해 보세요.

    챕터

    • 0:00 - Introduction
    • 0:32 - The chat and agentic loop
    • 2:42 - Local agentic AI stack
    • 4:36 - Setting up your own agent
    • 5:39 - Making agents fast
    • 6:53 - Concurrency and distributed inference
    • 9:20 - More examples
    • 13:01 - Next steps

    리소스

    • MLX Swift LM on GitHub
    • MLX Swift Examples
    • MLX Examples
    • MLX Swift
    • MLX LM - Python API
    • MLX Explore - Python API
    • MLX Framework
    • MLX
      • HD 비디오
      • SD 비디오

    관련 비디오

    WWDC26

    • MLX로 Swift에서 수치 컴퓨팅 살펴보기
    • MLX를 사용한 분산 추론 및 학습 살펴보기

    WWDC25

    • Apple Silicon용 MLX 사용하기
    • MLX를 사용하여 Apple Silicon에서 대규모 언어 모델 탐색하기
  • 비디오 검색…
    • 4:40 - Set up MLX-LM and start the local server

      # Step 1: Install MLX-LM
      pip install mlx-lm
      
      # Step 2: Start the server
      mlx_lm.server --model mlx-community/Qwen-3.5-4B-8bit
      
      # Step 3: Point your agent to the server
      curl -X POST \
        http://127.0.0.1:8080/v1/chat/completions \
        -H "Content-Type: application/json" \
        -d '{"model":"default_model","messages":[{"role":"user","content":"Hello!"}]}'
    • 5:18 - Configure an agent to use your local MLX server

      {
        "$schema": "https://opencode.ai/config.json",
        "model": "mlx/default_model",
        "small_model": "mlx/default_model",
        "provider": {
          "mlx": {
            "npm": "@ai-sdk/openai-compatible",
            "name": "MLX (local)",
            "options": {
              "baseURL": "http://127.0.0.1:8080/v1"
            },
            "models": {
              "default_model": {
                "name": "Default MLX Model"
              }
            }
          }
        }
      }
    • 8:33 - Launch distributed inference with MLX

      mlx.launch --hostfile hosts.json \
        --backend jaccl \
        /remote/path/to/mlx_lm.server \
        --model mlx-community/Qwen-3.5-122B-A3B-8bit
    • 0:00 - Introduction
    • Overview of building and running agentic AI workflows entirely on Mac using MLX — no cloud, no API keys, just your hardware.

    • 0:32 - The chat and agentic loop
    • How traditional chat differs from the agentic loop: the model decides what to do, calls tools to run commands, read files, and hit APIs, observes the results, and iterates — all running locally for privacy and offline availability.

    • 2:42 - Local agentic AI stack
    • A walkthrough of the four-layer stack powering local agentic AI on the Mac: MLX (array framework for Apple Silicon), MLX-LM (model loading, quantization, and fine-tuning), MLX-LM Server (OpenAI-compatible HTTP server), and the agent layer — including popular tools like Ollama, LM Studio, and vLLM.

    • 4:36 - Setting up your own agent
    • Three steps to go from zero to a fully local agentic workflow: install MLX-LM with pip, start the server with a tool-calling model, and configure your agent to point at the local endpoint.

    • 5:39 - Making agents fast
    • How MLX tackles the first challenge of agentic workloads — efficiently processing large contexts with hundreds of thousands of tokens — including how M5 Neural Accelerators accelerate prompt processing speed.

    • 6:53 - Concurrency and distributed inference
    • How MLX handles continuous batching for concurrent multi-agent requests, and distributed inference to spread large models across multiple Macs over Thunderbolt.

    • 9:20 - More examples
    • Two-part live demo building SwiftUI apps entirely on-device. First, using OpenCode with MLX to generate a complete SwiftUI project from a description; then, using Xcode's agentic coding capabilities to build and fix a SwiftUI app — all running locally.

    • 13:01 - Next steps
    • Summary of the full local AI stack and practical steps to get started: install MLX-LM, launch the server, and connect your agent. All shown tools are open-source and available now.

Developer Footer

  • 비디오
  • WWDC26
  • MLX를 사용하여 Mac에서 로컬 에이전틱 AI 실행하기
  • 메뉴 열기 메뉴 닫기
    • iOS
    • iPadOS
    • macOS
    • tvOS
    • visionOS
    • watchOS
    메뉴 열기 메뉴 닫기
    • Swift
    • SwiftUI
    • Swift Playground
    • TestFlight
    • Xcode
    • Xcode Cloud
    • SF Symbols
    메뉴 열기 메뉴 닫기
    • 손쉬운 사용
    • 액세서리
    • Apple Intelligence
    • 앱 확장 프로그램
    • App Store
    • 오디오 및 비디오(영문)
    • 증강 현실
    • 디자인
    • 배포
    • 교육
    • 서체(영문)
    • 게임
    • 건강 및 피트니스
    • 앱 내 구입
    • 현지화
    • 지도 및 위치
    • 머신 러닝 및 AI
    • 오픈 소스(영문)
    • 보안
    • Safari 및 웹(영문)
    메뉴 열기 메뉴 닫기
    • 문서(영문)
    • 튜토리얼
    • 다운로드
    • 포럼(영문)
    • 비디오
    메뉴 열기 메뉴 닫기
    • 지원 문서
    • 문의하기
    • 버그 보고
    • 시스템 상태(영문)
    메뉴 열기 메뉴 닫기
    • Apple Developer
    • App Store Connect
    • 인증서, 식별자 및 프로파일(영문)
    • 피드백 지원
    메뉴 열기 메뉴 닫기
    • Apple Developer Program
    • Apple Developer Enterprise Program
    • App Store Small Business Program
    • MFi Program(영문)
    • Mini Apps Partner Program
    • News Partner Program(영문)
    • Video Partner Program(영문)
    • Security Bounty Program(영문)
    • Security Research Device Program(영문)
    메뉴 열기 메뉴 닫기
    • Apple과의 만남
    • Apple Developer Center
    • App Store 어워드(영문)
    • Apple 디자인 어워드
    • Apple Developer Academy(영문)
    • WWDC
    최신 뉴스 읽기.
    Apple Developer 앱 받기.
    Copyright © 2026 Apple Inc. 모든 권리 보유.
    약관 개인정보 처리방침 계약 및 지침