Skip to main content

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


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.10.tar.gz (27.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tinyagent-0.1.10-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

Details for the file tinyagent-0.1.10.tar.gz.

File metadata

  • Download URL: tinyagent-0.1.10.tar.gz
  • Upload date:
  • Size: 27.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.13

File hashes

Hashes for tinyagent-0.1.10.tar.gz
Algorithm Hash digest
SHA256 97aae6880a6df9f27863d7348490b636f8fc763a961b3505a61644206e18640d
MD5 3d5094f29eb32abbb4c9136485f8e803
BLAKE2b-256 4a6f565415199a7607a47cd898c1df01350b0c45f591f9a2c8cd91dc581b0d23

See more details on using hashes here.

File details

Details for the file tinyagent-0.1.10-py3-none-any.whl.

File metadata

  • Download URL: tinyagent-0.1.10-py3-none-any.whl
  • Upload date:
  • Size: 16.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.13

File hashes

Hashes for tinyagent-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 cdc1b343ad46deae4a79b656a3c6a86320ec5d95af19fad30313d5f943807601
MD5 45820d0951feb3254caefe4f4bc668ee
BLAKE2b-256 9eb0c240c4d246052ac25e1fc8326b7c9ae84e1ee7398eb7ee7275aef42599cd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page