Find answers from the community

Updated 3 months ago

Docs

At a glance

The community member is asking how to create a custom agent with a custom reasoning loop using agent runner and agent worker. A community member suggests skipping the agent worker/runner and using a workflow instead, providing links to workflow documentation and examples. The community member also mentions having a custom agent that uses contextual system prompts and async streaming, and provides a link to a Colab notebook. Another community member thanks the first for the suggestions and says they will go through the resources provided.

Useful resources
How can I create my own custom agent with custom reasoning loop by utilizing agent runner and agent worker.
Any resources in this will be appreciated
L
t
2 comments
https://docs.llamaindex.ai/en/stable/examples/agent/custom_agent/

But also tbh, i would just skip the agent worker/runner and just use a workflow

If you haven't seen workflows
https://docs.llamaindex.ai/en/stable/module_guides/workflow/#workflows

Theres an example of a react agent and function calling agent there.

I also have my own custom agent here that uses contextual system prompts and async streaming
https://colab.research.google.com/drive/1wVCkvX7oQu1ZwrMSAyaJ8QyzHyfR0D_j?usp=sharing
Thanks Logan. Will go through it
Add a reply
Sign up and join the conversation on Discord