Skip to content

Conversation

@jamadeo
Copy link
Collaborator

@jamadeo jamadeo commented Jun 11, 2025

(not to merge)

This is a minimal prototype of sub-recipes. You can add a subrecipes field to your recipe, and Goose will add tool calls representing each sub-recipe. No parameters are supported in this prototype.

To get it working, cd into the subrecipes-mcp directory and run uv tool install -e ..

] # Otherwise the Goose system prompt says this supports resources


def runner(subrecipe: dict) -> tuple[str, Callable[[Context], Awaitable[str]]]:
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@lifeizhou-ap my thinking is that we turn these into tools added and handled by Goose itself, without the MCP layer at all. Then we can start with an implementation where Goose still shells out to itself. And that leaves the door open to Goose running the subrecipe in its own separate agent in-process

@jamadeo
Copy link
Collaborator Author

jamadeo commented Jun 18, 2025

Work continues in #2982

@jamadeo jamadeo closed this Jun 18, 2025
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.

2 participants