feat: add sub-agent MCP server with OpenAI chat completion support#19
Merged
mudler merged 3 commits intomudler:masterfrom Mar 2, 2026
Merged
feat: add sub-agent MCP server with OpenAI chat completion support#19mudler merged 3 commits intomudler:masterfrom
mudler merged 3 commits intomudler:masterfrom
Conversation
- Add new sub-agent directory with main.go and README.md - Implement sub_agent_send tool for chat completions - Implement sub_agent_list tool to list active jobs - Implement sub_agent_get_result tool to retrieve results - Support background job tracking with goroutines - In-memory storage with configurable TTL - Add go-openai dependency for OpenAI API calls
mudler
reviewed
Mar 2, 2026
| @@ -0,0 +1,133 @@ | |||
| # sub-agent MCP Server | |||
|
|
|||
| A Model Context Protocol (MCP) server that allows sending chat completion messages to any OpenAI-compatible endpoint, with support for background job tracking using goroutines and in-memory storage with TTL. | |||
mudler
reviewed
Mar 2, 2026
sub-agent/sub-agent
Outdated
Owner
There was a problem hiding this comment.
you have committed the binary as well with the code. Remove that
Contributor
Author
|
Removed the binary file from the repository as requested. The binary should not be committed to the repo. |
mudler
requested changes
Mar 2, 2026
Owner
mudler
left a comment
There was a problem hiding this comment.
update the top-level README with this MCP server
Contributor
Author
|
Pushed updates based on feedback. Added sub-agent documentation to the top-level README.md as requested. Returning to IN_REVIEW. |
mudler
approved these changes
Mar 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a new MCP server called sub-agent that allows sending chat completion messages to any OpenAI-compatible endpoint.
Features
Configuration
Environment variables:
Acceptance Criteria
Supersedes #18