شعار Iblai Vibe Agent Create

Iblai Vibe Agent Create

مؤسسة
iblai
iblai-vibe-agent-create

Create an ibl.ai agent from inside your app — the SDK's Create Agent form (CreateAgentForm / CreateAgentModal, with Settings and Prompts tabs, showing only the fields each person may set through the field-permissions endpoint), the server route (org authority, admin-verified) that calls the platform's mentor-with-settings endpoint, and the pick-or-create setup screen vibe-starter uses to choose the app's default agent; then hand off to /iblai-vibe-agent-setting and the agent tabs. Use when the user says create an agent, new agent, let admins or members create agents, agent from a template, which fields a user may set when creating an agent, or the app has no agent yet. For editing an existing agent see /iblai-vibe-agent; for chatting see /iblai-vibe-agent-chat.

نظرة عامة

الناشرiblai
المستودعvibe
اسم المهارةiblai-vibe-agent-create
النجوم
229
التفريعات
8
الملفات المرفقة
8
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 8

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها iblai على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Iblai Vibe Agent Create في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/iblai/vibe/tree/main/skills/agents/iblai-vibe-agent-create
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/iblai/vibe.git /tmp/vibe
mkdir -p .claude/skills
cp -r /tmp/vibe/skills/agents/iblai-vibe-agent-create .claude/skills/iblai-vibe-agent-create
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Iblai Vibe Agent Create في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Iblai Vibe Agent Create تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Iblai Vibe Agent Create بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

/iblai-vibe-agent-create

First time here? If iblai.env has no ARCHITECTURE=, run /iblai-vibe-start first (four questions; two minutes) — it decides single-org / multi-org / headless and who signs in, and every skill reads the answer.

An agent is created with one platform call and returns a unique_id — the UUID every other agent skill needs. Two ways to put creation in an app:

  • The SDK's Create Agent form (CreateAgentForm, or CreateAgentModal around it) — Settings and Prompts tabs, run as the signed-in person, and showing only the fields that person may set. For anyone who creates agents from the app.
  • A server route plus a small form — vibe-starter's /setup, which picks or creates the app's default agent with the organization's authority. Admin-only.

Create Agent — Settings

Create Agent — Prompts

/setup — pick or create the app's agent

Common setup (brand, conventions, env files, verification): see docs/skill-setup.md.

Prerequisites

  • Auth in place (/iblai-vibe-auth).
  • @iblai/iblai-js@^2.67.3 for the field permissions below; earlier releases show every field to everyone.
  • The person creating must be allowed to: an org admin, or a member holding MENTOR_CREATORS (/iblai-vibe-rbac; the org toggle rbac/student-agent-creation/status/ decides whether plain members may).
  • For the server route only: IBLAI_API_KEY in .env.local (server-only) and lib/iblai/platform.ts from /iblai-vibe-api (requireAdmin, platformFetch).

Step 1: Mount the SDK's Create Agent form

tsx
// app/(app)/agents/new/page.tsx
"use client";

import { useState } from "react";
import { useRouter } from "next/navigation";
import { toast } from "sonner";
import { CreateAgentForm } from "@iblai/iblai-js/web-containers";
import { useUsername } from "@iblai/iblai-js/web-utils";
import { resolveAppTenant } from "@/lib/iblai/tenant";

export default function NewAgentPage() {
  const router = useRouter();
  const [tenantKey] = useState(resolveAppTenant);
  const username = useUsername();
  if (!username) return null;

  return (
    <div className="mx-auto w-full flex-1 overflow-auto px-4 py-8 md:w-[75vw] md:px-0">
      <div className="rounded-lg border border-[var(--border-color)] bg-white p-6">
        <CreateAgentForm
          org={tenantKey}
          username={username}
          onCreated={(agent) => {
            if (agent.unique_id) router.push(`/?agent=${agent.unique_id}`);
          }}
          onError={() => toast.error("Couldn't create the agent.")}
        />
      </div>
    </div>
  );
}

CreateAgentModal takes the same props plus isOpen and onClose, for a "Create Agent" button. The form owns its state, the categories query and the create call (useCreateMentorMutation, as the signed-in person); toasts and navigation are yours, through the callbacks.

PropTypeRequiredDescription
orgstringYesOrganization key the agent is created in
usernamestringYesThe person creating it
onCreated(agent: CreatedAgent) => voidNoWith the new agent (unique_id)
onError(error: unknown) => voidNoWhen the create call fails
onBeforeCreate() => boolean | Promise<boolean>NoGate before the request (a paywall, a trial check); false stops it
initialValuesPartial<CreateAgentFormValues>NoPrefill any field
showBaseModelbooleanNoShow the Base select (template: Default, OpenAI, Gemini); off by default
visibilityOptions / modelOptionsCreateAgentOption[]NoReplace the select options
defaultPromptsPartial<AgentPromptDefaults>NoThe prompts the form starts with
labelsDeepPartial<CreateAgentLabels>NoAny UI string

What it renders. Settings: Name, Description, Category, Agent Visibility (Administrators / Users / Anyone; Users by default) and an image upload, then Next. Prompts: System, Proactive and Guided prompts, each with Edit, then Save.

Fields each person may set

Before showing the form it asks the platform which fields this person may write: GET ${dmUrl}/v1/agents/settings/field-permissions with the header iblai-org: <org>, answered as { "<field>": { "write": true|false } }. The organization's RBAC policies decide the answer (/iblai-vibe-rbac).

  • A field the person may not write is hidden, no longer required, and left out of the request; an optional field left out keeps its default.
  • When none of the three prompts may be written, the Prompts tab goes away and the Settings tab's Next becomes Save.
  • Two fields stop creation outright when barred, so a policy meant to let someone create agents must leave both writable:
    • the name (new_mentor_name, display_name): always asked for and always sent, so the call is refused (403);
    • Base (template_name): required by the create call, so leaving it out fails it (400, "This field is required."). This holds even when the form hides Base (showBaseModel off).
  • While the answer is unknown it fails open, showing every field: an older platform (404), a person who may not create agents at all (403), a network failure.

The create call refuses the whole request (403) when it carries a field the person may not write, so a form of your own must leave those out too:

Form fieldSent as
Namenew_mentor_name (required), display_name
Descriptiondescription
Categorycategories (and metadata.category, permitted as metadata)
Imageuploaded_profile_image
Agent Visibilitymentor_visibility
Basetemplate_name (required)
System / Proactive / Guided promptsystem_prompt, proactive_prompt, guided_prompt_instructions
Moderation prompt (not shown)moderation_system_prompt

For a custom form, the SDK's own pieces do that work:

tsx
// lib/iblai/create-agent-body.ts
"use client";

import { useCreateAgentFieldPermissions } from "@iblai/iblai-js/web-containers";
import { buildCreateAgentPayload, type CreateAgentFieldValues } from "@iblai/iblai-js/web-utils";

export function useCreateAgentBody(org: string) {
  // visibility.description, .category, .systemPrompt, … and .anyPrompt say what to show.
  const { permissions, visibility, isLoading } = useCreateAgentFieldPermissions({ org });
  const toBody = (values: CreateAgentFieldValues) => buildCreateAgentPayload(values, permissions);
  return { visibility, isLoading, toBody };
}

canWriteAgentField(permissions, field), getCreateAgentFieldVisibility and CREATE_AGENT_FIELD_MAP come from the same web-utils entry; the raw query is useGetAgentSettingsFieldPermissionsQuery({ org }) from @iblai/iblai-js/data-layer, already in mentorReducer / mentorMiddleware.

Step 2: The server route and /setup (admin-only)

Copy the assets:

AssetDestinationDoes
admin-agents-route.tsapp/api/admin/agents/route.tsGET lists the org's agents; POST creates one
admin-client.tslib/iblai/admin-client.tsbrowser adminFetch() that forwards the session token
setup-screen.tsxcomponents/setup/setup-screen.tsxname the app → pick or create the agent → save to org metadata
setup-page.tsxapp/setup/page.tsxadmin-only page, outside the navbar

The setup screen saves through useOrgSettings (/iblai-vibe-org-metadata) and uses the SDK's OnboardingShell / StepHeader. Needs shadcn input, label.

The call

ts
// server, after requireAdmin(req)
const agent = await platformFetch<{ unique_id: string; name: string }>(
  `/dm/api/ai-mentor/orgs/${org}/users/${caller.username}/mentor-with-settings/`,
  {
    method: "POST",
    body: {
      template_name: "ai-mentor",     // the default template on most orgs
      new_mentor_name: name,
      display_name: name,
      description,
      system_prompt,                  // optional; refine later in the Prompts tab
      // llm_provider: "openai",      // optional; set later in the LLM tab
    },
  },
);

Listing existing agents (for a picker): GET /dm/api/search/orgs/{org}/users/{username}/mentors/.

From the browser:

ts
import { adminFetch } from "@/lib/iblai/admin-client";
const { unique_id } = await adminFetch<{ unique_id: string }>("/api/admin/agents", {
  method: "POST",
  json: { name: "Support Assistant", description: "Answers order questions." },
});

The route runs with the organization's Platform API Token, not as the person on the page, so keep it admin-only; members create through the SDK form, which honours their own field permissions. To copy an existing agent instead, use fork in /iblai-vibe-agent-setting.

Step 3: After creation

  1. Store the id where the app reads it: NEXT_PUBLIC_DEFAULT_AGENT_ID (env, wins) or the org setting defaultAgentId (what /setup writes).
  2. Configure it: /iblai-vibe-agent-setting (identity, visibility), then Prompts, LLM, Datasets, Tools, Memory — all via /iblai-vibe-agent.
  3. Chat with it: the home page in vibe-starter, or /iblai-vibe-agent-chat.

Verify

Run /iblai-vibe-ops-test before telling the user the work is ready, and give every page, control and state this skill added its own checkpoint — one Playwright test titled <ID> · … in e2e/journeys/, listed in e2e/coverage.json; pnpm e2e:coverage must pass. Then:

  1. pnpm typecheck && pnpm build.
  2. As an admin, open the Create Agent page, fill both tabs, Save, and land on / chatting with the new agent; it appears on os.ibl.ai → Explore → Custom.
  3. As a member whose policies deny some optional fields (anything but the name and Base), the same page hides them (and the Prompts tab when no prompt is allowed), and Save succeeds.
  4. As an admin, open /setup, create an agent there too; as a member, POST /api/admin/agents answers 403.

Platform data

CallPurpose
GET /dm/v1/agents/settings/field-permissions (header iblai-org)which create fields this person may write
POST …/orgs/{org}/users/{username}/mentor-with-settings/create from template → unique_id
GET …/search/orgs/{org}/users/{username}/mentors/list agents
GET …/orgs/{org}/users/{username}/mentor/categories/categories to assign afterwards
POST …/users/{username}/mentors/{mentor}/fork/copy an agent

REST references: agent-create, agent-setting.

Related skills

  • /iblai-vibe-agent — the tabs to configure it
  • /iblai-vibe-agent-setting — identity, visibility, fork, delete
  • /iblai-vibe-agent-search — the browser members pick from
  • /iblai-vibe-api — the server-route pattern

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Iblai Vibe Agent Create؟

Create an ibl.ai agent from inside your app — the SDK's Create Agent form (CreateAgentForm / CreateAgentModal, with Settings and Prompts tabs, showing only the fields each person may set through the field-permissions endpoint), the server route (org authority, admin-verified) that calls the platform's mentor-with-settings endpoint, and the pick-or-create setup screen vibe-starter uses to choose the app's default agent; then hand off to /iblai-vibe-agent-setting and the agent tabs. Use when the user says create an agent, new agent, let admins or members create agents, agent from a template,...

لماذا تستخدم Iblai Vibe Agent Create على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Iblai Vibe Agent Create عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Iblai Vibe Agent Create في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/iblai/vibe/tree/main/skills/agents/iblai-vibe-agent-create. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Iblai Vibe Agent Create؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Iblai Vibe Agent Create؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Iblai Vibe Agent Create معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Iblai Vibe Agent Create مجانية؟

نعم. نشرها iblai على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇