[Improvement] Add agent tool calling and task execution workflow - #88
Open
affanraza84 wants to merge 1 commit into
Open
[Improvement] Add agent tool calling and task execution workflow#88affanraza84 wants to merge 1 commit into
affanraza84 wants to merge 1 commit into
Conversation
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.
Pull Request: Add Agent Tool Calling and Task Execution Workflow
Problem and Scope
AI agents increasingly execute real-world tasks through tools such as APIs, databases, internal services, and external integrations. These workflows introduce business and engineering risks that are different from simple LLM content generation, including unauthorized tool access, invalid arguments, unsafe side effects, duplicate execution, concurrency conflicts, partial failures, and recovery requirements.
The repository currently provides workflow packs for areas such as LLM content generation, RAG, and scheduled execution, but does not provide a dedicated workflow pack covering the lifecycle of an agent that dynamically selects and executes tools to complete a task.
This contribution adds a focused, reusable workflow pack for Agent Tool Calling and Task Execution, with a clear boundary around planning, authorization, tool execution, result validation, failure handling, and recovery.
What Changed
Added a new workflow pack:
prebuilt-workflow-paths/agent-tool-calling-and-task-execution/The pack contains all required workflow files:
README.mdPRODUCT_AND_BUSINESS_GUIDE.mdENGINEERING_GUIDE.mdCORE_20_SCENARIOS.mdTESTING_GUIDE.mdPATHS_AND_EDGE_CASES.mdPERMISSION_AND_ABUSE_GUIDE.mdRETRY_AND_RECOVERY_GUIDE.mdWRITE_PRODUCT_SPEC_SKILL.mdREVIEW_BUSINESS_RISK_SKILL.mdUNDERSTAND_CODE_SKILL.mdIMPLEMENT_WORKFLOW_SKILL.mdTEST_WORKFLOW_SKILL.mdThe workflow includes exactly 20 core scenarios covering successful execution and important failure, security, concurrency, retry, and recovery paths.
Updated:
prebuilt-workflow-paths/README.mdto include the new workflow in the workflow collection index.
Workflow Coverage
The workflow covers:
The workflow explicitly separates this lifecycle from adjacent workflows such as generic LLM generation, RAG retrieval, and scheduled job execution.
Verification
The contribution was validated locally using the repository's quality checks:
python3 -m black --config .github/quality/pyproject.toml --check .github/quality/testspython3 -m flake8 --config .github/quality/.flake8 .github/quality/testspython3 -m pytest -c .github/quality/pyproject.toml .github/quality/testsRemaining Limitations
This contribution is a reusable workflow specification and guidance pack. It does not modify UnvibeCode's core code-analysis or CLI behavior.
The workflow should still be adapted to the specific authorization model, tool contracts, data sensitivity, provider behavior, and operational requirements of the repository where it is applied.
Thank you for reviewing this contribution. I’d be happy to address any feedback or requested changes.