Knaph

AI agent

A language model inside a program that gives it tools and a loop, so it can work towards a goal over many steps - asking for an action, seeing what happened, and choosing the next step itself until the job is done.

Depth 1 · Foundation

You can tell an agent from a chat assistant and from a fixed workflow, and explain how a model that only writes text gets things done.

Sign in to prove what you know with a short quiz, see how deep you've gone, and earn XP for it.

Sign in with Google

Depths of understanding

  1. 1

    Foundation

    You can tell an agent from a chat assistant and from a fixed workflow, and explain how a model that only writes text gets things done.

  2. 2

    Deeper

    You can build one: about 230 lines of Python around a model API - tools, a loop, permissions and hooks, instructions and skills, compaction and a helper - and follow one turn through it from the request to the tool results it sends back.

    Master depth 1 first

Your path here

What's still between you and AI agent, depth 1, in the order you can learn it.

  1. 1Language modelDepth 1 · Foundation · Language Models
  2. 2AI agentDepth 1 · Foundation · AI Agents

Where it fits