Skip to content
Back to skills

Agents Tasks Tools

ASecurity

"Build and debug Langroid ChatAgent, Task, and ToolMessage

  • 247 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 8, 2026
ai-agentssqltestingapibackend

Works with

  • api
  • mcp

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill agents-tasks-tools --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agents Tasks Tools?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agents Tasks Tools
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-agents-tasks-tools/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-agents-tasks-tools)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: agents-tasks-tools
description: "Build and debug Langroid ChatAgent, Task, and ToolMessage
  workflows, including routing, orchestration tools, done sequences, structured
  output, batch helpers, XML tools, and MockLM tests."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# Agents, Tasks, and Tools

Use this sub-skill for Langroid work centered on:

- `ChatAgentConfig` and `ChatAgent`
- `TaskConfig` and `Task`
- `ToolMessage` and `XMLToolMessage`
- orchestration tools such as `DoneTool`, `ResultTool`, and `FinalResultTool`
- `TaskTool` and `RecipientTool`
- `done_sequences`, `handle_llm_no_tool`, structured output, batch helpers, and `MockLM`

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

- Provider endpoints, keys, or model wiring → [llm-provider-config](../llm-provider-config/SKILL.md)
- RAG, document chat, or retrieval flows → [retrieval-doc-chat](../retrieval-doc-chat/SKILL.md)
- SQL, table, or graph workflows → [data-sql-graph-agents](../data-sql-graph-agents/SKILL.md)
- MCP or Chainlit integrations → [integrations-mcp-chainlit](../integrations-mcp-chainlit/SKILL.md)

## 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

- [API reference](references/api-reference.md)
- [Workflows](references/workflows.md)
- [Testing patterns](references/testing-patterns.md)
- [Troubleshooting](references/troubleshooting.md)

Files in this skill

  • SKILL.md1.8 KB
  • references/api-reference.md8.3 KB
  • references/testing-patterns.md4.9 KB
  • references/troubleshooting.md4.1 KB
  • references/workflows.md7 KB
  • scripts/core_agent_smoke.py7.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.