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.0.tar.gz (34.0 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.0-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tinyagent-0.2.0.tar.gz
  • Upload date:
  • Size: 34.0 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.0.tar.gz
Algorithm Hash digest
SHA256 753f225dd4627646620cbd08f5ccb79d9150d00e6e72215c884f37da5748d202
MD5 8eb2671db4da11764b2c70ba0a0afc6e
BLAKE2b-256 f601a42651c2f1bcc340ce3d0bf019583d683320dd47d1a2aa2730f3ab040c24

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tinyagent-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 17.7 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 974420d46c6410e83d5f0506797ff213a1ac48f6a9aaedb60b41d1b748e4c516
MD5 5744b3a80d17054d35afeeda7cacf8e1
BLAKE2b-256 5b3db681a13d0ea84b875846c968e38f135b3f521002dfd3251abcc3b09382e2

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