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.12.tar.gz
(28.0 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
File details
Details for the file tinyagent-0.1.12.tar.gz.
File metadata
- Download URL: tinyagent-0.1.12.tar.gz
- Upload date:
- Size: 28.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27b2f5ee0642212d868f2d5da2a73da25366cdd70a7081531792e64a39a15c2c
|
|
| MD5 |
9846a0de854b4b6d038cc3c58d2d74a4
|
|
| BLAKE2b-256 |
421d8dd1007b4f9e39ae099370bfb7b7c85ff71e3d816069fb1792a3fdda45e9
|
File details
Details for the file tinyagent-0.1.12-py3-none-any.whl.
File metadata
- Download URL: tinyagent-0.1.12-py3-none-any.whl
- Upload date:
- Size: 16.5 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 |
efec4fdc384fdaa234c62258e703b70b2657fce437d477df0e9a3b05920490c1
|
|
| MD5 |
c200982cb897adca46a78a9cbfc45e50
|
|
| BLAKE2b-256 |
7469172525b0a8477b5164a9a9180e1c86105648e29bef5d7d5f8c9dfc3942f4
|