Skip to content

Creating Agents Dynamically #641

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

Open
bakikucukcakiroglu opened this issue May 2, 2025 · 1 comment
Open

Creating Agents Dynamically #641

bakikucukcakiroglu opened this issue May 2, 2025 · 1 comment
Labels
question Question about using the SDK

Comments

@bakikucukcakiroglu
Copy link

Hello everyone,

My current app serves as a support/sales agent for online stores. Merchants are using my dashboard to set a system prompt depending on their needs and expected behaviors. However, trying to tell all the needs in a system prompt usually ends up with high hallucination rates. That is why I want my system to be a more modular and configurable.

I'm planning to have a dashboard medium where the merchants can create their agents, add pre-defined tools to those agents, select handoffs etc. Actually a UI for agents architecture. However, I couldn't find a way to make dynamically created agents work.

Let's say every customers created their own unique architecture based on their unique needs on the dashboard and I stored all the information in convenient data structures. Is it possible to fetch and dynamically create the agents objects in the backend to respond to each merchant's customer with the agent architecture created by the customer.

Any help is appreciated.

@bakikucukcakiroglu bakikucukcakiroglu added the question Question about using the SDK label May 2, 2025
@jneeee
Copy link

jneeee commented May 4, 2025

A simpledirty way is using pickle to dump the objects to db. Then you could load and edit it when need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question about using the SDK
Projects
None yet
Development

No branches or pull requests

2 participants