RepoPilot

How do their APIs compare?

About conductor-oss/conductor · 2 messages · last activity 9/6/2026

Question

How do their APIs compare?

RepoPilot

These two projects are so different in purpose and scale that comparing "APIs" means comparing very different kinds of surfaces. Let me lay out what's actually visible in the retrieved data for each.

conductor-oss/conductor: a backend workflow engine's API surface

Conductor exposes a server-side, task/workflow-oriented API, not a UI widget API. From what's in the retrieved chunks, the API surface is built around:

  • System tasks implementing WorkflowSystemTask that plug into the workflow engine — e.g. ListApiToolsTask, which fetches an OpenAPI/Swagger/Postman spec from a URL and normalizes it into tool descriptors with a documented Task Input (specUrl, headers) and Task Output (tools, baseUrl, format) contract [agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/ListApiToolsTask.java:L33-L54]. This input/output-data pattern (via TaskModel.setOutputData) is the core "API" contract between workflow steps, also seen in PlannerContextFetchTask's complete()/fail() helpers that shape output as response.body/response.statusCode to mirror Conductor's built-in HTTP task [agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlannerContextFetchTask.java:L246-L263].
  • A tool-compilation API (ToolCompiler) that maps SDK-level tool config (worker, http, mcp, agent_tool, generate_image, rag_index, etc.) into Conductor task-type strings like HTTP, CALL_MCP_TOOL, SUB_WORKFLOW [agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/compiler/ToolCompiler.java:L136-L152] — essentially an API translation layer between a higher-level agent SDK and Conductor's task execution model.
  • Extension-point interfaces for AI providers, such as AsyncVideoModel/AIModel with call(), checkStatus(), generateVideo(), checkVideoStatus() methods that provider implementations must fulfill, following a Spring-AI-like abstraction pattern (VideoPrompt/VideoResponse/VideoGeneration mirroring ImagePrompt/ImageResponse/ImageGeneration) [ai/CONTRIBUTING.md:L181-L262].
  • Compile-time validation "APIs" like checkParallelRefShape in PlanAndCompileTask, which type-checks $ref wiring between workflow steps and tool inputSchema definitions, returning diagnostic strings rather than throwing [agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/PlanAndCompileTask.java:L1579-L1626].

This is a JVM, schema-driven, asynchronous task-execution API oriented around workflows, tool specs, and JSON-like config maps — designed for orchestrating distributed/durable execution, including AI agent tool-calling.

hongyangandroid/baseadapter: an Android RecyclerView/ListView adapter API

By contrast, baseadapter exposes a synchronous, in-process Android UI API for reducing adapter boilerplate:

  • CommonAdapter and ViewHolder classes used directly in activities, e.g. MainActivity importing com.zhy.adapter.abslistview.CommonAdapter and ViewHolder to bind a ListView [sample/src/main/java/com/zhy/sample/MainActivity.java:L1-L16].
  • A multi-item-type delegation API: ItemViewDelegateManager and ItemViewDelegate<T>, where isForViewType(item, position) determines which delegate handles a row and convert(holder, item, position) binds data — analogous in spirit to Conductor's isForViewType/dispatch pattern but operating on Android view binding, not task execution [base-adapter-library/src/main/java/com/zhy/adapter/abslistview/base/ItemViewDelegateManager.java:L91-L123].
  • Simple POJO

Want to ask your own question?

Open chat for conductor-oss/conductor

Public Q&A. Generated by RepoPilot from the actual source of conductor-oss/conductor. AI answers can be incomplete or stale — verify before relying on them.