From chat to agent|INEMA.CLUB-PRO

Lesson 3 · 10 min

Step 2: your Jarvis with INTELECTO

A personal assistant written from scratch in Python, kept small on purpose: it talks with you on Telegram, remembers your conversations, and uses a cloud or local model. You stop opening a website to chat: the assistant is yours.

Start lesson

In this lesson, you will

  1. 1Design the assistant before installing it
  2. 2Create the bot on Telegram
  3. 3Test the memory
  4. 4Choosing between cloud and local

Objective: design, install, and put to work an assistant with memory and a personality you define.

01Your assistant’s architecture

From Telegram to the model and back.

Scroll down: each step below lights up its part of the diagram.

  1. 1/5

    You

    You chat on Telegram, on your phone or computer, like you would with any contact.

  2. 2/5

    Telegram bot

    The bot is the entry point. You create it with @BotFather using /newbot and store the token only in .env, as you learned in step 1.

  3. 3/5

    INTELECTO

    INTELECTO receives the message, combines your assistant’s personality with what it remembers about you, and puts together the request for the model. It’s small by design, so you can understand and change it.

  4. 4/5

    Model

    The model generates the response. In the cloud (OpenRouter), it’s more powerful and costs money per use; locally (Ollama), it runs on your computer, if it can handle it.

  5. 5/5

    The full conversation

    You write in Telegram, INTELECTO combines personality and memory, the model responds, and the response returns to the same chat. It’s all yours, with the token stored in .env.

Want to see other assistant systems ready to install? The Events JARVIS section brings several together.

02From the design to your routine

Click each step.

1. Design

Before installing, write down who the assistant is: its name, how it speaks, three things it should do every week, three things it should never do, and what it needs to remember about you.

This file answers the installation questions.

TestSomeone else reads the file and understands who your assistant is.

03The setup template and installation

Copy the template, fill it in, and only then install.

meu-jarvis.md
# My Jarvis

## Name and speaking style
Name:
How it speaks (formal, direct, humorous):

## What it should do every week
1.
2.
3.

## What it should never do
1.
2.
3.

## What it needs to remember about me
- Profession:
- Routine:
- Preferences:
Terminal · download and run the example
git clone https://github.com/inematds/intelecto.git
cd intelecto/exemplo-jarvis
python3 -m unittest discover -s . -p 'test_*.py' -v
python3 smoke.py
Repository example
  1. The Telegram token (from @BotFather), only in .env.
  2. The model: cloud-based (OpenRouter) or local (Ollama).
  3. The personality: your meu-jarvis.md.

04Practice: the 6 exercises in sequence 2

Prerequisite: complete sequence 1 (terminal, folders, .env).

E1 · Design your Jarvis

15 min

Write the meu-jarvis.md: name, style, what it should do, what it should never do, and what it needs to remember.

Done when: the file fits on one screen, and someone else could understand who your assistant is.

E2 · The Telegram bot

10 min

Create the bot with @BotFather using /newbot and save the token in .env.

Done when: you have the token, and it doesn’t appear in any file except .env.

E3 · Install

30 min

Clone INTELECTO, export the briefing, and ask the agent to build your Jarvis with tests (lesson 4 of the step 2 course).

Done when: you send "hi" and it replies with the name and style you chose.

E4 · Memory test

2 days

Day 1: tell it three facts about yourself. Day 2, in a new conversation: ask about them.

Done when: it remembers without you repeating yourself.

E5 · Cloud or local

20 min

Ask the same question with a cloud-based model (OpenRouter) and a local one (Ollama). Record the time, quality, and cost.

Done when: you can say which model to use for what, based on your own numbers.

E6 · A real routine

20 min

Turn one of the tasks from E1 into a standing request and use it for a week.

Done when: you used it 5 days in a row and noted what to improve.

Full exercises: jornada-agentes/exercicios/02-jarvis.md. The extra challenge (the task list you send before going to bed) is the start of step 3.

05Sequence 2 on video

INTELECTO on Telegram, with memory and personality.

Create your Jarvis · 1 min 33 secVideo page with script →

06Test what you learned

The explanation appears after your answer.

Question 1 of 3

Why write the meu-jarvis.md before installing?competency

To go deeper on step 2

Previous lessonNext lesson