Skip to main content
AgentFlow provides client SDKs for programmatic access to agents, tools, knowledge bases, and conversations.

Available SDKs

Python SDK

First-party SDK built on httpx. Async-first with full streaming support.

JavaScript SDK

Browser and Node.js client with SSE streaming.

Quick Example

import agentflow as af

client = af.Client(endpoint="http://localhost:8000")

# Chat with an agent
response = await af.chat("Hello!", agent="MainAgent")

# Search a knowledge base
results = await af.KnowledgeBase.search("billing questions")

# Check system health
status = await af.System.health()