Intro
Introduction to Thinagents
Welcome to Thinagents — a modern, lightweight framework for building AI agents with ease and flexibility.
Thinagents is inspired by Agno AGI and powered by litellm, giving you access to 100+ LLM APIs and providers. Whether you're prototyping, building production agents, or experimenting with new models, Thinagents helps you move fast with minimal overhead.
- Model & provider agnostic (thanks to litellm)
- Inspired by Agno AGI
- Small, flexible, and easy to integrate
- Open source — View on GitHub
Quick Example
Create an agent and add a custom tool in just a few lines:
import os
from thinagents import Agent
os.environ["OPENAI_API_KEY"] = "your-api-key"
def add(a: int, b: int) -> int:
return a + b
agent = Agent(
name="Math Agent",
model="openai/gpt-4o-mini",
tools=[add],
)
response = agent.run("What is 2 + 3? Use the add tool.")
print(response.content)