Use this file to discover all available pages before exploring further.
Get started with Upsonic by building your first agent in minutes.The Quickstart guide walks you through the essential features of Upsonic, from creating your first agent to adding memory, knowledge bases, and building multi-agent teams. Each section provides practical examples you can run immediately.
Your first agent with a simple and powerful AI Agent Development framework.Let’s create your first agent with Upsonic by creating an Agent, Task, and Tool.
from upsonic import Agent, Taskfrom upsonic.tools.common_tools import YFinanceToolsagent = Agent(model="anthropic/claude-sonnet-4-5", name="Stock Analyst Agent")task = Task(description="Give me a summary about tesla stock with tesla car models", tools=[YFinanceTools()])agent.print_do(task)
from upsonic import Agent, Taskfrom upsonic.storage import Memory, InMemoryStoragememory = Memory( storage=InMemoryStorage(), session_id="session_001", full_session_memory=True)agent = Agent(model="anthropic/claude-sonnet-4-5", memory=memory)task1 = Task(description="My name is John")agent.print_do(task1)task2 = Task(description="What is my name?")agent.print_do(task2) # Agent remembers: "Your name is John"
Create a team of agents that work together to solve complex tasks.
with_team.py
from upsonic import Agent, Task, Teamresearcher = Agent( model="anthropic/claude-sonnet-4-5", name="Researcher", role="Research Specialist", goal="Find accurate information and data")writer = Agent( model="anthropic/claude-sonnet-4-5", name="Writer", role="Content Writer", goal="Create clear and engaging content")team = Team(agents=[researcher, writer], mode="sequential")tasks = [ Task(description="Research the latest developments in quantum computing"), Task(description="Write a blog post about quantum computing for general audience")]result = team.print_do(tasks)print(result)