Catalog PyPI
Back to packageRELEASE DETAILS

3.0.0

PyPI

agente-calendario

Agente conversacional para gestionar eventos del calendario usando LLM local. Ejecuta la operacion correspondiente en el archivo .ics del calendario / Conversational agent for managing calendar events using local LLM. Executes the corresponding operation on the calendar ICS file.

Published21 Aug 2026
Direct dependencies3
Transitive dependenciesNot calculated

README

Version 3.0.0 documentation

Logo de agente_calendario calendario-agent

agente_calendario calendario-agent

Agente IA conversacional para gestionar eventos del calendario. Conversational AI agent to manage calendar events.

Utiliza un modelo de lenguaje (LLM) para interpretar instrucciones en lenguaje natural, It uses a language model (LLM) to interpret natural language instructions,

y ejecuta las operaciones correspondientes sobre el archivo ICS del calendario a través del módulo calendario_ics. and executes the corresponding operations on the calendar ICS file through the calendario_ics module.

Plataformas Soportadas (Probado con:) / Supported Platforms (Tested with:)

Esta herramienta ha sido probada oficialmente con los siguientes calendarios locales: This tool has been officially tested with the following local calendars:

Sistema OperativoAplicaciónEstado
LinuxKOrganizer (KDE Plasma 6)✅ Probado
WindowsRainlendar Lite 2.24.1 (Windows 10/11)✅ Probado
macOSNo soportado actualmente❌ Pendiente

Instalación / Installation

pip install agente_calendario

Con script / With script

# Para Linux / For Linux
# Copiar el script al directorio donde están los archivos .py
# Abrir la terminal
chmod +x install.sh
./install.sh
# Para Windows / For Windows
# Copiar el script al directorio donde están los archivos .py
# Abrir PowerShell
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
.\install.ps1

O ejecutar el binario / Or run the binary

# Para Linux / For Linux
# Abrir la terminal
./calendario-agent
# Para Windows / For Windows
# Doble click en el ejecutable
calendario-agent.exe

Configuración avanzada / Advanced configuration

Puedes especificar una ruta personalizada para los archivos .ics usando la variable de entorno CALENDARIO_ICS_DIR.
You can specify a custom path for the .ics files using the CALENDARIO_ICS_DIR environment variable.

# Linux / macOS
export CALENDARIO_ICS_DIR="/ruta/a/tus/calendarios"
# Windows (PowerShell)
$env:CALENDARIO_ICS_DIR="C:\ruta\a\tus\calendarios"
# Windows (CMD)
set CALENDARIO_ICS_DIR=C:\ruta\a\tus\calendarios

Si no se define, el agente intentará detectar automáticamente la ruta según tu sistema operativo:

Linux: ~/.local/share/apps/korganizer/

Windows:  %USERPROFILE%\.rainlendar2\ (o su subcarpeta Calendar)

macOS: No hay una ruta estándar para archivos ICS sueltos; usa la variable de entorno.

If not set, the agent will try to auto-detect the path based on your OS:

Linux: ~/.local/share/apps/korganizer/

Windows: %USERPROFILE%\.rainlendar2\ 

macOS: No standard path for loose ICS files; use the environment variable.

Dependencias / Dependencies

calendario_ics (se instala automáticamente / installed automatically)

openai (se instala automáticamente / installed automatically)

Servidor llama.cpp en ejecución (con un modelo compatible) / llama.cpp server running (with a compatible model)

Uso / Usage

Iniciar el agente / Start the agent


# Usando la dirección y puerto por defecto (127.0.0.1:8082)
calendario-agent
# Especificando host y puerto / Specifying host and port
calendario-agent --host 192.168.1.10 --port 8080

Herramientas disponibles / Available tools

El agente puede utilizar las siguientes herramientas para gestionar tu calendario: The agent can use the following tools to manage your calendar:

listar_eventos: Lista eventos con filtros de fecha.

buscar_eventos: Busca eventos por fecha, texto, ubicación, hora o rango.

contar_eventos: Cuenta eventos según filtros.

agregar_evento: Agrega un nuevo evento.

mostrar_evento: Muestra detalles de un evento por su UID.

modificar_evento: Modifica un evento por UID.

eliminar_evento: Elimina un evento por UID.

eliminar_por_filtro: Elimina eventos que coinciden con filtros (pregunta si hay varios).

modificar_por_filtro: Modifica eventos que coinciden con filtros (pregunta si hay varios).

listar_calendarios: Lista los calendarios disponibles.

Ejemplo de sesión interactiva / Interactive session example


$ calendario-agent --host 127.0.0.1 --port 8082
======================================================================
AGENTE IA CONVERSACIONAL PARA GESTIONAR EVENTOS DEL CALENDARIO
======================================================================
Escribe instrucciones en lenguaje natural.
Ejemplos:
  - 'Lista los eventos de hoy'
  - '¿Cuántos eventos tengo para el 25 de julio?'
  - 'Agrega una reunión mañana desde las 10:00 hasta las 12:45'
  - 'Borra el evento con UID agente-123'
  - 'Elimina la reunión de mañana a las 10:00'
  - 'Dime los eventos de esta semana'
  - 'Cambia la reunión del jueves las 10:00 y ponla de las 11:00 a las 12:00'

Escribe 'salir' para terminar.

>>> Agrega una reunión mañana a las 10:00 en Oficina Central

[*] Enviando petición al LLM...

¡Perfecto! He agregado la reunión para mañana a las 10:00 en Oficina Central. ¿Necesitas algo más?

>>> ¿Cuántos eventos tengo para el jueves 25 de julio?

[*] Enviando petición al LLM...

Encontré 3 eventos para el jueves 25 de julio.

>>> Lista los eventos de hoy

[*] Enviando petición al LLM...

Estos son los eventos que tienes agendados para hoy:
  - Reunión con equipo (10:00 - 11:00)
  - Almuerzo con cliente (13:00 - 14:00)

>>> Borra la reunión de mañana

[*] Enviando petición al LLM...

Varios eventos coinciden. Elige uno:
1. Reunión con equipo - 2026-08-17 09:00
2. Reunión con cliente - 2026-08-17 10:30
Responde con el número del evento que quieres procesar.

>>> 2

Se ha eliminado la Reunión con cliente del jueves 17 de agosto a las 10:30. ¡Listo!

>>> Cambia la ubicación de la reunión de mañana a Sala 3

[*] Enviando petición al LLM...

Varios eventos coinciden. Elige uno:
1. Reunión con equipo - 2026-08-17 09:00
2. Reunión con cliente - 2026-08-17 10:30
Responde con el número del evento que quieres procesar.

>>> 1

He actualizado la ubicación de la Reunión con equipo a Sala 3. ¿Algo más?

>>> salir

¡Hasta luego!

Ejemplo visual en el calendario KOrganizer / Visual in KOrganizer calendar

Captura de Ejemplo visual en el calendario KOrganizer

LICENSE

MIT License

Copyright (c) 2026 Reinel G. Paredes

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 3

Native requirements
3 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
requests
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.6",
  "evaluation": "NOT_EVALUATED"
}
requests>=2.25.0runtime
calendario_ics
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.6",
  "evaluation": "NOT_EVALUATED"
}
calendario_ics>=2.3.1runtime
openai
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.6",
  "evaluation": "NOT_EVALUATED"
}
openai>=2.21.0runtime

Distribution files

2 collected
agente_calendario-3.0.0-py3-none-any.whl

bdist_wheel · 11.37 KB · Python py3

Source file
agente_calendario-3.0.0.tar.gz

sdist · 10.48 KB · Python source

Source file

Repository

PENDING
rgparedess/agente_calendario

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:50 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:bdc2b2e03816df066a7e65c8f77affffad6977569e0cc1fa586ea5d65387d5b3

Other collected versions

View all collected versions →