|
1 | 1 | # Conductor Agent Python SDK |
2 | 2 |
|
3 | | -> Ships as part of [`conductor-python`](https://pypi.org/project/conductor-python/) — install with the `agents` extra |
4 | | -> (`pip install 'conductor-python[agents]'`) — you're in the right place. |
| 3 | +Build durable Python AI agents on Conductor. Agents can use local Python tools, |
| 4 | +wait for people, execute dynamic plans, and recover after process restarts because |
| 5 | +Conductor persists execution state. |
5 | 6 |
|
6 | | -Long-running, dynamic plan-execute, and event-driven AI agents in Python. You write plain Python; Conductor Agent compiles your agent into a Conductor workflow that runs on a server — with automatic retries, durable state, human-in-the-loop pauses, streaming, scheduling, dynamic plan-execute, and full execution history. |
| 7 | +## Install |
7 | 8 |
|
8 | | -```python |
9 | | -from conductor.ai.agents import Agent, AgentRuntime |
| 9 | +```shell |
| 10 | +pip install 'conductor-python[agents]' |
| 11 | +``` |
10 | 12 |
|
11 | | -agent = Agent(name="greeter", model="anthropic/claude-sonnet-4-6", |
12 | | - instructions="You are a friendly assistant.") |
| 13 | +Requirements: Python 3.10+ and a Conductor server with an LLM provider configured |
| 14 | +server-side. Replace example model names with a model enabled on that server. |
13 | 15 |
|
14 | | -with AgentRuntime() as runtime: |
15 | | - result = runtime.run(agent, "Say hello.") |
16 | | - print(result.output) |
17 | | -``` |
| 16 | +## Start here |
18 | 17 |
|
19 | | -## Docs |
| 18 | +- [Getting started](getting-started.md) — configure a server and run a basic agent. |
| 19 | +- [Deploy · Serve · Run · Plan](concepts/deploy-serve-run.md) — choose a runtime mode. |
| 20 | +- [Scheduling](concepts/scheduling.md) — manage deployed-agent schedules. |
20 | 21 |
|
21 | | -- [Getting started](getting-started.md) — install, env vars, and a running agent in under 30 seconds. |
22 | | -- [Writing agents](writing-agents.md) — the `Agent` class and `@agent`, tools, multi-agent strategies, handoffs, guardrails, termination, callbacks, streaming + HITL, schedules, stateful and instance agents. |
23 | | -- [Framework agents](framework-agents.md) — run agents authored in the OpenAI Agents SDK, LangChain, LangGraph, or the Claude Agent SDK. |
24 | | -- [Advanced](advanced.md) — runtime config, the control-plane `AgentClient`, deploy vs serve vs run vs plan, structured output, credentials, plans (`PLAN_EXECUTE`), skills. |
25 | | -- [API reference](api-reference.md) — the public API surface in one place. |
| 22 | +## Build agents |
26 | 23 |
|
27 | | -## Import surface |
| 24 | +- [Agents](concepts/agents.md), [tools](concepts/tools.md), and [multi-agent](concepts/multi-agent.md) |
| 25 | +- [Guardrails](concepts/guardrails.md), [termination](concepts/termination.md), [callbacks](concepts/callbacks.md) |
| 26 | +- [Stateful agents](concepts/stateful.md), [streaming and HITL](concepts/streaming-hitl.md), and [structured output](concepts/structured-output.md) |
28 | 27 |
|
29 | | -Everything public is importable from `conductor.ai.agents`: |
| 28 | +## Framework bridges |
30 | 29 |
|
31 | | -```python |
32 | | -from conductor.ai.agents import Agent, AgentRuntime, tool, agent |
33 | | -``` |
| 30 | +- [Google ADK](frameworks/google-adk.md), [LangChain](frameworks/langchain.md), and [LangGraph](frameworks/langgraph.md) |
| 31 | +- [OpenAI Agents SDK](frameworks/openai.md) and [Claude Agent SDK](frameworks/claude-agent-sdk.md) |
34 | 32 |
|
35 | | -A small OpenAI-Agents-compatible shim is also exposed at the top level: |
| 33 | +## Operate and inspect |
36 | 34 |
|
37 | | -```python |
38 | | -from conductor.ai import Runner, function_tool # drop-in for `agents.Runner` |
39 | | -``` |
| 35 | +- [Runtime reference](reference/runtime.md), [control-plane reference](reference/client.md), and [API map](reference/api.md) |
| 36 | +- [Agent-definition fields](reference/agent-definition.md) and [configuration contract](reference/agent-schema.md) |
| 37 | + |
| 38 | +## What Conductor adds |
| 39 | + |
| 40 | +| Capability | Conductor agent runtime | |
| 41 | +|---|---| |
| 42 | +| Process recovery | Durable workflow state resumes from completed work. | |
| 43 | +| Python tools | Tools run as independently scalable Conductor worker tasks. | |
| 44 | +| Long-running work | Human approval, schedules, and events do not occupy application threads. | |
| 45 | +| Dynamic execution | Plans become durable, inspectable sub-workflows. | |
| 46 | +| Observability | Inputs, outputs, tool calls, retries, and status share one execution record. | |
0 commit comments