Skip to content

Assistants, experts and Agents ​

In Feishu you talk to an assistant, represented by a bot. In its settings you select an expert and an execution engine. These choices have different identities:

ConceptMeaningIdentity and lifetime
Bot ProfileFeishu app/bot connection, owner and interaction settingsA bot configuration; can serve multiple conversations
Agent Profile (expert)Instructions, resources and allowed launch configurationA reference such as builtin/codex; reusable definition
Agent type / engineNative implementation that executes workCodex, Claude or Pi; not one specific conversation
Runtime targetHost process that launches and manages AgentsTarget ID; a machine/execution location
SessionAn ongoing managed conversationSession ID on a target; contains multiple turns
TaskRunOne bounded delegated executionTask ID; tracks the child Session/turn and final result
Agent InstancePersistent identity for follow-up delegated workInstance ID; spans multiple TaskRuns

Selecting the same expert twice does not reuse a conversation. Two bots can use the same expert without becoming one bot. A single bot can route to several Sessions. An instance and its individual task IDs remain distinct.

What is preserved when something changes ​

  • A new turn in a Session keeps its conversation context, subject to the Agent's context limits and compaction.
  • A new independent topic in thread mode starts its own Session; only explicitly supplied topic context, material, memory or workspace resources cross boundaries.
  • A new TaskRun on a persistent instance can reuse its provider history and durable environment. Its result and execution status still belong to that new run.
  • Changing the default expert affects new launches. It is not a migration of every existing Session, identity, workspace or credential.

Agent behavior also depends on the selected model and available tools. An expert Profile is not a credential, a model subscription or an authorization grant.

Next: conversation and work, delegation, and the maintainer Agent model.

Released under the Apache-2.0 License.