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.6.tar.gz
(24.7 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.6-py3-none-any.whl
(15.1 kB
view details)
File details
Details for the file tinyagent-0.1.6.tar.gz.
File metadata
- Download URL: tinyagent-0.1.6.tar.gz
- Upload date:
- Size: 24.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9eb012c12d75b65428bca4389f3f5cc0339321a841b3f7620b55ab5f23b7f1bd
|
|
| MD5 |
2923f3ba57557b590e3766645d2adfed
|
|
| BLAKE2b-256 |
61c9c62b8e92b996cbc58ff34070fd6b40646a17d1a2592c5dd65418e0ebdeef
|
File details
Details for the file tinyagent-0.1.6-py3-none-any.whl.
File metadata
- Download URL: tinyagent-0.1.6-py3-none-any.whl
- Upload date:
- Size: 15.1 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 |
f7b0a74b0a0dc29b0fdb9f047b6bf19f5fe7d494df3ed505da343285a221075b
|
|
| MD5 |
a40d68eafca7d4b3c2d66b3573b71f9a
|
|
| BLAKE2b-256 |
0278718d215f306e87f81bedce384b56b2af093f915d1172418da26fe578ac31
|