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
content-repurposing
Content atomization — turn one piece of content into many formats. Covers blog-to-thread, blog-to-carousel, podcast-to-blog, video-to-quotes, and more. Use for: content marketing, social media, multi-platform distribution, content strategy. Triggers: content repurposing, repurpose content, content atomization, content recycling, one to many content, multi platform content, cross post, adapt content, reformat content, blog to thread, blog to video, podcast to blog, content multiplication
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
product-photography
AI product photography with studio lighting, lifestyle shots, and packshot conventions. Covers angles, backgrounds, shadow types, hero shots, and e-commerce image requirements. Use for: product photos, e-commerce images, Amazon listings, packshots, lifestyle photography. Triggers: product photography, product photo, packshot, e-commerce photography, product shot, product image, studio photography, lifestyle product, amazon product photo, product listing image, hero shot, product mockup, commercial photography
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