Agent Ui
Skill by okaris
Why use this skill?
Integrate powerful AI agents into your React/Next.js apps with Agent Ui. Features streaming, human-in-the-loop approvals, and client-side tools.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/okaris/agent-uiWhat This Skill Does
The Agent Ui skill by okaris provides a comprehensive, 'batteries-included' React component for integrating AI agents directly into your Next.js applications. Built on the inference.sh infrastructure, this skill abstracts away the complexities of managing AI agent lifecycles, tool execution, and UI state. It serves as a drop-in solution for developers looking to implement full-featured chat interfaces, agentic workflows, and SaaS copilots with minimal boilerplate. The skill natively supports real-time token streaming, human-in-the-loop approval workflows, and client-side tool execution, allowing your agent to interact with browser-based forms and DOM elements directly.
Installation
To integrate this into your project, use the OpenClaw CLI: clawhub install openclaw/skills/skills/okaris/agent-ui. Additionally, since this skill leverages the inference.sh SDK, ensure you have installed the required dependencies by running npm install @inferencesh/sdk. Finally, set up your required environment variable INFERENCE_API_KEY in your .env.local file to authenticate your requests against the inference.sh proxy.
Use Cases
- SaaS Copilots: Add interactive assistance to dashboard views, allowing users to query data or fill complex forms via natural language.
- Agentic UIs: Build interfaces where the AI acts as an autonomous agent, capable of performing browser-based tasks like field entry or element scanning.
- Human-in-the-Loop Workflows: Implement secure AI workflows that require user approval before triggering sensitive actions or modifying data.
- Rapid Prototyping: Quickly stand up a fully functional, stateful AI chat interface without writing custom Redux or Context state management.
Example Prompts
- "Fill out the contact form on this page with the user information I just provided and submit it."
- "Can you scan the current page and tell me which form fields are missing validation?"
- "Summarize the current document and provide a widget that allows me to export it as a CSV."
Tips & Limitations
- Performance: As this relies on client-side tools, heavy processing should remain on the backend where possible to keep the main browser thread performant.
- Tool Scope: Use the
createScopedToolsutility to restrict the agent's interaction to specific DOM elements, preventing unauthorized form manipulation. - Streaming: Ensure your proxy route supports streaming responses to avoid latency issues in the UI.
- Security: Always review the tools assigned to an agent to prevent unintended execution of client-side operations.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-okaris-agent-ui": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api, code-execution
Related Skills
product-changelog
Product changelog and release notes that users actually read. Covers categorization, user-facing language, visuals, and distribution. Use for: release notes, changelogs, product updates, feature announcements, versioning. Triggers: changelog, release notes, product update, version notes, what's new, feature announcement, product changelog, update log, release announcement, version release, product release, ship notes
logo-design-guide
Logo design principles and AI image generation best practices for creating logos. Covers logo types, prompting techniques, scalability rules, and iteration workflows. Use for: brand identity, startup logos, app icons, favicons, logo concepts. Triggers: logo design, create logo, brand logo, logo generation, ai logo, logo maker, icon design, brand mark, logo concept, startup logo, app icon logo
ai-content-pipeline
Build multi-step AI content creation pipelines combining image, video, audio, and text. Workflow examples: generate image -> animate -> add voiceover -> merge with music. Tools: FLUX, Veo, Kokoro TTS, OmniHuman, media merger, upscaling. Use for: YouTube videos, social media content, marketing materials, automated content. Triggers: content pipeline, ai workflow, content creation, multi-step ai, content automation, ai video workflow, generate and edit, ai content factory, automated content creation, ai production pipeline, media pipeline, content at scale
explainer-video-guide
Explainer video production guide: scripting, voiceover, visuals, and assembly. Covers script formulas, pacing rules, scene planning, and multi-tool pipelines. Use for: product demos, how-it-works videos, onboarding videos, social explainers. Triggers: explainer video, how to make explainer, product video, demo video, video production, video script, animated explainer, product demo video, tutorial video, onboarding video, walkthrough video, video pipeline
newsletter-curation
Newsletter curation with content sourcing, editorial structure, and subscriber growth strategies. Covers issue formatting, link roundups, commentary style, and sending cadence. Use for: email newsletters, link roundups, weekly digests, curated content, creator newsletters. Triggers: newsletter, email newsletter, newsletter curation, weekly digest, link roundup, curated newsletter, newsletter writing, newsletter format, subscriber growth, newsletter strategy, content curation, newsletter template