Skip to content

Conversation

@Fuzzypi
Copy link

@Fuzzypi Fuzzypi commented Jan 31, 2026

Summary

This PR stabilizes Agent Zero local development boot and resolves multiple
runtime-breaking issues caused by upstream dependency and API changes.

Key fixes

  • Adapt MCP server to FastMCP settings/auth API (remove deprecated internals)
  • Gate RFC coordination behind DISABLE_RFC to prevent dev crashes
  • Gate embedding preload behind AZ_PRELOAD_EMBEDDING
  • Add /health endpoint for runtime diagnostics
  • Silence repeated RFC warnings
  • Pin fastmcp for runtime stability
  • Add local development documentation

Verification

  • Clean local boot
  • No runtime errors
  • Preload completes successfully
  • RFC disabled by default
  • /health endpoint reports correct status

Run

WEB_UI_PORT=5050 DISABLE_RFC=1 AZ_PRELOAD_EMBEDDING=0 python run_ui.py

Fuzzypi and others added 7 commits January 30, 2026 16:43
Returns JSON with status, RFC mode, embedding preload state, port, and uptime.
No auth required - useful for load balancers and health checks.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
- Skip RFC calls entirely when DISABLE_RFC=1 is set
- Downgrade RFC errors to warnings (yellow instead of red)
- Only warn once per session to avoid log spam

Co-Authored-By: Claude Opus 4.5 <[email protected]>
- Default OFF for faster boot and to avoid HuggingFace cache issues
- Set AZ_PRELOAD_EMBEDDING=1 to opt-in to embedding warmup
- Prevents vocab.txt download failures from blocking startup

Co-Authored-By: Claude Opus 4.5 <[email protected]>
- Document env vars: WEB_UI_PORT, DISABLE_RFC, AZ_PRELOAD_EMBEDDING
- Document /health endpoint and response format
- Explain MCP token-based routing (403 is expected without token)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant