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

v0.1-alpha - Multi-step Agents & Planning #35

Merged
merged 205 commits into from
May 22, 2023
Merged

v0.1-alpha - Multi-step Agents & Planning #35

merged 205 commits into from
May 22, 2023

Conversation

kreneskyp
Copy link
Owner

@kreneskyp kreneskyp commented May 3, 2023

Description

This PR is a major rewrite of AgentProcess to support multi-step agents and advanced workflows. This is part of a roadmap to provide incredibly flexible LLM agents at scale.

This branch is still an alpha release but is available for testing.

Langchain

The AgentProcess has been converted to use langchain chains, LLM, and memory. This is introduces support for multi-step LLM processes.

The default agent is now a zero-shot agent that runs a root chain. A LLMToolChooser may be used to replicate decision making of an agent. Future releases will introduce additional agent types.

Chain Visualizer

image

A chain visualizer was added to help understand how chains are structured.

Planning Chain

image

The demo planning chain creates plans for user requests and then executes them when authorized.

Chat replacing Tasks

The Chat view is now known as Chat. Tasks still exist as chains that run the chat and actions taken from the chat.

v0.2 Roadmap

  • More visualizer features and editing mode
  • Support for langchain tools
  • Additional Agent types

Changes

[List out the changes you've made in this pull request. Be as specific as possible.]

How Tested

[Explain how you tested this pull request. Include any relevant steps or scripts.]

TODOs

  • index still defaults to new task view
  • New Chat button creates a new chat but doesn't clear the existing chat. Workaround: refresh page.
  • agent config doesn't support selecting a chain
  • deprecate agent tool config

For follow up:

…pdating agent_runner to use it to instantiate the correct class for an Agent
- config and commands now set correctly
- agent_class_path now set and defaults to PlanningAgent
kreneskyp added 28 commits May 19, 2023 08:44
* README, CHANGELOG, and doc updates for v0.1
* artifact docs
* chain doc updates
* fix all broken inline code references that only had single tick
…in strange rendering when root was a list container
@kreneskyp kreneskyp merged commit 2d206df into master May 22, 2023
@kreneskyp kreneskyp deleted the generic_agents branch May 22, 2023 17:52
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.

1 participant