agentskit.js
Concepts

Concepts

Six contracts. Every AgentsKit package is an implementation of one of them.

Once you have built a real agent, these six contracts explain why the ecosystem composes so cleanly. Every package, every provider, every memory backend, every tool, and every UI binding plugs into one of them.

If you have not done that yet, start with Build your first agent and come back here after you have seen the stack in motion.

#The six contracts

ContractWhat it abstractsPage
AdapterLLM providersadapter
Toolcallable functionstool
Skillpersonas + promptsskill
Memoryconversation + vector statememory
Retrievercontext retrievalretriever
Runtimethe orchestration loopruntime

#Start here

  • Mental model β€” how the six contracts compose.
  • Implementations β€” every concrete implementation per contract.
  • Errors β€” the error taxonomy every contract honors.

#See also

Explore nearby

✎ Edit this page on GitHubΒ·Found a problem? Open an issue β†’Β·How to contribute β†’

On this page