Quick Start Guide
Go from zero to your first successful agent run. If you have not installed and configured the SDK yet, run pip install --upgrade glaip-sdk (or follow Install & Configure) before continuing.
When to use this guide: Choose it when you need a reproducible walkthrough to prove connectivity, create an agent, and observe responses without diving into advanced configuration.
Audience: Developers, PMs running acceptance demos, and data developers validating prompt baselines.
Choose Your Path
Python SDK — programmatic control and notebooks
CLI — quick experiments, scripting, and CI
Python SDK Path
When to use: You are coding in Python, iterating from notebooks or applications, and want typed helpers during development.
Launch the Slash Command Palette (new CLI entrypoint)
aipThis opens the interactive palette so you can test your connection, browse agents, or run prompts without memorising longer commands. From here, try /status to confirm connectivity or /agents to jump into an agent session. See the CLI Slash Palette reference for screenshots and full command coverage.
Configure Credentials
Create a .env file in your project directory with your AIP API credentials (the Python SDK reads these environment variables):
# Create .env file in your project directory
echo "AIP_API_URL=https://your-aip-instance.com" >> .env
echo "AIP_API_KEY=your-api-key-here" >> .envNote: The Python SDK Client() only reads from environment variables (AIP_API_URL, AIP_API_KEY).
Optional Next Steps
Attach a tool (see the Tools guide) and rerun the agent.
Upload a file with
agent.run(..., files=["/path/to/file.pdf"])and follow the File processing guide.Persist conversation context with
chat_historyoragent_config.memory(covered in the Agents guide).
CLI Path
When to use: You need zero-code validation, quick demos, or scripted runs that operate from any shell.
Launch the Slash Command Palette (new CLI entrypoint)
This opens the interactive palette so you can try /status, /agents, or /help without recalling full command syntax. It is the fastest way to verify setup and run agents inline. See the CLI Slash Palette reference for screenshots and deeper guidance.
Optional Next Steps
Add a tool with
aip tools createandaip agents update --tools ...(details in the Tools guide).Attach files during runs with
aip agents run <AGENT_REF> --input "Review" --file report.pdfand consult the File processing guide.Reuse context by passing
--chat-historyJSON; see the Agents guide for examples.For prompt/export iteration, jump to the Configuration management guide which walks through the full export → edit → import loop.
Troubleshooting
command not found
Ensure pip’s script directory is on PATH, or reinstall with uv
401 Unauthorized
Run aip configure or update your environment variables
404 Not Found
Check your API URL with aip config show
Connection refused
Confirm the AIP backend is reachable
uv not found
Install uv: curl -LsSf https://astral.sh/uv/install.sh | sh
Next Steps
Practice with the Hands-on examples to explore tools, files, and multi-agent flows.
Deepen lifecycle control in the Agents guide.
Wire up native and custom tooling via the Tools guide.
Explore orchestration strategies in the Multi-Agent System Patterns overview once you need repeatable playbooks.
Last updated