Skip to main content

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 ○ ○ ○ ○

Metadata

Release files for tinyagent 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tinyagent 0.2.4
File Size Uploaded Provenance Actions
tinyagent-0.2.4.tar.gz 35.0 kB Without provenance Details for tinyagent-0.2.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tinyagent 0.2.4
File Interpreter ABI Platform Actions
tinyagent-0.2.4-py3-none-any.whl Python 3 none any Details for tinyagent-0.2.4-py3-none-any.whl

Total release size: 60.1 kB

Release files / tinyagent-0.2.4.tar.gz

Download URL tinyagent-0.2.4.tar.gz
Size 35.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e5a6f739659217cf8e4615467df36632be881500937023be6c99dfeaaea7ebdf
BLAKE2b-256 checksum
How to use checksums
dff674dea13def943cf267e55b11628616780ff436327a42cd18f5233887f4aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.13

Release files / tinyagent-0.2.4-py3-none-any.whl

Download URL tinyagent-0.2.4-py3-none-any.whl
Size 25.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4224b1dba9a89693bef1f61e381403f1b43073842def1a0f4833a320a275c1d3
BLAKE2b-256 checksum
How to use checksums
029e98bf9e8d553693e69c4b2a93951c84768951e6b540cec5ae756e6b1d50df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.13

Security for tinyagent 0.2.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page