smithery.ai

libagent

libagent - Agent orchestration library for conversational AI. AgentMind class coordinates LLM completions, memory management, tool execution, and multi-turn conversations. AgentAction handles tool calls and action processing. Use for building chat agents, RAG pipelines, and AI assistants. Integrates with libmemory, librpc, and libllm

First seen Apr 12, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Declared agents github-copilot

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,505 B
  • docs SUMMARY.md 351 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

libagent Skill

When to Use

  • Building conversational AI agents with tool capabilities
  • Coordinating LLM completions with memory context
  • Processing multi-turn conversations with state
  • Implementing RAG (retrieval-augmented generation) pipelines

Key Concepts

AgentMind: Core reasoning engine that processes requests through LLM completions, manages conversation state, and coordinates tool execution.

AgentAction: Handles individual tool calls, executes actions, and returns results to the conversation flow.

Usage Patterns

Pattern 1: Basic agent request

import { AgentMind } from "@copilot-ld/libagent";

const mind = new AgentMind(memoryClient, llmClient, toolClient);
const response = await mind.process({
  resourceId: conversationId,
  content: "What is the weather?",
});

Pattern 2: Streaming responses

for await (const chunk of mind.stream(request)) {
  process.stdout.write(chunk.content);
}

Integration

Works with libmemory for context windows, librpc for gRPC clients, and libllm for completions. Used by the Agent service.