Files
portainer-core/services
jpmschweitzerandClaude 73f8497232 feat(core-ai): add web search tool and enhance agent persona
Add SearXNG-powered web search tool and update agent persona to "Tatlock",
a helpful British butler assistant.

Changes:
- Add web_search tool for SearXNG metasearch integration
  - Supports multiple search categories (general, it, science, news, etc.)
  - Configurable max_results (1-20)
  - Privacy-focused (no tracking via SearXNG)
  - Formatted results with titles, URLs, and descriptions
  - Proper error handling for timeouts and failures
  - Endpoint: http://searxng:8080/search
- Update agent persona to "Tatlock" (British butler)
  - Formal yet personable tone
  - Addresses users as "sir"
  - Fact verification emphasis
  - Slight snark and puns when appropriate
  - Clear tool categorization in prompt
- Enhance prompt with tool organization
  - Core tools: web_search, calculate, time/date
  - Infrastructure tools: core_api__* prefix for system management
  - Clear usage guidelines for each category

Web Search Categories Supported:
- general: Web search (Google, Bing, DuckDuckGo)
- it: Programming/technical (StackOverflow, GitHub)
- science: Academic (arXiv, PubMed, Semantic Scholar)
- news: News articles
- images/videos: Media search
- map: Geographic queries

Integration:
Requires SearXNG service running on docker-dataplane network.
See stacks/searxng.yml for deployment.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-02 18:36:18 +01:00
..