You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
swarms/examples/utils/agent_loader/claude_code_compatible.py

10 lines
314 B

from swarms import load_agents_from_markdown
agents = load_agents_from_markdown(["finance_advisor.md"])
# Use the agent
response = agents[0].run(
"I have $100k to invest. I want to hedge my bets on the energy companies that will benefit from the AI revoltion"
"What are the top 4 stocks to invest in?"
)