<#1021 Add CodeModeAgent and AgentChatAppEnvironme...
# flyte-github
a
#1021 Add CodeModeAgent and AgentChatAppEnvironment in flyte.ai submodule Pull request opened by cosmicBboy This PR adds a new
flyte.ai
submodule to the flyte namespace with a
CodeModeAgent
and
AgentChatAppEnvironment
classes that provide pre-built components for building agentic applications: •
flyte.ai.agents.CodeModeAgent
wraps the orchestrator sandbox and combines it with a customizable LLM generator function (with a soft dependency on
litellm
) to create a code-mode agent application. •
flyte.ai.agents.AgentChatAppEnvironment
defines a simple FastAPI-based app that allows users to define "bring-your-own-tools" chat UIs. •
flyte.io.agents.protocols.Agent
defines a protocol that is pluggable into
AgentChatAppEnvironment
so that users can bring their own if they want, but works with
CodeModeAgent
out-of-the-box. Adds a suite of simple examples in
examples/agents
across different domains (with stub tools for simplicity) to show the variability in tools that users can build on this: •
biotech_research_agent.py
•
data_analytics_agent.py
•
financial_analytics_agent.py
•
logistics_agent.py
•
marketing_agent.py
•
sales_agent.py
•
travel_agent.py
flyteorg/flyte-sdk