What's Going Wrong?
Failed to initialize agent: Failed to initialize OpenAI client: Invalid port: '6153export
Steps Taken
- Ran the install script: 'curl -fsSL... | bash'
-
- Ran 'hermes setup' and chose "Quick setup"
-
- Selected custom, entered AP| key
-
- Ran 'hermes' and got Failed to initialize agent: Failed to initialize OpenAI client: Invalid port: '6153export error...
Installation Method
Install script (curl | bash)
Operating System
15.7.4 (24G517)
Python Version
No response
Hermes Version
Hermes Agent v0.8.0 (2026.4.8)
Output of hermes doctor
┌─────────────────────────────────────────────────────────┐
│ 🩺 Hermes Doctor │
└─────────────────────────────────────────────────────────┘
◆ Python Environment
✓ Python 3.11.4
✓ Virtual environment active
◆ Required Packages
✓ OpenAI SDK
✓ Rich (terminal UI)
✓ python-dotenv
✓ PyYAML
✓ HTTPX
✓ Croniter (cron expressions) (optional)
✓ python-telegram-bot (optional)
✓ discord.py (optional)
◆ Configuration Files
✓ ~/.hermes/.env file exists
✓ API key or custom endpoint configured
✓ ~/.hermes/config.yaml exists
✓ Config version up to date (v12)
◆ Auth Providers
⚠ Nous Portal auth (not logged in)
⚠ OpenAI Codex auth (not logged in)
→ No Codex credentials stored. Run `hermes auth` to authenticate.
✓ codex CLI
◆ Directory Structure
✓ ~/.hermes directory exists
✓ ~/.hermes/cron/ exists
✓ ~/.hermes/sessions/ exists
✓ ~/.hermes/logs/ exists
✓ ~/.hermes/skills/ exists
✓ ~/.hermes/memories/ exists
✓ ~/.hermes/SOUL.md exists (persona configured)
✓ ~/.hermes/memories/ directory exists
→ MEMORY.md not created yet (will be created when the agent first writes a memory)
→ USER.md not created yet (will be created when the agent first writes a memory)
✓ ~/.hermes/state.db exists (0 sessions)
◆ External Tools
✓ git
✓ ripgrep (rg) (faster file search)
⚠ docker not found (optional)
✓ Node.js
✓ agent-browser (Node.js) (browser automation)
⚠ Browser tools (agent-browser) deps (0 critical, 2 high, 2 moderate — run: cd /Users/oxygen16/.hermes/hermes-agent && npm audit fix)
⚠ WhatsApp bridge deps (0 critical, 2 high, 1 moderate — run: cd /Users/oxygen16/.hermes/hermes-agent/scripts/whatsapp-bridge && npm audit fix)
◆ API Connectivity
⚠ OpenRouter API (not configured)
◆ Submodules
⚠ tinker-atropos not found (run: git submodule update --init --recursive)
◆ Tool Availability
✓ terminal
✓ file
✓ skills
✓ browser
✓ cronjob
✓ tts
✓ todo
✓ memory
✓ session_search
✓ clarify
✓ code_execution
✓ delegation
⚠ web (missing EXA_API_KEY, PARALLEL_API_KEY, TAVILY_API_KEY, FIRECRAWL_API_KEY, FIRECRAWL_API_URL)
⚠ vision (system dependency not met)
⚠ moa (missing OPENROUTER_API_KEY)
⚠ image_gen (system dependency not met)
⚠ rl (missing TINKER_API_KEY, WANDB_API_KEY)
⚠ messaging (system dependency not met)
⚠ homeassistant (system dependency not met)
◆ Skills Hub
⚠ Skills Hub directory not initialized (run: hermes skills list)
⚠ No GITHUB_TOKEN (60 req/hr rate limit — set in ~/.hermes/.env for better rates)
◆ Memory Provider
✓ Built-in memory active (no external provider configured — this is fine)
────────────────────────────────────────────────────────────
Found 3 issue(s) to address:
1. Browser tools (agent-browser) has 4 npm vulnerability(ies)
2. WhatsApp bridge has 3 npm vulnerability(ies)
3. Run 'hermes setup' to configure missing API keys for full tool access
Tip: run 'hermes doctor --fix' to auto-fix what's possible.
Full Error Output
Failed to initialize agent: Failed to initialize OpenAI client: Invalid port: '6153export‘
What I've Already Tried
What's Going Wrong?
Failed to initialize agent: Failed to initialize OpenAI client: Invalid port: '6153export
Steps Taken
Installation Method
Install script (curl | bash)
Operating System
15.7.4 (24G517)
Python Version
No response
Hermes Version
Hermes Agent v0.8.0 (2026.4.8)
Output of
hermes doctorFull Error Output
Failed to initialize agent: Failed to initialize OpenAI client: Invalid port: '6153export‘What I've Already Tried