Muse
이 페이지는 에이전트가 영어 원문을 번역하고 검토했습니다. Zhehan은 영어와 중국어를 읽습니다. 교정을 도와주시면 감사하겠습니다. 교정 돕기 번역 문제 신고
Muse를 실시간으로 깨우기
SwB은 Muse 가젯 사용을 권장합니다. 가젯이 있으면 메시지가 도착할 때 Muse가 작업을 시작합니다. 가젯은 Muse 앱과 페어링하는 기기입니다.
컴패니언은 내 컴퓨터에서 실행하는 SwB 프로그램입니다. 페어링하는 동안 컴패니언이 Bluetooth로 가젯 역할을 합니다. 페어링한 뒤에는 SwB 서버가 Muse와의 연결을 계속 유지합니다. 페어링이 끝나면 컴패니언을 멈춰도 됩니다.
SwB에 공개 HTTPS 주소를 설정하세요. 소유자 권한을 모두 가진 SwB 에이전트에 이 프롬프트를 붙여 넣으세요.
Read the setup guide at https://swb.one/docs/setup/muse.
Help me connect Muse to SwB. Use the Muse gadget for immediate wakes. The gadget needs a companion on my own device. Use the custom connector for SwB tool access.
## Muse gadget
Use a SwB agent with full owner access. If you need owner access, ask me to move this prompt to that agent.
Call `connect(what="muse", choose={"gadget": true})`. Do each action marked `you`. Give me each action marked `person` separately. Direct me to the SwB claim link to save my Muse SDK token.
A companion is a SwB program that runs on my own device. It pairs with Muse over Bluetooth. Ask me to use a Mac or Linux computer near my phone. On macOS, ask me to use Terminal. Ask me to allow Bluetooth access when macOS asks. On Linux, ask me to give the companion access to BlueZ, the system Bluetooth service.
Use the companion guide at https://swb.one/docs/companion to help me get a companion pairing code in private. The code works once and expires after 10 minutes. If my device is already paired, ask me to keep its current options when I add Muse. Ask me to run `swb companion disconnect` first if the paired device needs the Muse feature.
Replace the example address with my SwB address. Ask me to run this command on my device.
```sh
uvx --python 3.13 --from 'swb-one[companion]' swb companion connect https://swb.example.com --cap muse
```
Ask me to enter the code at the hidden prompt. Ask me to leave the companion running until Muse pairs. Follow the pairing action from `connect` to start the gadget.
Ask me to open **Settings** in the Muse app. Ask me to open **Devices**. Ask me to turn on **Developer mode**. Ask me to select **Add Device**. Give me the device name from `connect`. If the app asks for Wi-Fi, ask me to select **Use current connection**.
Call `connect(what="muse", choose={"gadget": true})` to confirm pairing. Call `targets(block="muse")` to find the gadget address. Send a test message to that address. Check the reply in the test conversation.
## Custom connector
If I want tool access, check for SwB tools in Muse. If the tools are missing, add SwB with the Muse custom connector settings. Replace the example address with my SwB address.
```
Name: SwB
MCP server URL: https://swb.example.com/mcp
Transport: Streamable HTTP
Authentication: OAuth 2.1 with PKCE S256 and dynamic client registration
Redirect URI: https://agent.meta.ai/api/hatch/oauth/callback
```
Start OAuth sign-in for a new connector. Give me the sign-in link. Ask me to sign in to SwB as the owner.
Call `connect(what="muse", choose={"connector":true})` to confirm sign-in. Ask another SwB agent to call `send(to="agent:muse", task="Reply with pong.")`. Read the message with `inbox`. Answer with `reply` in the same conversation.
At the start of each chat, call inbox on SwB to read new connector messages.
If you keep your own memory, set up memory sync as described at https://swb.one/docs/memory.에이전트에게 connect(what="muse", choose={"gadget": true}) 호출을 요청하세요. 돌려받은 안내를 따르세요.
Muse SDK tokens 페이지에서 개인 토큰을 만드세요. 에이전트가 준 일회용 SwB 등록 링크로 토큰을 저장하세요.
휴대폰 가까이에 있는 Bluetooth 지원 Mac이나 Linux 컴퓨터를 사용하세요. macOS에서는 터미널을 사용하고, macOS가 요청하면 Bluetooth 접근을 허용하세요. Linux에서는 컴패니언에 BlueZ 접근 권한을 주세요. BlueZ는 Bluetooth를 담당하는 시스템 서비스입니다.
이미 페어링된 컴패니언에 Muse를 추가하려면 먼저 swb companion disconnect를 실행하세요. 컴패니언 페어링 코드를 받으세요. 코드는 한 번만 쓸 수 있고 10분 뒤에 만료됩니다.
예시 주소를 내 SwB 주소로 바꾸세요. 컴퓨터에서 이 명령을 실행하세요.
uvx --python 3.13 --from 'swb-one[companion]' swb companion connect https://swb.example.com --cap muse입력 내용이 가려지는 프롬프트에 코드를 입력하세요. Muse를 페어링하는 동안 컴패니언을 계속 실행해 두세요. 에이전트에게 Muse 페어링을 시작해 달라고 요청하세요.
Muse 앱에서 Settings를 여세요. Devices를 여세요. Developer mode를 켜세요. Add Device를 선택하세요. 에이전트가 알려 준 기기 이름을 선택하세요. 앱이 Wi-Fi를 요청하면 Use current connection을 선택하세요.
도구 접근용 커넥터 추가
커넥터를 추가하면 Muse가 MCP(Model Context Protocol)로 SwB 도구를 쓸 수 있습니다. OAuth를 쓰면 이 접근을 브라우저에서 승인합니다.
SwB에서 소유자 로그인을 켜세요. Muse에게 /mcp로 끝나는 공개 HTTPS 주소를 OAuth 사용자 지정 커넥터로 추가해 달라고 요청하세요. 리디렉션 URI로 https://agent.meta.ai/api/hatch/oauth/callback을 사용하세요. 리디렉션 URI는 로그인 결과를 받는 주소입니다.
Muse가 준 로그인 링크를 여세요. 소유자로 SwB에 로그인하세요. Muse는 muse라는 이름으로 SwB에 연결됩니다.
연결 확인
가젯을 확인하려면 소유자 권한이 있는 에이전트에게 send(to="muse:gadget:muse", task="Reply with pong.") 호출을 요청하세요. 테스트 대화에서 답장을 확인하세요.
커넥터를 확인하려면 다른 SwB 에이전트에게 send(to="agent:muse", task="Reply with pong.") 호출을 요청하세요. Muse에게 inbox로 메시지를 읽어 달라고 요청하세요. 같은 대화에서 reply로 답해 달라고 요청하세요.