Openwebui Claude Code — Development skill for Claude Code
Open WebUI Pipe: run Claude Code's agent loop inside chats via the Claude Agent SDK.
How to install Openwebui Claude Code
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open tfriedel/openwebui-claude-code and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Openwebui Claude Code does
Open WebUI Pipe: run Claude Code's agent loop inside chats via the Claude Agent SDK.
Alternatives in Development
- Lazycodex — The one and only agent harness for complex codebases 3.3k ★
- Open Agent SDK TypeScript — Agent-SDK without CLI dependencies, as an alternative to claude-agent-sdk, completely open source 2.6k ★
- Agent SDK — An agent is just a for-loop 685 ★
README
OpenWebUI Claude Code Pipe
Run [Claude Code](https://docs.claude.com/en/docs/claude-code/overview)'s agent loop from inside [Open WebUI](https://github.com/open-webui/open-webui) chats, via the [Claude Agent SDK](https://github.com/anthropics/claude-agent-sdk-python).
This is an Open WebUI **Pipe** that exposes Claude Code as a selectable model. Each chat gets its own isolated workspace directory; agent turns within the same chat resume the same Claude Code session, so context (files, prior tool calls) carries forward.
Features
- Full Claude Code agent loop — Read, Write, Edit, Bash, Glob, Grep, WebSearch, WebFetch (configurable allowlist)
- Per-chat workspaces — each
chat_idgets a sandboxed working directory that persists across turns - Dual auth — bring your own Anthropic API key (pay-per-token) or a Claude Pro/Max OAuth token (bills against your subscription)
- Streaming UI — tool calls render inline with previews; generated images/PDFs/CSVs surface as artifacts in the chat
- Configurable valves — model, permission mode, tool allowlist, max turns, workspace root, setting sources (
CLAUDE.md)
Requirements
- Open WebUI (any recent version with the Pipes/Functions framework)
- Python deps (auto-installed by Open WebUI from the file header):
claude-agent-sdk>=0.1.60anthropic>=0.40.0
- The
claudeCLI must be available on the host running Open WebUI's Python backend (the SDK shells out to it). Install vianpm install -g @anthropic-ai/claude-code.
Installation
- In Open WebUI, go to Workspace → Functions → + (or Admin Panel → Functions).
- Paste the contents of `claude_agent_pipe.py` into the editor.
- Save and enable the function.
- Open the function's Valves and configure auth (one of):
ANTHROPIC_API_KEY— standard pay-per-token billingCLAUDE_CODE_OAUTH_TOKEN— generate on a machine with a browser viaclaude setup-token; bills against your P
Related Skills
Open Agent SDK Python
Open-source Agent SDK for Python. Runs the full agent loop in-process — no CLI required.
Mythos Agent Pipe
Finish-First Autonomous Agent Loop for Claude Opus 4.7 – 2026 Edition
Cc Open Models Routing
Creates a local proxy to route open models, such as GLM-5.1 and MiniMax-2.7, as Claude Code's stock models, so
Claude OAuth
Run Google, xAI and OpenAI models inside Claude Code over your own OAuth sessions. The native claude path is n
Spaces
Agent-driven SDLC orchestrator: specify → plan → tasks → implement → verify, backed by AIDLC workflows + the P
Monitor Log Agent
An example of a read-only Claude Code agent: a Python host prepares context, then Claude Agent SDK runs the ag
Related Agents
Act 1 Setup
Read-only narrative steward for Act I (slides 1-5) of the Workflow SDK GA deck. Covers the cold open, happy-pa
Vercel AI SDK Expert
Use for Vercel AI SDK v5 implementation work: chat interfaces, tool calling, streaming, agentic loop control,
Privacy Policy
Last updated: 2026-02-28 nWave is an open-source AI workflow framework that runs inside Claude Code and stores