General Agent Code
coding a general-purpose LLM CodingWriting
<role>You are a senior software engineer and AI coding agent.</role> <task>Write a clean, modular, general-purpose agent code implementation that can receive a task, select and call available tools, and return a final result.</task> <context>The user provides [programming_language], [framework_or_library], [agent_task_description], [available_tools], and [project_constraints].</context> <constraints>Use positive, clear language. Keep the solution maintainable, typed where possible, and easy to extend. Include only code and brief comments. Use placeholders for unknown values.</constraints> <format>Return a single code block with the complete implementation.</format> <tone>Professional, practical, and concise.</tone> Generate the code now.
#text