Commit Graph

1 Commits

Author SHA1 Message Date
florian.berthold 814e2ca73a Initial Claude NPC plugin for Hytale
Creates an AI-controlled NPC named "Claude" that:
- Listens to nearby player chat and responds via LiteLLM (GLM-4.7-Flash)
- Can be controlled via HTTP API endpoints
- Provides world perception data for external AI control

Components:
- ClaudeNpcPlugin: Main plugin entry point
- ClaudeNpc: NPC entity management
- ClaudeController: Behavior state machine
- LiteLlmClient: HTTP client for LiteLLM API
- WorldView: Perception system
- ClaudeApiHandler: HTTP endpoint handlers

API endpoints:
- POST /spawn, /move, /chat, /look, /emote
- GET /status, /world

Includes Ansible role updates for deployment.
2026-01-24 17:42:00 +01:00