Skip to main content

Welcome to the developer docs

Build and deploy intelligent AI agents and team agents in minutes—no AI expertise required. Instantly access thousands of models and tools from the aiXplain marketplace to power your agents using a single API key. Only pay for what you use—no long-term commitments.

Why build with aiXplain

  • ✔️ High performance – Fast, lightweight agents optimized for efficiency
  • ✔️ Self-improving – Benchmarking and feedback built in
  • ✔️ Trusted by design – Guardrails for security and compliance
  • ✔️ Integrated marketplace – Thousands of models and tools, one API key
  • ✔️ No setup – Minimal code, no infrastructure required
  • ✔️ One-click deploy – Instantly live with a production API
pip install aixplain
# Create an Agent
import os
os.environ["AIXPLAIN_API_KEY"] = "<KEY>"
from aixplain.factories import AgentFactory

agent = AgentFactory.create(
name="Google Search Agent",
description="A search agent",
instructions="Use Google Search to answer queries.",
tools=[
# Google Search (Serp)
AgentFactory.create_model_tool("65c51c556eb563350f6e1bb1")])

response = agent.run("What's the latest AI news?").data.output
response

agent.deploy()