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.2.1.tar.gz (34.7 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.2.1-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tinyagent-0.2.1.tar.gz
Algorithm Hash digest
SHA256 ea6e6f5537ad9f0b4893baa42e1bca42f40c279d4a31c81ddc7b1099b0cbfb76
MD5 f34f3db3b83e5096c5cb2b64624be6a5
BLAKE2b-256 ecb5873d01389e1efd9068b1a9a491b47d8f8aaa3c8e65f17961b7ad0a497f58

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tinyagent-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 17.9 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.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5e3e9f74ecedd0c8e90c01d7d7e3ba13a15480fc1ac5284febb31dc7b3db0040
MD5 6404b7d84c08e01daafec3ec2e8ad619
BLAKE2b-256 20af78ff6af673128888b88c02ce58539bc4022ff4b5ac486f1b789442de8785

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