{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/pt/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Integração com Agente Hermes"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"integração-com-agente-hermes","__idx":0},"children":["Integração com Agente Hermes"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Hermes Agent"]}," é outra estrutura de agente flexível. A integração da habilidade MoreLogin ao Hermes permite gerenciar perfeitamente perfis de navegador e interagir com telefones em nuvem."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"instalação-e-configuração","__idx":1},"children":["Instalação e configuração"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"1-baixe-a-habilidade","__idx":2},"children":["1. Baixe a habilidade"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Como o Hermes pode não usar a mesma estrutura de espaço de trabalho do OpenClaw, você pode extrair o repositório oficial de habilidades MoreLogin diretamente para o diretório de ferramentas/plugins do Hermes:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"git clone https://github.com/MoreLoginBrowser/morelogin-local-api-skill.git\ncd morelogin-local-api-skill\nnpm install\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"2-configure-o-registro-do-hermes-tools","__idx":3},"children":["2. Configure o registro do Hermes Tools"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Para registrar o MoreLogin CLI como uma ferramenta para Hermes, defina-o na configuração do seu agente ou no registro da ferramenta. Por exemplo, você pode expor o comando ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["node bin/morelogin.js"]}," subjacente."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"# Example Hermes Tool Definition\ntools:\n  - name: morelogin_manager\n    description: \"Manage MoreLogin browser profiles and cloud phones.\"\n    command: \"node /path/to/morelogin-local-api-skill/bin/morelogin.js\"\n    env:\n      LOCAL_API_URL: \"http://localhost:40000\"\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"uso-e-comandos-da-cli","__idx":4},"children":["Uso e comandos da CLI"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Hermes invocará a habilidade usando Node.js diretamente. Você também pode testar esses comandos em seu terminal para garantir que a habilidade esteja instalada corretamente."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"perfis-de-navegador","__idx":5},"children":["Perfis de navegador"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"# List profiles\nnode bin/morelogin.js browser list --page 1 --page-size 20\n\n# Start a profile (Returns debugPort for CDP connection)\nnode bin/morelogin.js browser start --env-id abc123def\n\n# View running status\nnode bin/morelogin.js browser status --env-id abc123def\n\n# Close profile\nnode bin/morelogin.js browser close --env-id abc123def\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"telefones-na-nuvem","__idx":6},"children":["Telefones na nuvem"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"# List cloud phones\nnode bin/morelogin.js cloudphone list --page 1 --page-size 20\n\n# Start/Stop\nnode bin/morelogin.js cloudphone start --id <cloudPhoneId>\nnode bin/morelogin.js cloudphone stop --id <cloudPhoneId>\n\n# Get details (Includes ADB connection info)\nnode bin/morelogin.js cloudphone info --id <cloudPhoneId>\n\n# Execute cloud phone command via ADB\nnode bin/morelogin.js cloudphone exec --id <cloudPhoneId> --command \"ls /sdcard\"\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"gerenciamento-de-proxy","__idx":7},"children":["Gerenciamento de proxy"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"# Query proxy list\nnode bin/morelogin.js proxy list --page 1 --page-size 20\n\n# Add proxy\nnode bin/morelogin.js proxy add --payload '{\"proxyIp\":\"1.2.3.4\",\"proxyPort\":8000,\"proxyType\":0}'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"como-hermes-raciocina","__idx":8},"children":["Como Hermes raciocina"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Ao instruir seu Agente Hermes, você pode usar linguagem natural:"]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["\"Inicie meu perfil MoreLogin 'abc123def', aguarde a porta de depuração e conecte-se via CDP para fazer uma captura de tela.\""]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Hermes irá:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Execute ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["node bin/morelogin.js browser start --env-id abc123def"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Analise a resposta JSON para extrair o ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["debugPort"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Use uma biblioteca de automação headless (se configurada no Hermes) para conectar-se ao ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["http://127.0.0.1:<debugPort>"]},"."]}]}]},"headings":[{"value":"Integração com Agente Hermes","id":"integração-com-agente-hermes","depth":1},{"value":"Instalação e configuração","id":"instalação-e-configuração","depth":2},{"value":"1. Baixe a habilidade","id":"1-baixe-a-habilidade","depth":3},{"value":"2. Configure o registro do Hermes Tools","id":"2-configure-o-registro-do-hermes-tools","depth":3},{"value":"Uso e comandos da CLI","id":"uso-e-comandos-da-cli","depth":2},{"value":"Perfis de navegador","id":"perfis-de-navegador","depth":3},{"value":"Telefones na nuvem","id":"telefones-na-nuvem","depth":3},{"value":"Gerenciamento de proxy","id":"gerenciamento-de-proxy","depth":3},{"value":"Como Hermes raciocina","id":"como-hermes-raciocina","depth":2}],"frontmatter":{"seo":{"title":"Integração com Agente Hermes"}},"lastModified":"2026-06-10T11:47:34.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/pt/skills/hermes","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}