Skip to content
y-lanPublic

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Latest commit

 

History

56 Commits

Folders and files

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages