VPP Agent Definition

implementationChallenge

Prompt Content

Define a set of agents in LangGraph: 'HomeBatteryAgent', 'EVFleetAgent', and 'GridOperator'. Each agent must have a state that includes current SoC, maximum discharge rate, and owner-defined 'reserve' limit. Use Cohere Command R+ to write the logic for the GridOperator agent to parse an incoming emergency signal from the utility.

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