tvOverview

The GL AIP (GDP Labs AI Agents Package) consists of three main components:

This repository provides the SDK and CLI so you can use identical features locally, in CI, or inside your own applications.

Architecture Overview

Key Relationships:

  • glaip-sdk is the user-facing SDK that provides a unified interface

  • aip-agents is the core agent library used by both local execution and the platform

  • ai-agent-platform is the platform that wraps aip-agents to provide centralized management and remote execution capabilities

Setup Requirements:

  • Local Mode: Configure LLM provider credentials (e.g., OPENAI_API_KEY) for aip-agents to use directly

  • Remote Mode: Configure AIP_API_URL and AIP_API_KEY to connect to the AIP server (LLM credentials are managed by the remote server)

Documentation Map

Use these sections in order when exploring the SDK and CLI:

Role-Based Entry Points

Choose the track that matches how you work today.

chevron-rightEngineers โ€” Ship agents in applications and automationhashtag

Why it matters: You need reliable APIs, typed clients, and testable workflows that fit existing services.

Start here:

chevron-rightProduct Managers โ€” Validate agents via GLChathashtag

Why it matters: You review agent behaviour for stakeholders. GLChat gives you fast access, but the CLI helps you list available agents and capture verbose output when needed.

Start here:

chevron-rightData Developers โ€” Curate prompts, evaluations, and linguistic QAhashtag

Why it matters: You iterate on prompts, run guided evaluations, and need to inspect agent transcripts without writing code.

Start here:

Choose Your Interface

Pick the surface that matches your environment; each summary spells out when and why to use it.

chevron-rightREST API โ€” Language-agnostic integration with full controlhashtag

Why you would pick it (REST API)

  • Works with any language or infrastructure stack.

  • Provides immediate access to every capability, including roadmap features as soon as they land.

Use it when (REST API)

  • Orchestrating agents from existing services, queues, or infrastructure.

  • You need custom authentication flows or to run in tightly restricted environments.

Key docs (REST API)

chevron-rightPython SDK โ€” Type-safe development and faster iterationhashtag

Why you would pick it (Python SDK)

  • Typed client with ergonomic streaming and error handling.

  • Shared utilities mirroring the CLI and test fixtures so you can reuse code between notebooks, services, and pipelines.

Use it when (Python SDK)

  • Building Python services, workflows, or notebooks that call AIP frequently.

  • You want to prototype locally, then promote the same code path into CI/CD.

Key docs (Python SDK)

chevron-rightCLI โ€” Fast experiments, ops checks, and demoshashtag

Why you would pick it (CLI)

  • Zero-code access with rich terminal rendering and JSON exports.

  • Ideal for smoke-testing environments, running scheduled jobs, or supporting teams without direct code access.

Use it when (CLI)

  • Validating connectivity or resources before automation.

  • Running guided demos, QA checklists, or manual evaluations.

  • Data developers iterate on prompts with export/import loops and need transcripts fast.

Key docs (CLI)

Platform Capabilities at a Glance

Symbols: โœ… fully supported ยท ๐Ÿ› ๏ธ partial via customization/workarounds ยท ๐Ÿšง roadmap

circle-info

Roadmap (๐Ÿšง) items are available via the REST API first. The SDK and CLI pick them up as soon as the corresponding clients and commands ship.

chevron-rightCore Operationshashtag
Capability
What it covers
REST API
Python SDK
CLI

Agent lifecycle & metadata

Create/list/update/delete agents with tools, MCPs, and sub-agents

โœ…

โœ…

โœ…

Streaming execution & artifacts

SSE runs, file attachments, usage stats, artifact links

โœ…

โœ…

โœ…

Multi-agent orchestration

Nested agents, LangFlow imports, delegated execution patterns

โœ…

โœ…

โœ…

File ingestion & chunking

Multipart file attachments, chunk ID management, artifact reuse

โœ…

โœ…

โœ…

Tool registry & uploads

Native catalog, custom uploads, GL Connectors

โœ…

โœ…

โœ…

Memory & conversation persistence

agent_config.memory, chat history injection, mem0 retention

โœ…

โœ…

๐Ÿ› ๏ธ

Tool output sharing controls

Toggle agent_config.tool_output_sharing to share artifacts

โœ…

โœ…

๐Ÿ› ๏ธ

chevron-rightAutomation & Integrationshashtag
Capability
What it covers
REST API
Python SDK
CLI

Configuration export/import

JSON/YAML round-tripping for agents and tools

โœ…

โœ…

โœ…

Language model routing

language_model_id, provider/model fallbacks, per-run overrides

โœ…

โœ…

๐Ÿ› ๏ธ

MCP connectors & auth rotation

MCP CRUD, /mcps/connect, tool discovery

โœ…

โœ…

โœ…

MCP runtime overrides

Per-run runtime_config.mcp_configs overrides

โœ…

โœ…

๐Ÿšง

LangFlow workflow sync

/agents/langflow/sync promotion of flows into agents

โœ…

โœ…

โœ…

Human-in-the-loop approvals

/agents/hitl/* endpoints for manual decision checkpoints

โœ…

๐Ÿ› ๏ธ

๐Ÿ› ๏ธ

Run history & analytics

/agents/{id}/runs pagination, status filters, usage metrics

โœ…

๐Ÿšง

๐Ÿšง

Schedules & triggers

/schedules CRUD for cron/interval/webhook automation

โœ…

๐Ÿšง

๐Ÿšง

chevron-rightGovernance & Roadmaphashtag
Capability
What it covers
REST API
Python SDK
CLI

PII tagging & redaction

pii_mapping masking for inbound/outbound payloads

โœ…

โœ…

๐Ÿšง

Account lifecycle

/accounts create/list/delete with master key guardrails

โœ…

๐Ÿšง

๐Ÿšง

Multi-account isolation

API-key scoped requests, master key bypass

โœ…

โœ…

โœ…

RBAC role management

Creator/Runner/Viewer roles, delegated keys

๐Ÿšง

๐Ÿšง

๐Ÿšง

How It Fits Together

The SDK (glaip-sdk) can operate in two modes:

Tokens and base URLs are shared across interfaces, so you can develop locally and promote the same configuration into CI or production with minimal changes.

Low-Code Philosophy

The SDK emphasizes declarative patterns for building agents with minimal code:

Key principles:

  • Agent/Tool/MCP as primary abstractions โ€” Work directly with high-level classes

  • Environment-based defaults โ€” Credentials read from AIP_API_URL and AIP_API_KEY

  • Progressive complexity โ€” Simple patterns for simple tasks, advanced patterns available

  • Agent-first with client as secondary โ€” Use the Agent pattern for most workflows; keep client APIs for listing, batch operations, and legacy code paths

Start Building

Ready to go from prototype to production? Follow this path to ship quickly:

  1. Install & configure โ€” Set up credentials and the CLI with Install & Configurearrow-up-right.

  2. Run the quick start โ€” Use the Agent-first pattern (recommended), with the client pattern available as a secondary option in the Quick Start Guidearrow-up-right to create and run your first agent.

  3. Explore patterns โ€” Use the Hands-on Examplesarrow-up-right to pick the right pattern (single agent, multi-agent, class pattern, runtime config, local execution, report automation).

  4. Iterate on prompts โ€” Use the CLI export/import loop in Configuration managementarrow-up-right to refine instructions safely.

  5. Add real workflows โ€” Explore Toolsarrow-up-right, File processingarrow-up-right, or Multi-agent patternsarrow-up-right as you expand capabilities.

The GL AIP package, SDK, and CLI give you a single, consistent toolkit to build, test, and operate AI agents anywhere.

Last updated