Agents tasks tools

From lza6/Armor-piercing-system-prompts · View interactive version

Agents tasks tools is an AI agent skill from the GitHub repository lza6/Armor-piercing-system-prompts. Build and debug Langroid ChatAgent, Task, and ToolMessage workflows, including routing, orchestration tools, done sequences, structured output, batch helpers, XML tools, and MockLM tests.

How to use this skill

Skill file

Agents, Tasks, and Tools

Use this sub-skill for Langroid work centered on:

Use it when the problem is about agent orchestration, tool wiring, routing, termination, typed output, or deterministic testing. If the issue is about provider endpoints, keys, or model backends, route elsewhere first.

Route elsewhere

Core pattern

  1. Pick the right ToolMessage or output type.
  2. Enable it with enable_message.
  3. Add a ChatAgent handler or tool-level handle / response method.
  4. Wrap the agent in a Task.
  5. Add routing or termination only when needed.
  6. Test the flow with MockLM before using a provider-backed model.

Read next

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.