Skip to main content
A Condor Agent is a folder that Condor reads: an AGENT.md that says who the agent is, plus optional loops, routines, skills and controllers. You don’t have to write that folder yourself. Condor ships with an agent_builder skill that creates the agent for you from a conversation. This guide walks through building a first agent from a description, testing it, and stopping it. If you would rather start from an agent someone else built, such as a top strategy from the Agent Builders Cup, pull it from the Agent Hub instead.

What you need

1

Condor connected to a Hummingbot API server

Follow Installing. In the Workspace the server selector in the top bar shows a green dot when the server is reachable.
2

Exchange keys

Add them in Settings → Keys and Wallets → Add API Key, and start with a small balance. See Exchange Credentials. The Workspace doesn’t list testnet connectors such as binance_perpetual_testnet; those can only be added through the Hummingbot API directly.
3

A model

A new agent uses the model Condor is running on unless you ask for a different one. See LLM Integration.

1. Ask Condor to build it

Open the Workspace and talk to Condor in the chat. In Telegram, send Condor a plain message; if you switched to another agent earlier, send /agent, tap Talk to and choose Condor (coordinator). Describe the agent in a sentence or two: what it specializes in and what you will use it for. For example:
Condor follows the Agent Builder skill. It starts small and adds one piece at a time, asking you before each step:
  1. Creates the agent. It settles the agent’s role and what it is for, then writes its AGENT.md.
  2. Asks it a question in its specialty and shows you the answer, to prove it works. If the answer is off, Condor edits the instructions and asks again.
  3. Adds routines, if you want them. A routine is deterministic Python that turns raw market data into the view the agent needs, such as a support and resistance scan. Condor hands each routine to a background worker, which writes and tests it. The work appears in the Tasks panel beside the chat.
  4. Writes a loop, if you want the agent to act on its own. The loop is the playbook it follows on every tick, with its frequency and risk limits.
The agent can answer questions as soon as step 1 is done. Routines and a loop make it more specific; they aren’t required.
If you already have controllers, configs or strategy notes in a folder, give Condor the folder’s path instead. The skill reads every file, proposes a build plan, and writes nothing until you approve it. See Build from a folder.

2. Find what it built

Condor writes the agent under the local agents folder of your Condor install:
The slug is the agent’s name in lowercase with spaces turned into underscores, for example sol_sr_scalper. Open /agents/<slug> in the Workspace to see the agent page. From the chat you can also open the agent’s panel and click Workspace.
Where to put your agent. Agents you create belong in .condor/agents/, which git pull and /update never touch. The agents/ folder in the repo holds the agents that ship with Condor. See Architecture for the full folder layout and file formats.
The agent page of a shipped agent, the Market Making Expert, with a loop selected
Before you test, check two things the builder can get wrong:
  • Routines. Open Routines in the top bar and check that the new routine is listed under your agent. A background worker can save it to Condor’s general library instead, where the agent can’t run it. If so, ask Condor to move it into the agent’s routines.
  • Tools. If the agent’s tools list is not empty, make sure it includes get_market_data. It is the candle tool that also works in a Dry Run, and a tool left off the list is never available to the agent. An empty list means the agent can use every tool.

3. Test it

On the agent page, pick the loop in the selector under the agent’s name, click Start, and work through the three execution modes in order.
The Start New Session dialog with Dry Run selected and the Run Dry Test button
1

Dry Run

Choose Dry Run, enter the pair and exchange in Trading Context (for example Trade SOL-USDT on binance_perpetual), and click Run Dry Test. The agent runs one tick in which every action that would change something is refused. Open the Runs tab to read what it did and what it decided.
A Dry Run also refuses routines and run_code, so the agent can’t run its own analysis. It reads the market with read-only tools such as get_market_data instead. Use the Dry Run to check that the agent, server and exchange are wired up and that its reasoning makes sense, not to judge the strategy.
2

Run Once

Choose Run Once and click Execute Once. This runs one live tick: the agent can open real executors or deploy a real bot, so use small capital. Check the Runs and Fleet tabs afterwards.
3

Loop

When that tick looks right, start again with Loop and click Start Session. Set Total Amount Quote, Frequency (sec) and the risk limits (Max Position ($), Max Executors, Max Drawdown %) to amounts you would accept losing.
The Runs tab of the Market Making Expert, showing a dry run's agent response
You can also ask Condor in chat to start the loop. Starting a loop always needs your approval: the Workspace shows an approval card with Allow and Deny, and Telegram shows a confirmation.
An approval card in the Condor chat, waiting for Allow or Deny

4. Watch and stop it

The agent page has four tabs: To stop it:
Stop ends the loop but leaves its executors, positions and bots open, and nothing manages them until you start the same loop again, which adopts what was left. Close them yourself, or use a shutdown, which closes them according to the agent’s shutdown.md policy. See Stopping a loop.

Write the folder by hand instead

You can skip the builder and create the files yourself: an AGENT.md in .condor/agents/<slug>/ and, optionally, loops/<loop>/loop.md. Reload the Workspace and the agent appears. Architecture has the file formats, the frontmatter fields and the risk limits.

Next steps

Agent Builder

Everything the builder skill does, including building from a folder

Guide: Market Making Expert Agent

Run a shipped agent end to end

Architecture

Folder layout, risk engine, sessions and journals

Agent Loops

Monitor, debug and control running agents