build-agent

Build orchestrated LLM agents with tool calling and streamed async sessions.

19|6|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/NicolaiLassen/orxhestra --skill build-agent-nicolailassen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: build-agent
Source: https://github.com/NicolaiLassen/orxhestra/tree/main/docs/skills/build-agent
Command: npx skills add https://github.com/NicolaiLassen/orxhestra --skill build-agent-nicolailassen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Building an LLM agent from scratch is slow and error-prone because you must wire models, tools, prompts, and streaming/session behavior correctly.

Core Features & Use Cases

  • Agent building with tools: Create agents that use LangChain tools (e.g., web search functions) and execute tool calls in an iterative loop.
  • Structured reasoning with ReAct: Use ReActAgent to enforce typed ReAct steps at each iteration via structured output.
  • Streaming and sessions: Run agents with Runner to stream events and manage per-session state through a session service.

Quick Start

Create an LlmAgent with your chosen LangChain chat model, register one or more tool functions, set instructions, and iterate over results using the agent’s astream or invoke method with your user input.

Frequently Asked Questions about build-agent

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build an LLM agent with tool calling and async streaming?

To build an LLM agent with tool calling, you create an LlmAgent configuration using a LangChain chat model, register tool functions, set instructions, and run it through a session service to stream events reliably across async sessions.

What is the best way to enforce structured reasoning steps in an LLM agent?

To enforce structured reasoning in an LLM agent, you use a ReActAgent configuration which enforces typed ReAct steps at each iteration via structured output, ensuring reliable and typed reasoning throughout the execution loop.

How do I manage per-session state when orchestrating LLM agents?

You manage per-session state when orchestrating LLM agents by running the configured agent through a Runner-managed session service, which handles state persistence and streams events back during the execution loop.

Can I use LangChain tools with a ReActAgent for iterative execution?

Yes, you can use LangChain tools with a ReActAgent by registering tool functions like web search during agent configuration, allowing the agent to execute tool calls in an iterative loop while enforcing typed ReAct steps.

Does async streaming with LLM agents support structured outputs?

Yes, async streaming supports structured outputs by utilizing BaseAgent-compatible astream behavior returning AsyncIterator[Event], allowing you to parameterize models, tools, and instructions while getting typed reasoning results.

What are the limitations of configuring max iterations in an LLM agent loop?

Configuring max iterations in an LLM agent loop limits the number of tool execution cycles the agent performs, requiring careful parameterization of models and instructions to ensure the agent completes its reasoning within the set boundary.