feat: añadir agentes wikipedia-bot y exchange-bot
wikipedia-bot: agente GPT-4o con tool wikipedia_search para consultar información de Wikipedia. Responde en español, tono profesional. exchange-bot: agente GPT-4o con 4 tools de exchange rate para consultar tasas de cambio, convertir entre monedas, listar monedas disponibles y ver historial. Requiere EXCHANGERATE_API_KEY en .env. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,117 @@
|
||||
agent:
|
||||
id: exchange-bot
|
||||
name: "Exchange Rate Agent"
|
||||
version: "1.0.0"
|
||||
enabled: true
|
||||
template: false
|
||||
description: "Especialista en tipos de cambio y conversión de divisas. Consulta tasas actuales e históricas, convierte montos entre más de 160 monedas, y lista las divisas disponibles usando ExchangeRate-API."
|
||||
tags: [finance, exchange, currency, rates]
|
||||
|
||||
# ============================================
|
||||
# PERSONALIDAD
|
||||
# ============================================
|
||||
personality:
|
||||
tone: professional
|
||||
verbosity: concise
|
||||
language: es
|
||||
languages_supported: [es, en]
|
||||
emoji_style: minimal
|
||||
prefix: "💱"
|
||||
error_style: helpful
|
||||
|
||||
role: "Especialista en tipos de cambio y divisas"
|
||||
expertise: [currency-exchange, forex, financial-data, international-finance]
|
||||
limitations: [no-financial-advice, no-predictions, no-trading-recommendations]
|
||||
|
||||
communication:
|
||||
formality: semiformal
|
||||
humor: none
|
||||
personality: analytical
|
||||
response_style: structured
|
||||
|
||||
behavior:
|
||||
proactive: false
|
||||
ask_confirmation: false
|
||||
show_reasoning: false
|
||||
thread_replies: true
|
||||
typing_indicator: true
|
||||
|
||||
# ============================================
|
||||
# LLM
|
||||
# ============================================
|
||||
llm:
|
||||
primary:
|
||||
provider: openai
|
||||
model: gpt-4o
|
||||
api_key_env: OPENAI_API_KEY
|
||||
max_tokens: 2048
|
||||
temperature: 0.3
|
||||
|
||||
reasoning:
|
||||
system_prompt_file: "prompts/system.md"
|
||||
context_window: 8192
|
||||
memory_messages: 20
|
||||
|
||||
tool_use:
|
||||
enabled: true
|
||||
max_iterations: 5
|
||||
parallel_calls: false
|
||||
|
||||
# ============================================
|
||||
# TOOLS
|
||||
# ============================================
|
||||
tools:
|
||||
exchange_rate:
|
||||
enabled: true
|
||||
api_key_env: EXCHANGE_RATE_API_KEY
|
||||
timeout: 10s
|
||||
|
||||
matrix_send:
|
||||
allowed_rooms: []
|
||||
|
||||
# ============================================
|
||||
# MATRIX
|
||||
# ============================================
|
||||
matrix:
|
||||
homeserver: "${MATRIX_HOMESERVER}"
|
||||
user_id: "@exchange-bot:${MATRIX_SERVER_NAME}"
|
||||
access_token_env: MATRIX_TOKEN_EXCHANGE_BOT
|
||||
device_id: "DEVICEID"
|
||||
|
||||
encryption:
|
||||
enabled: true
|
||||
store_path: "./agents/exchange-bot/data/crypto/"
|
||||
pickle_key_env: PICKLE_KEY_EXCHANGE_BOT
|
||||
trust_mode: tofu
|
||||
recovery_key_env: SSSS_RECOVERY_KEY_EXCHANGE_BOT
|
||||
|
||||
filters:
|
||||
command_prefix: "!"
|
||||
mention_respond: true
|
||||
dm_respond: true
|
||||
ignore_bots: true
|
||||
unauthorized_response: silent
|
||||
|
||||
threads:
|
||||
enabled: true
|
||||
auto_thread: false
|
||||
|
||||
# ============================================
|
||||
# SEGURIDAD
|
||||
# ============================================
|
||||
security:
|
||||
sanitize:
|
||||
enabled: true
|
||||
mode: warn
|
||||
min_severity: medium
|
||||
|
||||
tool_rate_limit:
|
||||
enabled: true
|
||||
max_calls_per_min: 20
|
||||
cleanup_interval_s: 60
|
||||
|
||||
# ============================================
|
||||
# STORAGE
|
||||
# ============================================
|
||||
storage:
|
||||
base_path: ""
|
||||
Reference in New Issue
Block a user