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.5.tar.gz
(24.6 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.5-py3-none-any.whl
(15.1 kB
view details)
File details
Details for the file tinyagent-0.1.5.tar.gz.
File metadata
- Download URL: tinyagent-0.1.5.tar.gz
- Upload date:
- Size: 24.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
644c86907b298c5b3d04d248b0f48eefe6150100ae1eaec25c6f5ef598499228
|
|
| MD5 |
48266f966dc6eeabb8059e632be906e1
|
|
| BLAKE2b-256 |
2f29da2a2aa1bc40f549082b46bd75ff2c5e83779d2c0b74956e18f33d7209f1
|
File details
Details for the file tinyagent-0.1.5-py3-none-any.whl.
File metadata
- Download URL: tinyagent-0.1.5-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 |
42b4eaf859df7f95440b4af5bbd3e63c515018e5517bac3e404b87d8a868d22d
|
|
| MD5 |
2c2289764864ad7c97398877f618d75d
|
|
| BLAKE2b-256 |
ff703fdd57c4a82200224111410f6428ccb2204c92d77dd2d3a533f62b579b2a
|