AntflyAntfly
Back to Learn
Learn

Agents

Give an agent retrieval that stays quiet without evidence, fits a token budget, and connects over MCP.

Steps
3
Time
about four hours

Agents is the path for retrieval that feeds a model instead of a person. The tests are different: an agent has to be told when there is no answer, has to receive context that fits, and has to reach the instance from wherever it runs.

Each step is a guide from the docs, in the order the work happens. Read the page, then do the checkpoint before moving on. The checkpoints are the exercises the workshop runs live.

  1. 01

    Build a Support Answer Agent

    The retrieval agent is the smallest complete agent Antfly runs: route, retrieve, compose, and decline when there is no evidence. Start here to see the whole loop in one call.

    This page answers
    • How do I build a support bot that answers from my help articles?
    • How do I use the retrieval agent to generate answers automatically?
    • How do I keep an auto-answering bot from answering off irrelevant context?
    • How do I tune pruning for RAG quality?
    Checkpoint
  2. 02

    Power a Coding Copilot's Retrieval

    A code index has to answer an exact symbol lookup and an intent question from the same request, and hand back a block sized to a model's budget. That is the general shape of feeding any agent.

    This page answers
    • How do I index a codebase for retrieval?
    • How do I combine exact symbol search with semantic code search?
    • How do I fit retrieved code into a model's context budget?
    • Why does my coding assistant miss relevant files?
    Checkpoint
  3. 03

    Antfly MCP

    Every client that speaks MCP connects to the same hosted instance with the same key tiers, so the retrieval you tuned serves every agent on a team.

    This page answers

    Connect AI agent clients to hosted Antfly instances through the Cloud MCP endpoint.

    Checkpoint
Capstone

The Agents capstone

[PLACEHOLDER: the Agents capstone brief. It states the task, the constraints, and the pass criteria, and says that hidden queries are part of grading and that LLM and agent use is allowed. Replace before the PR merges.]