Skip to content
Skills Library
AI & agents · Building & coding

aixplain-builder

/aixplain-builder

Build, run, and deploy anything on the aiXplain platform with the Python SDK and REST/JS/OpenAI-compatible APIs — AI agents and multi-agent teams, direct model inference (LLMs, speech-to-text/Whisper, translation, vision, embeddings), knowledge bases and RAG, tools and integrations (Slack, Gmail, databases, MCP, custom Python functions), runtime governance/inspectors, memory, and serverless deployment. Use this whenever the user mentions aiXplain (aixplain/aiXplain), the `aixplain` SDK, `from aixplain import Aixplain`, `aix.Agent`/`aix.Model`/`aix.Tool`, an aiXplain API key, Studio, the market

Repository
aixplain ↗
Licence
Apache-2.0
Last repository change
09.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
9
Scripts
0
HTML comments
0
URLs in SKILL.md
9
Deprecation

No signals detected. Repository changed on 09.10.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Build, run, and deploy anything on the aiXplain platform with the Python SDK and REST/JS/OpenAI-compatible APIs — AI agents and multi-agent teams, direct model inference (LLMs, speech-to-text/Whisper, translation, vision, embeddings), knowledge bases and RAG, tools and integrations (Slack, Gmail, databases, MCP, custom Python functions), runtime governance/inspectors, memory, and serverless deployment. Use this whenever the user mentions aiXplain (aixplain/aiXplain), the `aixplain` SDK, `from aixplain import Aixplain`, `aix.Agent`/`aix.Model`/`aix.Tool`, an aiXplain API key, Studio, the market

Original author description

Build, run, and deploy anything on the aiXplain platform with the Python SDK and REST/JS/OpenAI-compatible APIs — AI agents and multi-agent teams, direct model inference (LLMs, speech-to-text/Whisper, translation, vision, embeddings), knowledge bases and RAG, tools and integrations (Slack, Gmail, databases, MCP, custom Python functions), runtime governance/inspectors, memory, and serverless deployment. Use this whenever the user mentions aiXplain (aixplain/aiXplain), the `aixplain` SDK, `from aixplain import Aixplain`, `aix.Agent`/`aix.Model`/`aix.Tool`, an aiXplain API key, Studio, the market

How it works

  1. Audience & self-containment
  2. Setup
  3. Pick the right tool for the job
  4. Workflow for building an agent
  5. Conventions that apply everywhere
  6. Passing local files to aiXplain
  7. Report aiXplain issues (habit)
  8. External links
Original SKILL.md headings · 108 lines, 1,258 words
SKILL.md preview
---
name: aixplain-builder
description: Build, run, and deploy anything on the aiXplain platform with the Python SDK and REST/JS/OpenAI-compatible APIs — AI agents and multi-agent teams, direct model inference (LLMs, speech-to-text/Whisper, translation, vision, embeddings), knowledge bases and RAG, tools and integrations (Slack, Gmail, databases, MCP, custom Python functions), runtime governance/inspectors, memory, and serverless deployment. Use this whenever the user mentions aiXplain (aixplain/aiXplain), the `aixplain` SDK, `from aixplain import Aixplain`, `aix.Agent`/`aix.Model`/`aix.Tool`, an aiXplain API key, Studio, the marketplace, or asks to build/run/deploy an agent, transcribe audio, run a model, set up RAG, or wire an integration on aiXplain — even when they don't name every component explicitly.
metadata: {"requires": {"env": ["AIXPLAIN_API_KEY"], "bins": ["python3", "pip"]}}
---

# aiXplain Builder

Design, run, and deploy everything the aiXplain SDK supports: agents and team agents, direct model inference, knowledge bases / RAG, tools and integrations, runtime governance, memory, and the access APIs. This skill is the single source of truth — every snippet here is verified against **aiXplain SDK v0.2.48** (the unified v2 `Aixplain` client) and live SDK introspection.

## Audience & self-containment

Used on behalf of **both non-developers and developers**. So:

- **Do the technical work yourself.** Write and run the code; don't hand the user a traceback. Diagnose it, fix it, and report in plain language: what happened, what you did, what's next.
- **This skill is authoritative.** Use its snippets as written; don't redirect the user to GitHub or the SDK source. If a snippet here fails against the installed SDK, the skill is wrong, not the user — fix it, then consider the "Report aiXplain issues" habit below.
- **Lead with the result and the Studio link**, not the implementation. Keep full code available for developers who want it.

## Setup

Install/upgrade first, then initialize the client:

```bash
python3 -m pip install --upgrade aixplain
```

```python
import os
from aixplain import Aixplain

aix = Aixplain(api_key=os.environ["AIXPLAIN_API_KEY"])   # or Aixplain() if AIXPLAIN_API_KEY / TEAM_API_KEY is exported
```

If `AIXPLAIN_API_KEY` isn't set, ask the user for it (or to add it to a `.env`) — get one at https://app.aixplain.com/team/settings?tab=api-keys. Most operations spend credits (1 credit = $1); say so before running anything billable for a non-developer.

## Pick the right tool for the job

| The user wants to… | Build a… | Reference |
|---|---|---|
| Reason over a goal, call tools, multi-step work | **Agent** | `references/agents.md` |
| Coordinate several specialists / a workflow | **Team agent** | `references/agents.md` |
| Just run a model once (LLM, transcription, translation, vision) | **Direct model call** | `references/models.md` |
| Answer from private documents | **Knowledge base + agent (RAG)** | `references/knowledge-memory.md` |
| Connect Slack/Gmail/DB/MCP, or wrap a Python function | **Tool / integration** | `references/tools-integrations.md` |
| Enforce a policy at runtime (safety, PII, format) | **Inspector** | `references/governance.md` |
| Remember across turns / sessions / agents | **Session or shared memory** | `references/knowledge-memory.md` |
| Call a deployed asset over HTTP/JS/OpenAI client | **REST / access API** | `references/deployment-access.md` |
| Update, or export-as-code, an existing/deployed agent | **agent lifecycle** | `references/agents.md` |
| Multi-turn conversation state | **Session** | `references/agents.md` |
| Package reusable instructions, or fire an agent on a schedule/event | **Skill / Trigger** | `references/agents.md` |
| Measure or score agent quality offline | **Eval + Metric** | `references/evaluation.md` |
| Analyze a very long document / oversized context | **RLM** | `references/models.md` |
| A ready-made recipe to adapt | — | `references/patterns.md` |

Read the relevant reference file before writing code for that domain — they hold the exact signatures, IDs, and gotchas.

> ### ⚠️ Moved or removed in SDK 0.2.48 — do not write these
> Pre-0.2.48 code (and some still-published docs) use forms that now fail — two of them **silently**:
> - `from aixplain.v2.inspector import InspectorAction, EvaluatorConfig, …` → **removed from v2**. Build guardrails as `aix.Inspector(action="abort", metric={...})` with plain strings/dicts. See `references/governance.md`.
> - `from aixplain.v2.file import FileUploader` → **dead**. Canonical is now `from aixplain.v2 import FileUploader` (also re-exported from `aixplain.v2.upload_utils`); `aixplain.v2.file` hosts the `File` resource instead.
> - `model.inputs.get_required_parameters() / get_all_parameters() / reset_parameter() / reset_all_parameters()` → renamed to `.required`, `dict(.items())`, `.reset(k)`, `.reset()`.
> - 🔇 `agent.max_iterations = N` after construction is a **no-op** — set `agent.budget.max_iterations = N`.
> - 🔇 `generate_session_id()` / `create_session()` are **gone**, and `session_id=` passed to `run()` is **silently stripped** (you get a stateless run, no error). Use `aix.Session` — see `references/agents.md`.

> ### 🔬 Field-verified runtime gotchas (silent — not in the docs, not visible in signatures)
> Observed in live runs. The SDK accepts all of these without error, so only behaviour reveals them:
> - `agent.save()` **resets `agent.llm` to the platform default** — re-assert the model *after* saving and verify it stuck, or your model choice silently reverts.
> - `Budget(max_cost=…)` is accepted and persisted but **not enforced**; only `max_duration_seconds` / `max_iterations` actually bound a run.
> - aiR index search: pass **`num_results`**. `top_k` is shown in the docs (and emitted by the SDK's own `rlm.py`) but is **silently ignored**, so your result limit won't apply.
> - `model.as_tool()` **breaks video input** (the payload gets wrapped in a list) — call the model directly for video instead of attaching it to an agent.

> **Not in the v2 SDK:** pipelines, fine-tuning, benchmarking, and datasets/corpora. These are legacy-v1 only or Studio-only. See `references/deployment-access.md § What the v2 SDK does NOT cover`. For multi-step workflows in v2, use a **team agent**.

## Workflow for building an agent

1. **Plan, then confirm.** State the agent's name, description, instructions, which tools/integrations, and single vs. team. Wait for approval before building anything billable.
2. **Search before hardcoding.** `aix.Tool.search(...)`, `aix.Model.search(...)`, `aix.Integration.search()["results"]`. Never say "not available" without searching. IDs in the reference tables can drift — if one 404s, search by name.
3. **Create tools and scope them.** For every tool, narrow `allowed_actions` to the minimum the task needs — the default (all actions) over-privileges the agent and hurts its reasoning. See `references/tools-integrations.md`.
4. **Build the agent.** Omit `llm` unless the user asks for a specific model (the platform default is good). Set `output_format` and, for JSON, `expected_output`.
5. **Save = deploy.** `agent.save()` (or `team.save(save_subcomponents=True)`) promotes `DRAFT → ONBOARDED` and gives a persistent endpoint. There is no separate `deploy()`.
6. **Run and verify.** `agent.run(query=...)`, read `.data.output`. Inspect `.data.steps` if it misbehaves.
7. **Share Studio links** so the user can edit/monitor visually:
   - Visual builder: `https://app.aixplain.com/studio`
   - Analytics: `https://app.aixplain.com/dashboard`
   (aiXplain consolidated onto `app.aixplain.com` — `studio.`/`console.` hosts and per-agent deep links like `/build/<ID>/schema` are gone. Give the user the agent **ID** alongside the link.)

## Conventions that apply everywhere

- **Resilient runs:** sync via `.run(...)`; async via `.run_async(...)` then `.sync_poll(url)` (blocks, returns the same shape) or manual `.poll(url)` until `.completed`.
- **Reading results:** agents → `response.data.output`, `.status`, `.data.steps`, `.data.execution_stats`; models → `response.data`, `.status`, `.usage`, `._raw_data`.
- **Unique names:** if `save()` raises `name_already_exists`, ask the user: update the existing asset or create under a new name. Appending `int(time.time())` to a name keeps demos unique.
- **Don't invent credentials or IDs.** Ask the user for required inputs (DB URLs, API tokens). Use placeholders only when clearly labeled.

## Passing local files to aiXplain

Models/agents/tools take **URLs**, not local paths. Upload first and pass the returned URL:

```python
from aixplain.v2 import FileUploader
url = FileUploader(api_key=os.environ["AIXPLAIN_API_KEY"]).upload(
    "/path/to/file.mp3", is_temp=True, return_download_link=True)   # download link, not raw s3://
```

Use `return_download_link=True` so the URL is browser-accessible. Size limits: audio 50 MB, image/documents 25 MB, video/database 300 MB. (For `.html`/`.zip` outputs the SDK's MIME detector can mislabel the extension — set the right content type when it matters.)

## Report aiXplain issues (habit)

When you hit a quirk that is clearly **aiXplain-caused** (not the user's code/config) — an advertised action that always fails, a documented parameter the backend ignores, a connector requesting too few scopes — offer to file an issue at https://github.com/aixplain/aiXplain. Reproduce it first to confirm the cause is on aiXplain's side, draft the title/body, and **get the user's approval before posting** (the repo is public). Redact API keys, emails, and asset/account IDs; keep the repro generic. Include SDK version, asset type, a minimal repro, and expected vs. actual behavior.

## External links

- Docs: https://docs.aixplain.com · Studio: https://app.aixplain.com/studio · Dashboard: https://app.aixplain.com/dashboard · Keys/billing: https://app.aixplain.com/team/settings · Pricing: https://aixplain.com/pricing
Files in this package (9)
  • SKILL.md 10 KB
  • references/agents.md 25 KB
  • references/deployment-access.md 18 KB
  • references/evaluation.md 15 KB
  • references/governance.md 9 KB
  • references/knowledge-memory.md 9 KB
  • references/models.md 16 KB
  • references/patterns.md 6 KB
  • references/tools-integrations.md 25 KB

Versions

The database has no other skills named aixplain-builder.

Database snapshot: 13.11.2026 · package version ac239d8dedcb (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100aixplain-agent-builder
    Build, configure, deploy, run, debug, export, verify, and update aixplain agents from a user's problem or intent using the Python SDK v2. Use for single agents, teams, marketplace tools, integrations, custom Python tools, runtime Code Execution, knowledge, sessions, budgets, and…
  • 100marketplace-search
    Search the aixplain marketplace for agents, models, tools, and integrations — check whether an asset exists, what it costs, who hosts it, how many of a kind there are — and turn any hit into working code (SDK, REST, MCP config, or an agent that attaches it). Use whenever the…
  • 100r2r
    R2R (RAG to Riches) by SciPhi — a production-ready RAG engine with built-in hybrid search, automatic knowledge graph construction, agentic workflows, multi-tenant support, REST + Python SDK, and self-hosted or cloud deployment. USE WHEN: user mentions "R2R", "RAG to Riches",…
  • 95ai
    AI SDK for Python (the `ai` package). Use for Python model calls (LLMs, image, video, speech, embedding, transcription, reranking, or decisions), agents, model interaction tests, tool calling, subagents, approvals, durable execution, telemetry, AI SDK UI backends, and custom providers.
  • 95openai-agents-python
    Build and operate multi-agent workflows with OpenAI Agents SDK (Python): define agents/tools/handoffs, add guardrails, run conversations, and debug orchestration behavior. Use when users ask for agent orchestration with OpenAI-native patterns, handoff routing, or production-ready agent loops.
  • 100build-agent
    Use when the user wants to design, build, debug, evaluate, secure or deploy an AI agent or LLM app with tools - chatbots over data, copilots, RAG assistants, multi-agent systems, MCP servers for an agent, Teams/Slack bots, Azure AI Foundry or Bedrock or Vertex agents. Also when…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.