# LLM agent

> LLM agent is an open-source agent skill for ai models and llm tooling. Build a tool-calling LLM agent over your own functions using Runware-hosted models. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/Runware/runware-skills/tree/main/skills/llm-agent
- **Repository:** https://github.com/runware/runware-skills
- **GitHub stars:** 8
- **License:** MIT
- **Skill name:** llm-agent
- **Collection:** https://github.com/Runware/runware-skills
- **Categories:** [AI models and LLM tooling](https://ai-powered.com/categories/ai-and-llm), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill walks an agent through building a chat or reasoning assistant that can call functions you define. It uses the OpenAI-compatible chat-completions endpoint Runware exposes, so existing OpenAI client code can be pointed at Runware with a different base URL and key.

The core is a request loop: the model receives tool schemas, returns tool calls when it needs data, the agent runs those functions and appends results, and the cycle repeats until the model answers without further calls. The skill covers handling parallel tool calls, returning tool errors as results, echoing assistant messages back into history, and capping iterations so the loop always ends.

It expects an OpenAI-compatible client, a Runware API key, and the ability to run your own code for each tool. Model choice is left to the live model listings, and the skill advises confirming each model's schema before use. Reference recipes for basic chat, a single tool-call loop, and parallel calls are included in the skill folder.

## When your agent uses it

> Build a chat, reasoning, or tool-calling agent on top of Runware-hosted LLMs. Use when the user says "make an agent that can call my functions", "let the model use these tools", "wire up an LLM over my API", "chat assistant with function calling", "give the model access to my database/search", or wants multi-step reasoning that runs the user's own code. Covers the OpenAI-compatible chat-completions + tool-calling loop, not the imageInference task shape.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/Runware/runware-skills/tree/HEAD/skills/llm-agent)
- [License: MIT](https://github.com/Runware/runware-skills/tree/HEAD/skills/llm-agent)

## Features

- **Tool-calling loop:** Step-by-step protocol for sending tools, running returned calls, and repeating until the model stops.
- **OpenAI-compatible setup:** Shows how to point an OpenAI client at Runware's chat-completions endpoint with an AIR model ID.
- **Tool schema design:** Guidance on naming functions, constraining arguments with enum and required, and keeping results compact.
- **Parallel call handling:** Explains how to run several independent tool calls and match each result by its call ID.
- **Error and loop bounds:** Returns tool failures as results and caps iterations so the agent never runs unbounded.
- **Tool choice control:** Covers auto, none, required and named-function tool_choice settings.

## Good for

- Build a chat assistant that looks up orders in my database
- Let an LLM call my search API and summarize the results
- Wire a reasoning model to my internal functions with function calling
- Create an agent that runs several lookups in parallel before answering
- Set up a bounded multi-step agent that stops after a fixed number of tool rounds

## Install

### Claude Code

This skill ships in the `skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add Runware/runware-skills
/plugin install skills@runware
```

Or copy only this skill to `~/.claude/skills/llm-agent`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Runware/runware-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/llm-agent &&
cp -R "$tmp/skills/llm-agent" ~/.claude/skills/llm-agent &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/llm-agent` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/llm-agent` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Runware/runware-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/llm-agent &&
cp -R "$tmp/skills/llm-agent" ~/.agents/skills/llm-agent &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/llm-agent` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/llm-agent` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Runware/runware-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/llm-agent &&
cp -R "$tmp/skills/llm-agent" ~/.cursor/skills/llm-agent &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/llm-agent` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/Runware/runware-skills.git --path skills/llm-agent
```

Or copy the folder to `~/.gemini/skills/llm-agent` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/llm-agent`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Runware/runware-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/llm-agent &&
cp -R "$tmp/skills/llm-agent" ~/.copilot/skills/llm-agent &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/llm-agent` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/Runware/runware-skills.git
```

Then copy `runware-skills/skills/llm-agent` into your agent's skills folder as `llm-agent`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does LLM agent work with image generation?

No. It covers the OpenAI-compatible chat-completions and tool-calling format, not the imageInference task shape used by the image skills.

### What do I need before using LLM agent?

A Runware API key, an OpenAI-compatible client, and your own functions to expose as tools. The model only sees the schemas you provide and the JSON your code returns.

### Which models does LLM agent recommend?

It lists several Runware-hosted text models and advises confirming each is live and inspecting its schema before calling it.

### Does LLM agent run any scripts?

No scripts are included. It is instructions plus reference examples for the request loop.

### How do I install LLM agent in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/llm-agent to use it in all your projects, or to .claude/skills/llm-agent in one project. Or install the skills plugin, which includes it: /plugin marketplace add Runware/runware-skills, then /plugin install skills@runware.

### Does LLM agent run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use LLM agent?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to LLM agent?

The closest alternatives to LLM agent are API AI augmented, Skill creator, Runware run, Duo AI agent platform and Create task.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [API AI augmented](https://ai-powered.com/skills/api-ai-augmented): API AI augmented is an open-source agent skill for ai models and llm tooling.
- [Skill creator](https://ai-powered.com/skills/skill-creator): Skill creator is a free agent skill for ai models and llm tooling.
- [Runware run](https://ai-powered.com/skills/runware-run): Runware run is an open-source agent skill for design and media.
- [Duo AI agent platform](https://ai-powered.com/skills/duo-ai-agent-platform): Duo AI agent platform is an open-source agent skill for developer tools.
- [Create task](https://ai-powered.com/skills/create-task): Create task is an open-source agent skill for ai models and llm tooling.
- [LLM evals](https://ai-powered.com/skills/llm-evals): LLM evals is an open-source agent skill for developer tools.
- [Agentic eval](https://ai-powered.com/skills/agentic-eval): Agentic eval is an open-source agent skill for ai models and llm tooling.
- [ML autoresearch](https://ai-powered.com/skills/ml-autoresearch): ML autoresearch is an open-source agent skill for ai models and llm tooling.

---
Source: https://ai-powered.com/skills/llm-agent
