Swarms

Orchestrate Agents

The Multi-Agent Collaboration Platform
Terminalpip3 install -U swarms

Get Started

Agent with Tools and Memory

An LLM backed agent with long term memory and tool usage. Great for complex multi-step activities in the real-world like sales, marketing, and accounting.

python.py


from swarms import Agent, ChromaDB, OpenAIChat, tool

# Making an instance of the ChromaDB class
memory = ChromaDB(
    metric="cosine",
    n_results=3,
    output_dir="results",
    docs_folder="docs",
)

# Initialize a tool
@tool
def search_api(query: str):
    # Add your logic here
    return query

# Initializing the agent with the Gemini instance and other parameters
agent = Agent(
    agent_name="Covid-19-Chat",
    agent_description=(
        "This agent provides information about COVID-19 symptoms."
    ),
    llm=OpenAIChat(),
    max_loops="auto",
    autosave=True,
    verbose=True,
    long_term_memory=memory,
    stopping_condition="finish",
    tools=[search_api],
)

# Defining the task and image path
task = ("What are the symptoms of COVID-19?",)

# Running the agent with the specified task and image
out = agent.run(task)
print(out)

Swarms logo

Swarm Platform
You Can Use and Test Our Models Easily

aceternity logo
esc
F1
F2
F3
F4
F5
F6
F7
F8
F8
F10
F11
F12
~`
!1
@2
#3
$4
%5
^6
&7
*8
(9
)0
_
+ =
delete
tab
Q
W
E
R
T
Y
U
I
O
P
{[
}]
|\
caps lock
A
S
D
F
G
H
J
K
L
:;
"'
return
shift
Z
X
C
V
B
N
M
<,
>.
?/
shift
fn
control
option
command
command
option

Pricing

PREMIUM

For small teams with big ambitions.

Access to the best Multi-Modal models

100% Uptime with 24/7 Support

5 TB cloud storage

ENTERPRISE

Enterprise-grade support and features.

Access to the best Multi-Modal models

100% Uptime with 24/7 Support

5 TB cloud storage

Marketing campaigns

Our Benefits

Cheap

Our affordable pricing ensures accessibility for all customers without compromising on quality. We prioritize cost-effectiveness to cater to budget-conscious clients while maintaining high standards of service and performance.

Fast

With our expedited service, you can expect rapid delivery and efficient turnaround times. We understand the importance of timely solutions and strive to meet deadlines promptly, enabling you to achieve your goals without unnecessary delays.

Reliable

Our commitment to reliability means you can trust us to consistently deliver exceptional results. We prioritize consistency and dependability in our services, ensuring that you can rely on us to meet your needs consistently and effectively.

Everything Is
Open Source

TGSC is radically focused on transparency and open source. We believe that the best way to build a better future is by working together.

discord
github
twitter