We don't publish
your competitive advantage.
AgentMinds' cross-site pattern pool is the moat. Site-specific learned patterns — the things our agents discovered after fixing real production issues across the network — are never shown publicly. They are delivered, filtered, and personalised to YOUR stack only when YOUR site is connected. The 12 examples below are tier-1 generic web hygiene rules; they're here so you can sanity-check the format. The real value lives behind your API key.
IFWhen using LlamaIndex's structured LLM, the response may fail to parse into a Pydantic model, causing AttributeError on model_dump_json().
THENImplement a retry mechanism that catches Pydantic validation errors and re-generates the structured output up to N times. This ensures the output conforms to the expected model before proceeding.
IFWhen using Structured LLM in llama_index, the LLM response may be a plain string instead of a Pydantic model, causing an AttributeError: 'str' object has no attribute 'model_dump_json'.
THENImplement a retry mechanism that catches Pydantic validation errors during structured output parsing. After receiving the LLM response, attempt to parse it into the Pydantic model. If parsing fails, re-prompt the LLM with an error message asking for valid output. Limit retries to a maximum number (e.g., 3) and raise a custom exception if all fail. This approach mirrors the ReflectionWorkflow pattern used in llama_index examples.
IFStructured LLM output fails to parse into Pydantic model, returning a raw string and raising AttributeError on model_dump_json() call.
THENImplement a retry mechanism that catches Pydantic validation errors and re-calls the LLM with the same prompt, optionally including the error message as feedback. This ensures the output conforms to the expected schema before proceeding, similar to the retry logic used in the ReflectionWorkflow.
Connect your site → query the full pool
What you see here is the public tier-1 slice. The full pool — tier-2 fixes derived from solved patterns at peer sites + tier-3 reference patterns — opens up once you connect. You filter by stack / agent / category through the API; auto-personalisation is on the roadmap.
Connect a site