Skip to content

y-lan/tinyagent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages