Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it easy to use single agent #699

Merged
merged 17 commits into from
Jan 29, 2025
Merged

Conversation

sternakt
Copy link
Collaborator

@sternakt sternakt commented Jan 29, 2025

Why are these changes needed?

This PR will add the functionality to run ConversibleAgent and its subclasses as standalone agents which can write and execute code and independently call functions and tools

x_assistant = AssistantAgent(name="x_assistant", llm_config=llm_config)

browser_use_tool = BrowserUseTool(
    llm_config=llm_config,
)

hot_topic_res = x_assistant.run(
    "Find out today's hot topic and an influencer who is talking about it on X using a web search",
    tools=browser_use_tool,
)

print(hot_topic_res)

Related issue number

Closes #523

Checks

@davorrunje davorrunje self-assigned this Jan 29, 2025
@davorrunje davorrunje added this pull request to the merge queue Jan 29, 2025
@davorrunje davorrunje removed this pull request from the merge queue due to a manual request Jan 29, 2025
@davorrunje davorrunje enabled auto-merge January 29, 2025 15:45
@davorrunje davorrunje added this pull request to the merge queue Jan 29, 2025
Merged via the queue into main with commit 2a5e19e Jan 29, 2025
297 of 301 checks passed
@davorrunje davorrunje deleted the make_it_easy_to_use_single_agent branch January 29, 2025 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make it easy to use single agent
3 participants