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

Add AWS CloudWatch logs agent toolkit #27

Closed
wants to merge 12 commits into from

Conversation

dmux
Copy link

@dmux dmux commented Dec 19, 2024

Introduce a toolkit for analyzing AWS CloudWatch logs using a language model. This includes functions for fetching logs and creating an agent to process and analyze them.

Copy link
Contributor

@ccurme ccurme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this.

create_cloudwatch_logs_agent is using some older abstractions (LLMChain, AgentExecutor, ZeroShotAgent). My recommendation is to just implement a tool that is compatible with modern chat models with tool-calling features. These can then be used in standard agent constructors.

Read more:

This PR adds to the dependencies in pyrpoject.toml. If adding to langchain-experimental, these would need to be removed following the contributing guide. I recommend looking into adding the tool to langchain-aws where it can be properly tested and versioned, and the dependencies can be managed.

@ccurme ccurme closed this Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Closed
Development

Successfully merging this pull request may close these issues.

2 participants