.iblai Agent File Format
Mirrored from
iblai/standardยทREADME.md. This page is generated โ edit it in the repository, not here.
A Markdown-based portable agent definition format. One file captures everything needed to define, share, and load an AI agent โ across tools, teams, and platforms.
standard v1.0.0 MIT License .iblai format
โ Let's create your agent ๐
โ
โโโโโโโโโโโโโโโโโโโโโโโโ 7% (1/15)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ค Agent Info โ
โ Name, description, and metadata โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ Agent name
โ โ Campus Advisor
โ
โ โ Description
โ โ Academic advisor for undergrad students
โ
โ โ Version
โ โ 1.0.0
โ
โ Setting up identity...
โ โฆ Configure Soul section?
โ โ Yes
โ
โโโโโโโโโโโโโโโโโโโโโโโโ 13% (2/15)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ง Soul โ
โ Voice, temperament, values, ethics โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ Voice โ describe tone, register, language style
โ โ Warm, encouraging, and approachable.
โ
โ โฆ Add values?
โ โ Yes
โ
โ โ Enter a core value
โ โ Student success comes first
โ โ โบ Student success comes first
โ
โ Shaping personality...
...
โโโโโโโโโโโโโโโโโโโโโโโโ 60% (9/15)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โก Skills โ
โ Discrete capabilities your agent has โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โก Skill #1
โ โ Skill name
โ โ Degree Audit
โ โ Skill "Degree Audit" added
โ
โ Wiring up skills...
...
โโโโโโโโโโโโโโโโโโโโโโโโ 100% (15/15)
๐ All sections complete!
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ Output โ
โ Save your new .iblai file โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ File path for the .iblai file
โ โ campus-advisor.iblai
โ
โ Writing file...
โ โจ Agent file written to ./campus-advisor.iblai
File Structure
standard/
โโโ README.md
โโโ LICENSE
โโโ .gitignore
โโโ cli/ # Interactive agent builder wizard
โ โโโ package.json
โ โโโ tsconfig.json
โ โโโ src/
โ โโโ index.ts # CLI entry, routing, help screen
โ โโโ agent.ts # `iblai agent` command
โ โโโ theme.ts # ibl.ai color palette & animations
โ โโโ logo.ts # ASCII art gradient logo
โ โโโ wizard.ts # Wizard step orchestration
โ โโโ generator.ts # Data โ .iblai Markdown
โโโ library/
โโโ university-advisor.iblai
โโโ customer-service.iblai
โโโ it-helpdesk.iblai
โโโ .secrets # Placeholder secrets template
Quick Start
- Pick an example from
library/or start from scratch. - Copy
.secretsalongside it and fill in real values. - Edit each section to match your agent.
- Load the file into your platform of choice.
Sections
An .iblai file is standard Markdown organized by headings. Every section is optional โ include only what your agent needs.
Agent Info
Core metadata for the agent. Fields: name, description, picture (URL or file path to an avatar), version, and author.
Soul
Defines who the agent is at its core. Contains subsections for Voice (tone, register, language style), Temperament (how the agent handles ambiguity, pressure, and unknowns), Values (ranked principles that guide decision-making), and Ethical Constraints (hard boundaries the agent will never cross).
Identity
Controls how the agent presents itself visually and socially. Fields: emoji (a single emoji used as the agent's icon), theme (light or dark), and persona (a one-line description of the agent's character).
Instructions
The operating contract that governs how the agent works. Contains subsections for Priorities (an ordered list of what matters most), Boundaries (what the agent must not do), Workflow (step-by-step process the agent follows for each request), and Quality Bar (minimum standards every response must meet).
User Preferences
Captures what the user expects from every interaction. Fields: tone (e.g. professional, casual, academic), output_format (e.g. markdown, plain text, JSON), language (ISO language code), and constraints (recurring rules like word limits or jargon restrictions).
Memory
Long-lived persistent facts the agent retains across sessions. Use this section to store durable context like project stack details, deployment targets, team conventions, and past decisions. The agent should treat these as ground truth until explicitly updated.
Heartbeat
Periodic maintenance routines the agent runs on a schedule. Fields: cadence (e.g. daily, weekly, hourly) and tasks (a list of recurring actions like reviewing open issues, checking for dependency updates, or running health checks).
Skills
Discrete, reusable capabilities the agent can perform. Each skill is defined under its own subheading with fields: id (unique identifier), description (what the skill does), tags (categories for discovery), and examples (sample user prompts that trigger the skill).
Tasks
Scheduled jobs the agent runs automatically. Each task is defined under its own subheading with fields: frequency (either cron notation like 0 9 * * 1 or a natural-language schedule like "every Monday at 9am") and prompt (the exact instruction sent to the agent when the task fires, written as a user message).
Tools
Toggle-able built-in tools. Set each to true or false. Available tools: web_search, code_interpreter, file_search, computer_use, shell, image_generation, url_context, maps, deep_research, function_calling.
MCP Servers
Model Context Protocol server connections. Each server is defined under its own subheading with fields: name, url, and transport (e.g. streamable-http, stdio). No secrets should appear in this section.
Secrets
A reference to the companion secrets file. Contains a single field: secrets_file (path to a .env file). No actual secrets should ever appear in the .iblai file itself.
Knowledge & RAG
References to datasets the agent uses for retrieval-augmented generation. List URLs, local file paths, or folder paths under Sources. The platform will index these and make them available to the agent at query time.
Guardrails & Safety
Safety controls applied to every interaction. Contains subsections for Input Filters (preprocessing rules like PII stripping or length limits), Output Filters (postprocessing rules like redaction or disclaimer injection), Content Policies (categories of content the agent must never produce), Blocked Topics (specific subjects the agent must refuse), and Prompt Safety Layers (system-level instructions reinforcing safety behavior).
Visibility & Permissions
Access control for the agent definition. Fields: view (anyone or restricted), edit (anyone or restricted), editors (list of emails or groups allowed to edit), viewers (list of emails or groups allowed to view).
CLI โ Agent Builder
Build .iblai files interactively from your terminal with an animated, step-by-step wizard.
Quick start
cd cli
npm install
npm run build
npm link
Then from anywhere:
iblai agent # Launch the interactive agent builder
iblai help # Show available commands
Once the package is published to npm, you'll be able to run
npx iblai agentdirectly.
What iblai agent does
Running iblai agent starts a guided wizard that walks you through all 15 sections of the .iblai format:
- Agent Info โ name, description, picture, version, author
- Soul โ voice, temperament, values, ethical constraints
- Identity โ emoji, theme, persona
- Instructions โ priorities, boundaries, workflow, quality bar
- User Preferences โ tone, output format, language, constraints
- Memory โ persistent facts
- Heartbeat โ cadence and recurring tasks
- Skills โ add multiple skills with IDs, tags, and examples
- Tasks โ scheduled jobs with cron or natural-language frequency
- Tools โ toggle built-in tools on/off
- MCP Servers โ connect external servers
- Secrets โ reference a secrets file
- Knowledge & RAG โ add data source URLs/paths
- Guardrails & Safety โ input/output filters, content policies, blocked topics
- Visibility & Permissions โ view/edit access control
Every section can be skipped. Loop-based sections (skills, tasks, MCP servers, etc.) let you add as many entries as you need. A progress bar tracks where you are. At the end, the wizard writes a ready-to-use .iblai file that matches the format in library/.
Design Principles
- Human-readable โ Plain Markdown; no custom parser required to understand the file.
- Portable โ One file captures the full agent definition.
- Secure โ Secrets live in a separate
.envfile that is gitignored by default. - Extensible โ Add custom sections as needed; unknown headings are ignored by conforming parsers.
Inspiration
The .iblai format draws from:
- OpenClaw โ Agent identity, soul, memory, skills, and heartbeat concepts.
- Model Context Protocol (MCP) โ Server connectivity for tools and context.
- Gemini + OpenAI SDKs โ Union of built-in tool capabilities.
License
MIT โ see LICENSE for details.