Langroid Agent Implementation Prompt

implementationChallenge

Prompt Content

Implement the core Langroid agent logic that takes a user command (e.g., 'Make me a double espresso.'), uses GPT-5 for extended planning, and invokes the defined Model Context Protocol tools. The agent should parse environmental observations and update its internal state accordingly. Include basic error handling for tool failures.

Try this prompt

Open the workspace to execute this prompt with free credits, or use your own API keys for unlimited usage.

Usage Tips

Copy the prompt and paste it into your preferred AI tool (Claude, ChatGPT, Gemini)

Customize placeholder values with your specific requirements and context

For best results, provide clear examples and test different variations