Deploy an AI agent
Step 1: Create an access key.
Step 2: Install the aiXplain SDK.
Step 3: Copy the code snippet to build and deploy an agent.
Next: Build a multi-agent system.
pip install aixplain
## Create an Agent
import os
os.environ["TEAM_API_KEY"] = "<ACCESS_KEY>"
from aixplain.factories import AgentFactory
from aixplain.modules.agent import ModelTool
agent = AgentFactory.create(
name="Google Search agent",
description="You are an agent that uses Google Search to answer queries.",
tools=[
# Google Search
ModelTool(model="65c51c556eb563350f6e1bb1"),
],
)
agent_response = agent.run("What's an AI agent?")
Build an Agent
Create AI agents that autonomously reason and act to achieve goals—start from a highly configurable template.
Build a Pipeline
Build AI workflows by connecting models and custom scripts with minimal coding or interactively.
Call an Asset
Integrate any agents, pipelines or models into your projects with just one line of code — no AI expertise needed!
Use an LLM
Models that can understand and generate text. GPT4, Calude, Llama 3.1, and 50 more
Generate Images
Models that generate images from text prompts. Stable Diffusion XL (1024x1024)
Transcribe Audio
Models that convert audio to text. AWS Transcribe, Whisper, and more
Translate text
Models that translate text to and from different languages
Synthesize Text
Models that convert audio to text
Summarize Text
Models that summarize text
Generate Visemes
Models that generate visemes from text to animate avatars
Moderate Content
Models that identify and filter harmful or inappropriate content
Diacritize Text
Models that add marks to letters to indicate pronunciations or sounds
Clone Voices
Models that clone a voice from an audio file
Identify Languages
Models that identify language from an audio file
Analyse Sentiment
Models that identify the sentiment of text.