Biblioteca de subagentes

Visão geral

I subagentes del conto e di questo computer, come una lista. Stessa forma come la biblioteca di aptitudini — e questo è ciò che dà a un agente l'outil de task.

account + computerno built-insno task without one
Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

ChamadaFunção
list()Ambas le fonti, fuse.
get(nome)Uno, con il suo contenuto, utensili e model.
salva(item)Crea o substitue — a su conta.
remuove(nome)Lo retira del cont.
Non egìn subagentes incorporati

Con una libreria vuota, l'utensiliu di task non è dichiarat per nulla. Un agente che «never delega » è generalmente un agente con nulla a cui delegare — libraryStatut dice se è o non c'è nulla, o perché una fonte rifiutata.

await api.agents.subagents.save({
  name: "explore",
  description: "Dig through files and data to answer a question, and report the facts.",
  tools: ["read", "list", "glob", "grep", "search", "fetch", "query_storage", "account"],
  model: "gemini-3.5-flash",
  content: "Find what was asked. Quote exactly, with paths. Do not change anything.",
});
api.agents.subagents.save(
    name="explore",
    description="Dig through files and data to answer a question, and report the facts.",
    tools=["read", "list", "glob", "grep", "search", "fetch", "query_storage", "account"],
    model="gemini-3.5-flash",
    content="Find what was asked. Quote exactly, with paths. Do not change anything.",
)

Due campi di aptitudes non hanno

toolsstring[]

Quals utensilisssstttttt. Ausent significa la selezion del genitore.

modelstring

Absent significa quello del padre.

L'insieme di sola lettura

Para un subagente investigant: read, list, glob, grep, search, fetch, query_storage, account. Tutto ciò che guarda, niente che mude.

Tres utensilis che mai ottiene

ask_user, todo_write e memory, qualunque chestione dica il suo file — non può parlare con l'utente, non tiene il plan, e non cambia ciò che è ricordat. Ottiene recall in cambio.