Logo Autocomputing
Call Support
Gridtop Beta Manual › Part I: Getting Started › 4. A First Lesson: Your First Agent

4A First Lesson: Your First Agent

In this lesson you create an agent, hold a conversation with it, give it a Task, and watch it carry the Task out. It takes about ten minutes, and nothing in it touches your website: a new agent may read and write files on your drive, but it cannot put anything live until you give it that permission (15.2).

The lesson follows Landotronix, a small business with a website, whose owner wants an assistant to draft a short welcome message for new customers.

4.1 Before You Begin

You need only your Gridtop, signed in and open (chapter 2). You do not need an account with any AI provider: your first agent thinks with Ethocana, the house model that comes with Gridtop.

Your first sign-in. A new, empty Gridtop opens the app drawer and shows a short welcome. Start with a sample places a small example board: an agent, Welcome Writer, with a Task and a Skill connected to it, a Workflow and a Blueprint, so you can see what the pieces look like; you can remove it at any time (chapter 9). Start empty leaves the grid clear for this lesson, and Open the manual opens this book. The welcome appears once, and never over a grid that already holds something.

4.2 Creating an Agent

To create an agent

  1. Right-click an empty cell, and choose Create New... ▸ Agent. The agent appears in that cell, named Agent 1 (or the next free number), and its descriptor panel opens in the right pane with the name selected.
  2. Type a name, such as Welcome Writer, and press ENTER.

Your agent now exists, with a folder of its own on your drive (4.7), and is ready to talk.

Note A new agent takes its starting provider, model and preset from Properties ▸ Agents (15.4).
Tip Changed your mind? Press CTRL+Z, and the agent is gone again.

4.3 Choosing Its Model

Your new agent starts on Ethocana, with the general-purpose preset Flat (Default) and a plain instruction to be a balanced, helpful assistant. Leave it so for this lesson. When you are ready for more demanding work, connect a larger model from an AI provider and move your agent onto it (chapter 13, and 13.7 for the chips that change an agent's model).

4.4 Opening Its Chatbox and Asking a Question

You speak to an agent through its chatbox.

To ask a question

  1. Right-click your agent, and choose Chat.... The chatbox opens beside the grid, with the line Begin prompting for task... and the cursor waiting in the message field.
  2. Type a request. For Landotronix: Write three sentences welcoming a new customer to Landotronix.
  3. Press ENTER.

Your message appears in the conversation, and the agent's reply begins with Engaged... while the model works, then fills in as the words arrive. Beneath your message, a short activity list shows each step, such as Prompt received and Model request, each ticked when done. To stop the agent before it has finished, click the send button, which reads Stop while the agent works; the words already written are kept.

Tip Double-clicking an agent opens its chat, or brings it forward if it is already open. The agent's folder (4.7) has its own item on the agent's menu: Open Folder.
A first conversation. (1) The agent on the grid. (2) Its descriptor panel, CONN tab. (3) The chatbox, with the question, the activity list and the reply.
Figure GT-005. A first conversation. (1) The agent on the grid. (2) Its descriptor panel, CONN tab. (3) The chatbox, with the question, the activity list and the reply.

4.5 Giving It a Task

A conversation is one way to work with an agent. A Task is another: a standing piece of work, written down once, that the agent can be given, return to, and carry out again. Tasks sit on the grid as objects of their own, connected to the agents that do them.

To give your agent a Task

  1. Right-click your agent, and choose Add Task. A banner reads Add Task — click an existing Task or any empty cell. ESC to cancel.
  2. Click an empty cell. A new Task appears there, connected to your agent by a line.
  3. Double-click the Task. The Define Task window opens.
  4. Write what the Task is: Draft a welcome email for new customers of Landotronix, in a warm and professional tone, no longer than 120 words.
  5. Click Save to Task.

The line between the agent and the Task is what joins them: from now on, the agent is told about its Task every time it works. Leave Max Steps blank for now; chapter 16 covers Tasks in full.

Tip You can also connect an existing Task, Skill, Role or Tool to an agent by dragging its icon onto the agent.

4.6 Watching It Work

Return to the chatbox and ask: Please do your Task.

The activity list shows each step with the time taken so far, such as Working — 3.2s. When the agent uses one of Gridtop's tools, for example to save its draft to a file, the step reads Requested and the tool's name, and a line in the reply records what the tool did and whether it succeeded. You can see what your agent did, in the order it did it (chapter 19).

4.7 Where Your Agent Is Kept

Every agent is kept in a folder of its own at A:/Agentic Matrix/Gridtop/, under the agent's name. Inside is a file named for the agent and ending .agent, which holds everything about it: its provider and model, instruction and preset, tuning, linked files, permissions, memory, and its Tasks and Skills. Gridtop writes this file for you as you work.

To see the folder, right-click your agent and choose Open Folder; press ESC to return to the grid.

Because your agent is a file, it is safe even if its icon leaves the grid. If you Remove the icon (9.1), the file stays where it is, and you can bring the agent back by dragging its .agent file from the File Directory onto an empty cell.

You have now created an agent, spoken with it, given it work and watched it carry the work out. The rest of this manual builds on these steps.