A minimalistic agent framework
Project description
tinyagent
A tiny LLVM-based agent with minimal dependencies, written in Python
- Currently only pydantic and requests are necessary
Quick Install
pip install tinyagent
Get Started
# export OPENAI_API_KEY=sk-...
from tinyagent import get_agent
agent = get_agent('gpt-4o')
agent.chat('translate tinyagent to Japanese')
agent.chat('explain this image',
image='https://upload.wikimedia.org/wikipedia/commons/thumb/3/31/Doll_face_silver_Persian_2.jpg/1280px-Doll_face_silver_Persian_2.jpg')
Supports
| LLM | text | image | too call | streaming |
|---|---|---|---|---|
| OpenAI | ○ | ○ | ○ | ○ |
| Claude | ○ | ○ | ○ | ○ |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tinyagent-0.1.7.tar.gz
(25.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
tinyagent-0.1.7-py3-none-any.whl
(15.4 kB
view details)
File details
Details for the file tinyagent-0.1.7.tar.gz.
File metadata
- Download URL: tinyagent-0.1.7.tar.gz
- Upload date:
- Size: 25.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac4c1c9f0cf1d7b972d3d7a9e94fd56c16b98a06d925fec4aff5d32115274306
|
|
| MD5 |
fedcbbbc2824623811d1114e5ec201a7
|
|
| BLAKE2b-256 |
745292fde50b242c98328ceac957d90217a95ca69b6cdaa6e8a2ea7c77fa8c00
|
File details
Details for the file tinyagent-0.1.7-py3-none-any.whl.
File metadata
- Download URL: tinyagent-0.1.7-py3-none-any.whl
- Upload date:
- Size: 15.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc1970378c80bfdf4c65b697100bc635462d20b82906d84549955cb67da36d81
|
|
| MD5 |
42b3b4c7bee6780132a7b0b77583f2cb
|
|
| BLAKE2b-256 |
a5a085e6d77caa51f8158114697c570f6caef7939c44722e4951273664be6268
|