惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Security Affairs
S
Schneier on Security
T
Tenable Blog
G
GRAHAM CLULEY
Latest news
Latest news
D
Darknet – Hacking Tools, Hacker News & Cyber Security
A
Arctic Wolf
I
Intezer
Cyberwarzone
Cyberwarzone
T
The Exploit Database - CXSecurity.com
T
Tailwind CSS Blog
K
Kaspersky official blog
Blog — PlanetScale
Blog — PlanetScale
C
Cyber Attacks, Cyber Crime and Cyber Security
T
Threat Research - Cisco Blogs
爱范儿
爱范儿
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
博客园 - 叶小钗
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Recent Commits to openclaw:main
Recent Commits to openclaw:main
P
Palo Alto Networks Blog
WordPress大学
WordPress大学
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - 司徒正美
The Cloudflare Blog
Help Net Security
Help Net Security
罗磊的独立博客
博客园 - 聂微东
Jina AI
Jina AI
Project Zero
Project Zero
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
L
LINUX DO - 最新话题
V
V2EX
人人都是产品经理
人人都是产品经理
美团技术团队
博客园 - 【当耐特】
Spread Privacy
Spread Privacy
J
Java Code Geeks
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Security Latest
Security Latest
The Last Watchdog
The Last Watchdog
Stack Overflow Blog
Stack Overflow Blog
雷峰网
雷峰网
S
Securelist
Forbes - Security
Forbes - Security
博客园 - 三生石上(FineUI控件)
Microsoft Azure Blog
Microsoft Azure Blog
P
Privacy International News Feed
宝玉的分享
宝玉的分享
C
CERT Recently Published Vulnerability Notes

Hacker News - Newest: "AI"

AI can't read an investor deck AI as an attorney? Student uses ChatGPT, Gemini to sue UW over alleged racial discrimination Hacking MCP Servers in AI Systems – The Rug Pull: Tool Changes After Approval GitHub - MeepCastana/KubeezCut: Free Web based video editor GitHub - GenAI-Gurus/awesome-eu-ai-act: Curated tools, official sources, OSS, templates, and guides for EU AI Act compliance. Can AI judge journalism? A Thiel-backed startup says yes, even if it risks chilling whistleblowers Coming soon: 10 Things That Matter in AI Right Now DARPA built an AI to fact-check enemy weapons claims What explains heterogeneity in AI adoption? When AI Meets Muscle: Context-Aware Electrical Stimulation Promises a New Way to Guide Human Movements - Department of Computer Science AI Changed How We Build. It Did Not Change What Matters. Linux rules on using AI-generated code - Copilot is OK, but humans must take 'full responsibility for the… Meta spins up AI version of Mark Zuckerberg to engage with employees Code Mode: Let Your AI Write Programs, Not Just Call Tools | TanStack Blog GitHub - Delavalom/graft: Go framework for building AI agents. Type-safe tools, multi-provider (OpenAI, Anthropic, Gemini, Bedrock), zero vendor SDKs. India's TCS tops estimates, says new AI models did not dent services demand Gen Z's fading AI hype Strong feeling: we are in a folded AI reality GitHub - machinarii/total-recall-catalog: A reference catalog of latest knowledge retrieval, memory & RAG systems GitHub - mensfeld/code-on-incus: Give each AI agent its own isolated machine with root, Docker, and systemd. Active defense detects and stops threats automatically.. Quantization, LoRA, and the 8% Problem: Benchmarking Local LLMs for Production AI Iran war: We spoke to the man making Lego-style AI videos that experts say are powerful propaganda Powell, Bessent discussed Anthropic's Mythos AI cyber threat with major U.S. banks GitHub - immartian/bellamem: Persistent belief-graph memory for AI agents. Retrieves decisive context by importance — not recency, not RAG, not /compact. recursive-mode: The Repo-Native Operating System for AI Engineering After the attack on Sam Altman's home, will AI CEO's go on the offensive? The biggest advance in AI since the LLM Opus 4.6 vs GPT 5.4 One Prompt Unity World Generation Test “AI polls” are fake polls Client Challenge Can AI be a 'child of God'? Inside Anthropic's meeting with Christian leaders How to Switch AI Chatbots and Why You Might Want To GitHub - MattMessinger1/agentic_refund_guardrail: Safe refund policy layer for AI agents — Python + TypeScript. Same behavior, shared tests. Adam/papers/emergent_values_whitepaper.md at master · strangeadvancedmarketing/Adam Ask HN: How do you stop playing 20 questions with your AI coding tools How far can automation and AI support psychotherapy? - @theU GitHub - stagas/rtdiff: realtime git diff gui and AI-assisted commits A Mac Studio for Local AI — 6 Months Later A History of the Early Years of AI at the University of Edinburgh Why AI Coding Tools Still Feel Stuck on Localhost MSN AI Datacenters Are Becoming Strategic Targets twitter.com Penn Researchers Use AI to Surface Unreported GLP-1 Side Effects in Reddit Posts Show HN: MoodSense AI (ML and FastAPI and Gradio, Deployed on Hugging Face) Moodsense Ai - a Hugging Face Space by aman179102 AI models are terrible at betting on soccer—especially xAI Grok GitHub - xialeistudio/echoic GitHub - HimashaHerath/github-dev-wrapped: AI-powered weekly GitHub activity reports deployed to GitHub Pages GitHub - alejandrobalderas/claude-code-from-source: Architecture, patterns & internals of Anthropic's AI coding agent — reverse-engineered from source maps AI and Tech brief: Ireland ascendant GitHub - Titovilal/context0: Context0 - Never Surrender Training for a Marathon with an AI Coach: What Worked and What Didn't Cyber Pulse: Agentic Intel - Apps on Google Play I Built an AI PR Reviewer That Catches Bugs by Not Looking for Bugs Gen Z workers are so fearful AI will take their job they’re intentionally sabotaging their company’s AI rollout | Fortune How AI Is Reimagining the Game of Golf–For Both Players and Courses GitHub - nattergabriel/reseed: A CLI tool for managing and distributing agent skills across projects Is SVG the final frontier? My AI workflow evolved from prompts to a near-autonomous workflow MLSharp Help - 3DGS Viewer & Generator I put my cognitive field based AI's runtime on GitHub Is Numble the first AI-proof game? A3: Kubernetes for autonomous AI agent fleets | Emergent Principles Deepali Vyas ("The Elite Recruiter") GitHub - msmarkgu/RelayFreeLLM: A restful API designed to route user prompts to various AI model providers. Unionized ProPublica staff are on strike over AI, layoffs, and wages Unleashing the Advantage of Quantum AI We're heading for an AI-fueled 'dementia crisis,' brain scientist warns The AI-Assisted Breach of Mexico's Government Infrastructure [pdf] GitHub - stef41/lmscan: 🔍 Detect AI-generated text and fingerprint which LLM wrote it. Open-source GPTZero alternative. Zero dependencies, works offline. MSN GitHub - visionscaper/collabmem: Enabling long-term collaboration with Agentic AI - building up episodic and world model memory over time with in-context awareness We gave an AI a 3 year retail lease in SF and asked it to make a profit | Andon Labs AI Code is Hollowing Out Open Source, and Maintainers are Looking the Other Way What leaked "SteamGPT" files could mean for the PC gaming platform's use of AI AI is the boss at this retail store. What could go wrong? GitHub - Wuzu11517/agentic-proxy: Local proxy meant to help reduce With Drones, Geophysics and ArtificiaI Intelligence, Researchers Prepare to Do Battle Against Land Mines A Single Operator, Two AI Platforms, Nine Government Agencies: The Full Technical Report 在 Steam 上购买 FriedrichAI: Offline AI 立省 10% GitHub - inevolin/resume-cli: Hit Claude usage limits? Resume any AI coding session elsewhere. Switch tools at zero friction. GitHub - atripati/ark: AI Runtime Kernel — a context operating system for AI agents. Eliminates tool bloat, loads only what’s needed, and gives LLMs their reasoning space back. How to Build a Secure AI PR Reviewer with Claude, GitHub Actions, and JavaScript This Startup Wants You to Pay Up to Talk With AI Versions of Human Experts Intel Arc Pro B70 Brings 32GB VRAM to Local AI for $949 WordPress 7.0: The Good, the AI, and the Still Missing AI on the couch: Anthropic gives Claude 20 hours of psychiatry IatroBench: Pre-Registered Evidence of Iatrogenic Harm from AI Safety Measures AI Agents Know About Supabase. They Don't Always Use It Right. The history and future of AI at Google, with Sundar Pichai Inside an AI‑enabled device code phishing campaign How Meta Used AI to Map Tribal Knowledge in Large-Scale Data Pipelines AI for Systems: Using LLMs to Optimize Database Query Execution Forecasting the Economic Effects of AI Introducing Tinker: Play with AI, bring your ideas to life AI sheds light on an ancient gaming mystery People really hate AI but not as much as Iran—or Democrats | Fortune What is an AI Product Engineer? Phoebe Gates wants her $185 million AI startup to succeed with 'no ties to my privilege or my last name': 'I have a chip on my shoulder' | Fortune
How to Deploy Hermes AI Agent with Docker and HTTPS
Devopness Team · 2026-06-17 · via Hacker News - Newest: "AI"

Deploy Hermes AI Agent with Docker, automatic HTTPS, and authentication. This guide works for both AI assistants (e.g., via Devopness MCP Server, Devopness API) and manual setup through the web interface.

What is Hermes?

Hermes is an autonomous AI agent that can write code, deploy applications, browse the web, integrate with Slack and GitHub, and automate repetitive tasks. It works like having a developer on your team.

Deploying AI agents typically requires complex server configuration, Docker expertise, and manual SSL certificate management. This guide shows you how to deploy Hermes using Devopness, which handles all the infrastructure automatically.

What You'll Build

By the end of this guide, you'll have Hermes AI Agent deployed and running:

  • Running 24/7 on your cloud infrastructure
  • Accessible via secure HTTPS dashboard (https://hermes.example.com)
  • Protected by username/password authentication for trusted/private access, with OAuth/OIDC recommended for public internet deployments
  • With persistent storage that survives deployments
  • Auto-renewing SSL certificates (every 90 days)
  • Ready to integrate with Slack, GitHub, and other services

This guide is for: Anyone who wants to deploy Hermes to a cloud server, without manual configuration. Works with any AI assistant or via Devopness web UI.


Don't have a Devopness account yet? Create your free account to get started.


Pro Tip: Let AI Do the Work

You can have an AI assistant (e.g., Claude Code, Cursor, Cline, Windsurf) execute this entire deployment for you using the Devopness MCP Server.

Copy this prompt to your AI assistant:

Read the Hermes deployment guide at https://www.devopness.com/blog/deploy-hermes-ai-agent-devopness and execute it step by step using Devopness MCP tools.

Your AI assistant will handle the deployment while keeping you informed at key decision points.


Prerequisites

An Environment with Credentials Ready

In Devopness, you work inside "Environments" (Development, Staging, or Production). You'll need an environment with:

  1. A Cloud Provider Credential - So Devopness can create servers for you (AWS, Azure, Google Cloud, DigitalOcean, Hetzner, or any cloud provider)

  2. A GitHub Credential - So Devopness can download Hermes' code (GitHub Personal Access Token)

  3. An LLM Provider Account - So Hermes can use AI (OpenRouter, OpenAI, Anthropic, Groq, or Ollama Cloud)

Need help setting up? Follow this guide first: How to Create an Environment


Step 1: Create the Server

Create a server with these specifications:

  • Name: hermes-server
  • Cloud Provider: AWS, Azure, GCP, DigitalOcean, Hetzner, or others
  • Region: Choose the closest to your users
  • Instance Size: 4GB RAM minimum, 20GB disk
  • Operating System: Latest Ubuntu LTS

Why these specs: Hermes requires 4GB RAM for browser automation and AI tasks. Ubuntu LTS provides long-term security updates.


Step 2: Create the Application

Create an application with these settings:

  • Name: hermes-agent (lowercase, no spaces)
  • Source Provider: GitHub
  • Repository: NousResearch/hermes-agent
  • Branch: main
  • Programming Language: Docker
  • Root Directory: /
  • Build Command:
docker compose -p ${APPLICATION_NAME} pull && docker compose -p ${APPLICATION_NAME} up -d && docker compose -p ${APPLICATION_NAME} logs || { docker compose -p ${APPLICATION_NAME} logs; exit 1; }

Step 3: Add the Storage Path Variable

Create an environment variable for persistent storage:

  • Key: APPLICATION_PATH
  • Value: /home/devopness/hermes-agent (replace hermes-agent with your app name)
  • Target: OS Environment Variable
  • Visibility: Visible

Why: Defines where Hermes stores chat history, API keys, browser sessions, and uploaded files. Without this, every deployment resets to factory defaults.


Step 4: Add Configuration Files

Create three configuration files.

File 1: .env

Prepare the following values and replace them in the file content below:

HERMES_DASHBOARD_BASIC_AUTH_PASSWORD - use a strong password (20+ characters)

HERMES_DASHBOARD_BASIC_AUTH_SECRET - use a random 32+ character string (generate at https://generate-random.org/api-token-generator or run openssl rand -base64 32)

  • Description: Dashboard settings and authentication
  • Path: .env
  • Content:
# Hermes AI Agent Configuration

# Container Name
CONTAINER_NAME=${APPLICATION_NAME}-hermes

# File Permissions (auto-detected during deployment)
HERMES_UID=__DEVOPNESS_UID__
HERMES_GID=__DEVOPNESS_GID__

# Dashboard Settings
HERMES_DASHBOARD=true
HERMES_DASHBOARD_HOST=0.0.0.0
HERMES_DASHBOARD_PORT=9119

# Security - Login Protection
HERMES_DASHBOARD_BASIC_AUTH_USERNAME=agent
HERMES_DASHBOARD_BASIC_AUTH_PASSWORD=CHANGE_THIS_PASSWORD
HERMES_DASHBOARD_BASIC_AUTH_SECRET=CHANGE_THIS_SECRET

# Performance Settings
HERMES_SHM_SIZE=1g
HERMES_MEMORY_LIMIT=4G
HERMES_MEMORY_RESERVATION=2G
HERMES_CPU_LIMIT=2.0

File 2: .env.hermes

  • Description: LLM provider API keys and integrations
  • Path: .env.hermes
  • Content:
# Hermes Agent Configuration
# Terminal Environment (required)
TERMINAL_ENV=local

# Add your integration API keys here (examples):
# SLACK_BOT_TOKEN=xoxb-...
# SLACK_APP_TOKEN=xapp-...
# LINEAR_API_KEY=lin_api_...
# OPENROUTER_API_KEY=sk-or-...
# OPENAI_API_KEY=sk-...

🔸 Note: This file is the source of truth for environment variables and is copied to persistent storage on every deployment. Changes made directly in the Hermes dashboard or inside ${APPLICATION_PATH}/data/.env will be overwritten on the next deployment. Add long-lived API keys and integration secrets to .env.hermes, then redeploy.


File 3: docker-compose.yml

  • Description: Container configuration and resources
  • Path: docker-compose.yml
  • Content:
services:
  hermes:
    image: nousresearch/hermes-agent:v2026.6.5

    container_name: ${CONTAINER_NAME}
    restart: unless-stopped
    command: gateway run
    privileged: true

    volumes:
      - ${APPLICATION_PATH}/data:/opt/data
      - /var/run/docker.sock:/var/run/docker.sock

    env_file:
      - .env

    ports:
      - "127.0.0.1:${HERMES_DASHBOARD_PORT}:${HERMES_DASHBOARD_PORT}"

    shm_size: ${HERMES_SHM_SIZE:-1g}

    deploy:
      resources:
        limits:
          memory: ${HERMES_MEMORY_LIMIT:-4G}
          cpus: "${HERMES_CPU_LIMIT:-2.0}"
        reservations:
          memory: ${HERMES_MEMORY_RESERVATION:-2G}

    networks:
      - hermes-net

networks:
  hermes-net:
    driver: bridge
    name: ${APPLICATION_NAME}-network

🔹 Tip: Check Docker Hub for newer versions. Always pin to a specific version tag (not latest) for reproducible deployments.

🔸 Security note: This configuration uses privileged: true and mounts /var/run/docker.sock. Required for Hermes to run Docker commands and browser automation, but gives the container elevated access to the host. Deploy with HTTPS and strong authentication.


Step 5: Configure the Deployment Pipeline

Update your deployment pipeline settings:

  • Max Parallel Actions: Set to 1 (prevents deployment conflicts where outdated configurations could override newer ones)

Add three custom pipeline steps in this order:

Step 1: Create Hermes Storage

  • Position: After "Get source from Git repository"
  • Name: Create Hermes storage
  • Command:
mkdir -p ${APPLICATION_PATH}/data && \
chown devopness:devopness ${APPLICATION_PATH}/data

Step 2: Update UID/GID Placeholders

  • Position: After "Create Hermes storage"
  • Name: Update UID/GID placeholders
  • Command:
DEVOPNESS_UID=$(id -u devopness) && \
DEVOPNESS_GID=$(id -g devopness) && \
sed -i "s/__DEVOPNESS_UID__/${DEVOPNESS_UID}/g" .env && \
sed -i "s/__DEVOPNESS_GID__/${DEVOPNESS_GID}/g" .env

Why: Aligns container user permissions with host filesystem.

Step 3: Copy Hermes Configuration

  • Position: After "Activate current build"
  • Name: Copy Hermes configuration to data folder
  • Command:
cp .env.hermes ${APPLICATION_PATH}/data/.env && \
chmod 600 ${APPLICATION_PATH}/data/.env && \
chown devopness:devopness ${APPLICATION_PATH}/data/.env

Why: Copies API keys to persistent storage so they survive deployments.


Step 6: Deploy Hermes

Deploy the application:

  • Pipeline: Deploy pipeline (already configured)
  • Source: Branch main
  • Servers: Select the server created in Step 1

Deployment takes 5-8 minutes on first run (downloads Docker images, builds the container).

Devopness redirects you to the Action page where you can watch the deployment live. Wait for the action to complete.


Step 7: Test Your Deployment (Optional)

🔹 Tip: If you have a domain ready, skip to Step 8 for HTTPS setup.

Find and edit the auto-generated virtual host for your server (hostname matches your server's public IP address):

  • Application: Select your Hermes application
  • Application Listen Address: http://localhost:9119

Deploy and wait for the action to complete. Then test access at http://YOUR_SERVER_IP. You should see the Hermes login page (username: agent, password: from your .env file).


Authentication Security Notice

This guide uses HTTP Basic Authentication (username/password), suitable for trusted networks or VPN access.

Best practices:

  • Use a strong password (20+ random characters)
  • Deploy with HTTPS enabled
  • Consider IP whitelisting for additional security

For public internet deployments, use OAuth (e.g., Nous Portal) or self-hosted OIDC (e.g., Keycloak, Auth0, Okta). For further instructions, see Hermes documentation.


Step 8: Setup HTTPS with Custom Domain (Optional)

Point your domain to your server's IP address (A record).

Create a name-based virtual host:

  • Domain: hermes.example.com
  • Application: Select your application
  • Application Listen Address: http://localhost:9119

Create an SSL certificate:

  • Virtual Host: Select the virtual host created above
  • Certificate Authority: Let's Encrypt

Test access to https://hermes.example.com - you should see the Hermes login page with a valid SSL certificate.


Step 9: Configure and Test Hermes

Add your LLM provider API key to .env.hermes:

OPENROUTER_API_KEY=sk-or-v1-...
# or OPENAI_API_KEY, ANTHROPIC_API_KEY, etc.

Redeploy the application.

In the Hermes dashboard:

  1. Go to Models → select your provider and model
  2. Go to Chat → send a test message

Done! Your Hermes AI Agent is deployed and ready to use.


Next Steps

Your AI assistant is now running and ready to automate tasks.

Learn More