Server-side chat agent