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.4.tar.gz (24.6 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.4-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tinyagent-0.1.4.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

Hashes for tinyagent-0.1.4.tar.gz
Algorithm Hash digest
SHA256 dd1a4285faa9cbe24034742d2e7e95cb35ed7a35ae2b0cf1dee4ea19ea7d2acf
MD5 754ebda7f16013aeecf9121fd1df76c6
BLAKE2b-256 33dfddd55ac2815ce5f2b52f77d9097e8566af1e9c83f2c8f64fe487fca25c15

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tinyagent-0.1.4-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

Hashes for tinyagent-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 63b4509512ee80a727a54e2e2f21f22c6f502d52410f0b94b4c6591420adca2d
MD5 c3829998121a76d9ef84680859482775
BLAKE2b-256 015da99f21d4cc466b929b3a67c46ee261013350bd7f0e2a46e314a5f1f54f57

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