Skip to content

About

Learn multi-agent systems with a coordinator, Scout, Maker, Checker, explicit approvals, and a no-key demo.

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

tinkerfleet.

Your little team, in the loop.

Learn how to build a personal agent application by exploring one that works.

Tinkerfleet is a small, open-source app where you talk to a primary agent, create other agents with their own personalities, and give them tools and memory. In live mode they can research the web, read a project, propose file changes, and run commands on your computer after approval.

If you have used an agent tool and wondered “How would I build something like this?”, this repository is for you. The app, lessons, and documentation explain the pieces behind the experience: a model loop, tool functions, conversations, coordination, persistent memory, and a browser interface.

You do not need previous experience building agents. Familiarity with JavaScript or TypeScript, JSON, and a terminal will help. Start without an API key; connect a real model when you are ready.

Start with something you can see

You need Node.js 24 or later and npm.

git clone https://github.com/garyamorris/tinkerfleet.git
cd tinkerfleet
npm ci
npm run dev

Open http://localhost:4317. The default demo swaps the language model for a small scripted one, so it makes no API calls or web searches. Everything else is the real app: the agent loop, tools, approvals, and saved bots, chats, and memory notes. Approved edits and commands act on a temporary copy of examples/tiny-project that is deleted when the server stops; your own files are not touched.

Try this short tour:

  1. Start a conversation with Orbit, the primary agent.
  2. Say “Create a patient astronomy tutor called Nova.”
  3. Choose Open this bot’s chat to speak with Nova directly.
  4. Open Bot library → Memory beside Nova and save a sample preference.
  5. Return to Orbit and ask “Fix the failing tests in tiny-project.” Open the group it creates, approve the edit and the test command, then open Task details to see the real diff and test output.

The scripted model recognizes a few teaching examples; it does not understand arbitrary requests. Its purpose is to let you see the interaction before paying for a model. The interface tour explains each step. Use the setup guide when you want live replies.

What you are building

An agent app connects a model to functions that can do useful work. The model chooses a next step; your application decides which functions exist, runs them, and gives their results back to the model.

flowchart LR
    You[Your message] --> App[Application and agent loop]
    App <--> Model[Language model]
    App --> Tools[Tools and approvals]
    Tools --> Results[Files, commands, web results]
    Results --> App
    Memory[Saved bot memory] --> App
    App --> Reply[Reply and visible activity]
Loading

Tinkerfleet makes that loop visible. You can inspect what was requested, what needed approval, what actually ran, and what result came back. The architecture walkthrough follows a message through the code.

Capability What it teaches
A primary agent and individual agents Coordination is application logic; each bot is a separate identity with instructions
Agent creation and direct chats Turn a model’s structured request into a saved profile and a usable conversation
Messages and primary-created groups Delegate a defined task without copying an entire private conversation
File and command tools Connect model output to real functions and local processes
Human approvals Pause work, review the exact action, and resume it once
Public web research and sources Combine provider-hosted tools with your local tools
Each bot’s own memory Store useful facts and include them in later requests
Scheduled runs Start a bot’s run on its own at a set time, once, without bypassing approvals
Markdown replies and tool activity Turn agent execution into an understandable interface

See capabilities and current limits for what each mode supports. Scout, Maker, and Checker are starter personalities with different capabilities: Scout searches the web, Maker reads and edits files, and Checker reads files and runs commands. Each bot gets only the tool groups its profile chooses, within what the server enables. Changing a bot’s name or avatar does not change its permissions.

Choose your learning path

You want to… Start here
Understand how to build an app like this Build an agent app, step by step
Learn by running small programs Fourteen executable lessons
Follow the complete application Architecture and data flow
See what a model call really sent and received Reading a trace
Measure whether an agent works, and compare two models Measure an agent with evals
Understand tools and real computer access Workspace tools and approvals
Add lasting memory How bot memory works
Make your own version Extend Tinkerfleet
Check whether your changes work Testing an agent application

For a first pass, run lessons 0–13 in order. The build guide links to each lesson at the step where it fits, so it visits them in a different order. Lesson 0 shows the agent loop itself with a scripted model; lessons 1–6 use real application code; lessons 7–13 add your own tool, follow an approval through the SDK, grade the agent with a small eval, read a trace of its model calls, compare two runs, give each bot only the tools it needs, and run a bot on a schedule. Each explains one idea and includes an experiment. All fourteen run without a model call, and the native-tool lessons use temporary files and short local commands to demonstrate actual execution.

Find the code behind the idea

Part Start reading
Chat UI, profiles, and approval cards src/client/main.tsx, then panels such as chat-run.tsx and approval-card.tsx
HTTP routes and conversation coordination src/server/app.ts
Agents, tool definitions, model loop, and SDK events src/server/sdk.ts, a short map of the modules in src/server/sdk/
The demo's scripted model src/server/demo.ts
Conversation history and restart behavior src/server/conversations.ts
Saved facts for each bot src/server/memory.ts
Scheduled runs src/server/schedules.ts and src/shared/schedules.ts
Exact-action decisions src/server/approval.ts
Local files and processes src/server/native-runner.ts

The stack is TypeScript, React, Node.js, and the OpenAI Agents SDK. The SDK runs inside the local Node server; live model inference happens through the OpenAI API. Local tools use your computer directly. Docker is not part of this app.

See the result

A live Markdown reply with recorded tool activity

This capture is from a real model run that read a file, ran an approved version command, and used hosted web search. View its activity.

The Trace tab for a live run

The trace capture is from a real model run: every model call, what it sent, and what came back. Reading a trace explains it.

A bot’s own memory panel

The memory capture uses the no-key demo and sample facts. Its conversation is scripted; its saved notes are real local data. Mobile view.

Keep the important distinctions clear

Live file edits and commands can change your computer. Commands run with your user’s permissions, and selecting a working folder does not create a sandbox. Live requests can send conversation context, saved memories, and tool results to the model provider. These are useful design decisions to understand when building your own agent app; the execution and data boundaries explain them.

There is no turn or model-call cap by default. Token and runtime budgets remain, and each local command has a short, fixed timeout. So this small teaching app suits short experiments; long coding jobs need a different command lifecycle. The capability guide separates what works today from extension ideas, and its Limits section lists every number.

Continue learning

Start with one agent and one useful tool. Add the next piece when you can explain what the current piece does.

About

Learn multi-agent systems with a coordinator, Scout, Maker, Checker, explicit approvals, and a no-key demo.

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages