Skip to main content

A minimalist library with as few dependencies as possible.

Project description

Kiori

A minimalist Python agent library with as few dependencies as possible.

Installation

pip install kiori

Quick Start

from kiori.agent import KioriAgent
from kiori.models import Action, ActionExample

# Initialize agent
agent = KioriAgent()

# Define an action
def my_func():
    return "Action executed!"

action = Action(
    name="my_action",
    description="Does something cool",
    function_callable=my_func
)
agent.add_action(action)

# Add an example
example = ActionExample(
    user_prompt="Do something cool",
    expected_action_text="my_action()"
)
agent.add_example(example)

# Run agent
agent.run("Do something cool")

Philosophy

Kiori is built to be lightweight, easy to understand, and independent of bloated external packages.

License

MIT

Project details


Download files

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

Source Distribution

kiori-0.1.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

kiori-0.1.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file kiori-0.1.0.tar.gz.

File metadata

  • Download URL: kiori-0.1.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for kiori-0.1.0.tar.gz
Algorithm Hash digest
SHA256 72fde94fc33df8a0723298a3dbfa04acfa92d9bbe3871e24a33c8fde15d60899
MD5 84a3db2ab1df1913449861aef27f6091
BLAKE2b-256 2ec3b5e80f1e5d52826918e3f64b5ccff8f5aaa4548fae957f5dd7770a49126b

See more details on using hashes here.

File details

Details for the file kiori-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: kiori-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for kiori-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 af48eb08b974ff21d57d953eab3164f05556f632ee3b70c33a570b6087038623
MD5 a99c8f9c8afb4fdc273bb35339377abf
BLAKE2b-256 5ee4d72d62fe7eab2ddfdab1a1f5d461f498381521ef31ee3b3ef0c58039250a

See more details on using hashes here.

Supported by

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