Skip to content

Python: New Feature: pre-built ReAct agents? #12564

@smartnose

Description

@smartnose

Basically, can we create a pre-built agent for Semantic Kernel using the ReAct pattern like the one provided in LangChain?

https://github.com/langchain-ai/langchain/blob/master/libs/langchain/langchain/agents/react/agent.py

This pattern is very useful for real world robust applications, esp. when I need the agent to be able to recover from policy errors or other transient errors gracefully, reason, replan and retry.

For a toy example illustrating why ReAct is important, see this repo I added to illustrate the issue.

https://github.com/smartnose/policy-enforcer/tree/main/policy_enforcer

name: Feature request
about: Suggest an idea for this project


Metadata

Metadata

Labels

.NETIssue or Pull requests regarding .NET codeagentspythonPull requests for the Python Semantic Kernel

Projects

Status

Sprint: Planned

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions