Skip to content

✨ File organizer agent#96

Merged
mrsabath merged 29 commits intokagenti:mainfrom
EthanL3:file-organizer
Dec 9, 2025
Merged

✨ File organizer agent#96
mrsabath merged 29 commits intokagenti:mainfrom
EthanL3:file-organizer

Conversation

@EthanL3
Copy link
Copy Markdown
Contributor

@EthanL3 EthanL3 commented Nov 12, 2025

Summary

Custom agent for organizing files in a cloud storage environment. Main feature of this is a custom system prompt.

Related issue(s)

#74

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces a new file organizer agent that uses a custom system prompt to organize files in cloud storage environments. The agent leverages the A2A SDK and LangGraph to provide a natural language interface for file organization tasks through MCP (Model Context Protocol) tools.

  • Custom agent with MCP integration for cloud storage file operations
  • LangGraph-based workflow with OpenAI LLM integration
  • OpenTelemetry instrumentation for observability

Reviewed Changes

Copilot reviewed 9 out of 11 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
rules.py Defines file organization rules engine with YAML loading (currently unused)
graph.py Implements the LangGraph state machine with custom system prompt for file organization
configuration.py Provides LLM configuration settings with defaults for local Ollama
agent.py Main agent implementation with A2A server setup and request handling
init.py Sets up OpenTelemetry tracing for the service
pyproject.toml Project dependencies and metadata
Dockerfile Container configuration for deployment
.dockerignore Files to exclude from Docker build context

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mrsabath
Copy link
Copy Markdown
Contributor

@EthanL3, once we are done with this PR, could you please also open another issue, like kagenti/kagenti#405 so we can add this new Agent to our Demo portfolio. This would complete the task.

Signed-off-by: Ethan Levine <eolev43@gmail.com>
Signed-off-by: Ethan Levine <eolev43@gmail.com>
Signed-off-by: Ethan Levine <eolev43@gmail.com>
Signed-off-by: Ethan Levine <eolev43@gmail.com>
Signed-off-by: Ethan Levine <eolev43@gmail.com>
Signed-off-by: Ethan Levine <eolev43@gmail.com>
Signed-off-by: Ethan Levine <eolev43@gmail.com>
Signed-off-by: Ethan Levine <eolev43@gmail.com>
Signed-off-by: Ethan Levine <eolev43@gmail.com>
Signed-off-by: Ethan Levine <eolev43@gmail.com>
Signed-off-by: Ethan Levine <eolev43@gmail.com>
Signed-off-by: Ethan Levine <eolev43@gmail.com>
Signed-off-by: Ethan Levine <eolev43@gmail.com>
Signed-off-by: Ethan Levine <eolev43@gmail.com>
Signed-off-by: Ethan Levine <eolev43@gmail.com>
Copy link
Copy Markdown
Contributor

@mrsabath mrsabath left a comment

Choose a reason for hiding this comment

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

This looks great! Thank you. Please just add a new issue to write a README file later, since it's empty, otherwise LGTM

@EthanL3
Copy link
Copy Markdown
Contributor Author

EthanL3 commented Dec 6, 2025

Can this be merged in?

Signed-off-by: Ethan Levine <eolev43@gmail.com>
Signed-off-by: Ethan Levine <eolev43@gmail.com>
Signed-off-by: Ethan Levine <eolev43@gmail.com>
Signed-off-by: Ethan Levine <eolev43@gmail.com>
Signed-off-by: Ethan Levine <eolev43@gmail.com>
Signed-off-by: Ethan Levine <eolev43@gmail.com>
Signed-off-by: Ethan Levine <eolev43@gmail.com>
Signed-off-by: Ethan Levine <eolev43@gmail.com>
Signed-off-by: Ethan Levine <eolev43@gmail.com>
Signed-off-by: Ethan Levine <eolev43@gmail.com>
Signed-off-by: Ethan Levine <eolev43@gmail.com>
Signed-off-by: Ethan Levine <eolev43@gmail.com>
Signed-off-by: Ethan Levine <eolev43@gmail.com>
Signed-off-by: Ethan Levine <eolev43@gmail.com>
@mrsabath mrsabath merged commit f65081b into kagenti:main Dec 9, 2025
2 checks passed
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.

3 participants