Skip to main content

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 de KOrganizer a través del módulo calendario_ics (su backend). on the KOrganizer ICS file through the calendario_ics module (its backend).

Instalación / Installation

pip install agente_calendario

Con script / With script

# Copiar el script al directorio donde están los .py
chmod +x install.sh
./install.sh

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 EL CALENDARIO KORGANIZER (con LLM)
======================================================================
Servidor LLM: 127.0.0.1:8082
Escribe instrucciones en lenguaje natural.
Ejemplos:
  - 'Lista los eventos de hoy'
  - 'Agrega una reunión mañana desde las 10:00 hasta las 12:45'
  - 'Elimina el evento con UID agente-123'
  - 'Muestra el evento con UID agente-456'
  - 'Modifica el evento con UID agente-789...'

Escribe 'salir' para terminar.

>>> Lista los eventos de hoy
[*] Enviando petición al LLM...
[*] JSON recibido:
{
  "accion": "list",
  "parametros": {
    "start": "2026-08-05",
    "end": "2026-08-05"
  }
}
[*] Comando equivalente: python calendario_ics.py list --start 2026-08-05 --end 2026-08-05
Eventos en Calendario personal:
  UID: agente-1785259076207415.149974 | Reunión con equipo | 2026-08-05 15:00 -> 2026-08-05 18:43

>>> Agrega una reunión mañana a las 10:00 hasta las 11:30 en la oficina
[*] Enviando petición al LLM...
[*] JSON recibido:
{
  "accion": "add",
  "parametros": {
    "summary": "Reunión en oficina",
    "dtstart": "2026-08-06 10:00",
    "dtend": "2026-08-06 11:30",
    "location": "oficina"
  }
}
[*] Comando equivalente: python calendario_ics.py add --summary "Reunión en oficina" --dtstart "2026-08-06 10:00" --dtend "2026-08-06 11:30" --location "oficina"
Evento agregado con UID: agente-1785259076207415.149974

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agente_calendario-1.0.1.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agente_calendario-1.0.1-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file agente_calendario-1.0.1.tar.gz.

File metadata

  • Download URL: agente_calendario-1.0.1.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for agente_calendario-1.0.1.tar.gz
Algorithm Hash digest
SHA256 58f5f40c75d64429b4c641d3cb0119a33bb07f1e1bf6c164442f21588b3a0a15
MD5 747a828af4195f197ef4fdab1a9b49c8
BLAKE2b-256 02f70b45dfc0f6464817d87539b5d891d1dbc1cf68f4d7f8a6b9be90043a7b32

See more details on using hashes here.

Provenance

The following attestation bundles were made for agente_calendario-1.0.1.tar.gz:

Publisher: publish.yml on rgparedess/agente_calendario

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agente_calendario-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for agente_calendario-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 69ec7f3c3fce4260b2ab776ff46ec5212dbceeb39eb2c82b428ccc2124278279
MD5 af3894e9740d695848c8dbad6a91faaa
BLAKE2b-256 9ded323e9a4769657f0b1d1aad33a1c22c9cff65bedac5db82f932b0117b9b54

See more details on using hashes here.

Provenance

The following attestation bundles were made for agente_calendario-1.0.1-py3-none-any.whl:

Publisher: publish.yml on rgparedess/agente_calendario

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page