agente_calendario
Agente conversacional para gestionar eventos del calendario. Conversational 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,
genera un JSON con la acción y los parámetros, y ejecuta la operación correspondiente generates a JSON with the action and parameters, and executes the corresponding operation
sobre el archivo ICS del calendario a través del módulo calendario_ics (su backend). on the calendar ICS file through the calendario_ics module (its backend).
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 Operativo | Aplicación | Estado |
|---|---|---|
| Linux | KOrganizer (KDE Plasma 6) | ✅ Probado |
| Windows | Rainlendar Lite 2.24.1 (Windows 10/11) | ✅ Probado |
| macOS | No 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 .py
chmod +x install.sh
./install.sh
# Para Windows / For Windows
# Abrir PowerShell
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
.\install.ps1
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)
Servidor llama.cpp en ejecución / llama.cpp server running
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
Ejemplo de sesión interactiva / Interactive session example
$ calendario-agent --host 127.0.0.1 --port 8082
======================================================================
AGENTE CONVERSACIONAL PARA GESTIONAR EVENTOS DEL CALENDARIO (con LLM)
======================================================================
Servidor LLM: 127.0.0.1:8082
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
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.
Metadata
Release files for agente-calendario 2.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| agente_calendario-2.2.0.tar.gz | 12.2 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| agente_calendario-2.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.5 kB
Release files / agente_calendario-2.2.0.tar.gz
| Download URL | agente_calendario-2.2.0.tar.gz |
|---|---|
| Size | 12.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
81162ddc5113eca1c6ddc10a3b35b8dfc6f65be41ea17b2b31b69fe8ccbe4d79
|
|
BLAKE2b-256 checksum How to use checksums |
b9e6574e3b4c0cf88ed719bd268c37e0e3e20ff2050d59d34caec236fb3311a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 16, 2026.
Transparency logRelease files / agente_calendario-2.2.0-py3-none-any.whl
| Download URL | agente_calendario-2.2.0-py3-none-any.whl |
|---|---|
| Size | 13.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
247d8e3ec20e5ce0b2600e451ab952601d0d919ef680c478ee15eb096bef1054
|
|
BLAKE2b-256 checksum How to use checksums |
a128feb65ebbf4445e46247617a8332f8a2253c810f65e1299b835afa01ea127
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 16, 2026.
Transparency logSecurity for agente-calendario 2.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for agente_calendario-2.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 16, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.