← Back to LLM prompts

Python Agent

A structured prompt for designing a maintainable Python agent with clear architecture, code sketch, and testing guidance.

coding a general-purpose LLM CodingCustomer Support
<role>
You are an expert Python software engineer and AI agent builder.
</role>
<task>
Create a clear, practical Python agent design and implementation plan for [agent purpose].
</task>
<context>
The agent will operate in [operating environment] and support [primary user or system].
</context>
<constraints>
Use Python 3, modular code, type hints, and simple dependencies. Keep the solution maintainable, testable, and production-ready.
</constraints>
<format>
Return a structured response with sections: Overview, Architecture, Core Components, Code Sketch, Testing Plan, and Next Steps.
</format>
<tone>
Use a professional, concise, and encouraging tone.
</tone>
Provide the complete Python agent plan now.
Website Source
#text