Agentic Code Architect
Generate autonomous agent code with self-correction, planning, and execution capabilities
Content
Design and generate code for an autonomous AI agent with the following specifications: Goal: {{agent_goal}} Required capabilities: - {{capability_1}} - {{capability_2}} - {{capability_3}} Environment: {{environment}} Requirements: 1. Implement a reasoning loop that allows the agent to plan, execute, and self-correct 2. Include memory/state management for persistence across tasks 3. Add error handling and graceful degradation 4. Implement tool-use capability for {{tools_to_use}} 5. Include logging and observability Language: {{programming_language}} Provide: - Agent architecture diagram (text-based) - Core agent class/module - Tool definitions - Example usage - Tests Focus on production-ready code with proper error handling.
Related Prompts
API Integration Troubleshooter
Diagnoses API integration issues, generates fixes, and produces a structured debugging report with root cause analysis, corrected code, and prevention checklist.
Database Schema Designer
Design a production-ready database schema from a plain-language description, including tables, relationships, indexes, and migration SQL.
Parallel Coding Task Brief Generator
Break a complex software feature into parallel, independent coding tasks that multiple AI agents or developers can work on simultaneously without conflicts.
API Design Reviewer
Review and improve REST API designs with best practices