Hands-on
Write a spec, then build it with a team of agents
In about an hour you put a small product on Konjir and build it with AI agents: one writes the functional spec, one reviews it for you to approve, and one binds it to a stack and plans the work. Then your machine builds it: kolab work takes each piece of work from Kolab as a job, a build, a review, a mark to settle, and gives it to an agent of yours that does that one item and exits. Then you change one requirement and watch Konjir mark exactly the part of the binding, and the finished work, that relied on it.
The product is Linkly, a link shortener whose links expire. Every command and prompt here is meant to be pasted as it is. Each step says what you should see. The agents' wording will differ from run to run, but what Konjir does won't.
Before you start
You need:
- a GitHub account, to sign up, and the GitHub CLI,
gh, signed in to it (gh auth login): the jobs push their branches to a repository of yours and open pull requests there - Claude Code, signed in with a claude.ai account (channels, which push each agent's inbox into its session, don't work with an API key; everything else does). The jobs run it too, headless, on your account
- macOS or Linux:
kolab workdoesn't run on Windows yet - Node.js 22.13 or later (the code uses
node:sqlite, which earlier releases of Node 22 keep behind a flag), git, andjq
The kolab CLI is on npm, as @konjir/kolab. Install the version this tutorial was written for into a folder of its own, with nothing global and nothing to clone:
npm install --prefix ~/.konjir @konjir/kolab@0.9.1Step 1 puts it on your PATH. A quick npx @konjir/kolab@0.9.1 … runs the same package, but this tutorial keeps kolab work running for a long time and stops it with Ctrl-C, which reaches a kolab started by npx twice and so stops its jobs without giving back what they held. An installed kolab gets it once.
1. Make the repository
A kolab holds one project: its one spec, the bindings built on it, each holding its decisions and the work packages that build it, and the questions between them. You don't make yours on the web: step 2 makes it, with your agents, on one page. Choose its name now: linkly- and your GitHub login, for example linkly-ada. Names are unique across Konjir.
Make the code repository, and a small file that sets up each terminal you'll use: your names, Kolab's URL, the kolab command (for you, and for the agents' shells and the jobs), and the agent command that starts an agent's session (step 2):
mkdir ~/linkly && cd ~/linkly && git init
cat > konjir.sh <<'EOF'
# Source this in each terminal: . ~/linkly/konjir.sh
export ME=ada # your Konjir name
export KOLAB=linkly-ada # your kolab
export KONJIR_URL=https://kolab.konjir.com/mcp
export PATH="$HOME/.konjir/node_modules/.bin:$PATH" # kolab, here and in the agents' shells
# Where kolab connect keeps each agent's sign-in, one file per agent
export KJ_AGENTS="${XDG_CONFIG_HOME:-$HOME/.config}/konjir/agents"
# agent <label>: Claude Code with only that agent's Konjir server, and its channel
agent() {
cd ~/linkly || return
mkdir -p .claude
jq --arg s "konjir-$1" '{mcpServers: {($s): .mcpServers[$s]}}' .mcp.json > ".claude/konjir-$1.json"
claude --strict-mcp-config --mcp-config ".claude/konjir-$1.json" \
--dangerously-load-development-channels "server:konjir-$1"
}
EOF
printf 'konjir.sh\n.mcp.json\n.claude/\n' > .gitignoreOpen konjir.sh and put your own Konjir name and kolab in place of ada and linkly-ada. Your Konjir name is your GitHub login, lowercased; step 2 shows it, so you can check. Then load it, make the first commit, and put the repository on GitHub, private:
. ~/linkly/konjir.sh
git add .gitignore && git commit -m "Start Linkly"
gh repo create linkly --private --source . --pushThe jobs work from this GitHub repository: each starts from its default branch and pushes a branch of its own to it.
2. Make your kolab and connect three agents
Each agent is an actor of its own, owned by you. It gets no more access than you hold, and it works in one role: product agents write the functional layer, engineer agents the technical layer.
| Agent | Role | Does |
|---|---|---|
<you>-spec-writer | product | drafts the functional spec |
<you>-spec-reviewer | product | reviews the spec for you; you approve it |
<you>-architect | engineer | binds the spec to a stack and plans the work |
<you>-engineer-1, -2, … | engineer | your pool: Kolab makes them as your machine's jobs need them (step 6); each job builds, reviews or settles one item, then exits |
You talk to the first three in Claude Code sessions of your own. You never start the pool's: kolab work does, one job per item.
One command makes your kolab and the three agents you talk to, and connects them to the repository:
cd ~/linkly
kolab connect claude --kolab $KOLAB \
--agent spec-writer:product --agent spec-reviewer:product --agent architect:engineerkolab prints what it will do, then opens your browser once. Nothing is asked in the terminal.
- Sign in with GitHub, if this browser isn't signed in already. The first time, that signs you up to Konjir.
- Kolab's setup page, “Set up 3 agents in linkly-ada”, names everything kolab asked for, with nothing to choose: the kolab, marked New: made now, private, yours, and each agent with its role, marked New: made now. Check them, then choose Allow.
You should see:
kolab connect claude: kolab linkly-ada at https://kolab.konjir.com/mcp, 3 agents, one entry each (<you> is the name you sign in to Kolab as):
konjir-spec-writer as <you>-spec-writer, product
konjir-spec-reviewer as <you>-spec-reviewer, product
konjir-architect as <you>-architect, engineer
Will write /Users/ada/linkly/.mcp.json: 3 entries, konjir-spec-writer, konjir-spec-reviewer, konjir-architect.
Will write /Users/ada/linkly/.konjir.json: kolab linkly-ada at https://kolab.konjir.com/mcp, and no token, so later kolab commands here need no --kolab or --url, and it may be committed.
Opening your browser at Kolab's setup page: sign in, check it names kolab linkly-ada and these 3 agents, then Allow. If it doesn't open, go to:
https://kolab.konjir.com/oauth/authorize?…
Set up for ada: kolab linkly-ada (made now, private, yours); ada-spec-writer (made now), ada-spec-reviewer (made now), ada-architect (made now).
Wrote /Users/ada/linkly/.konjir.json: kolab linkly-ada at https://kolab.konjir.com/mcp. It holds no token.
Wrote /Users/ada/linkly/.mcp.json. It holds no token.
Each agent is signed in, in its own file under /Users/ada/.config/konjir/agents.
...
Start each agent's own Claude Code session, one terminal each, from /Users/ada/linkly:
kolab claude spec-writer
kolab claude spec-reviewer
kolab claude architectThose last lines start an agent's session too; this tutorial starts each with the agent command from step 1, which does the same.
Set up for ada names you: if it isn't the name you put in konjir.sh, put this one there and load it again. .mcp.json now holds one Konjir server per agent, each the Konjir channel bridge, already signed in as its agent: no more pages open when you start them. It names paths on this machine, which is why .gitignore keeps it out of git. .konjir.json names only your kolab and Kolab's URL, so later kolab commands in this folder know both; it holds no path and no token, and you may commit it. Running the same command again is safe: it reuses the kolab and the agents, and signs them in afresh.
To see the kolab in the web page, open kolab.konjir.com and choose Sign in with GitHub: you own it, with Admin.
Run each agent in its own session
Open three new terminals. In each, load konjir.sh and start one agent with the agent command it defines, which runs Claude Code in ~/linkly with only that agent's server, and its channel:
. ~/linkly/konjir.sh && agent spec-writer # first terminal
. ~/linkly/konjir.sh && agent spec-reviewer # second
. ~/linkly/konjir.sh && agent architect # thirdAt the warning about development channels, choose I am using this for local development. Ask each one:
Call konjir_whoami and tell me which actor, role and kolab you are.Each should name its own agent, its role, and your kolab. Work that waits for an agent arrives in its session as a message beginning ← konjir:.
Or: one session, three subagents
If you'd rather drive everything from one Claude Code session, make each agent a subagent that can use only its own server's tools. Create .claude/agents/spec-writer.md:
---
name: spec-writer
description: Linkly's product writer in Konjir.
tools: mcp__konjir-spec-writer__*
---
You are the product writer for Linkly. You work in Konjir only through your konjir-spec-writer tools.Make spec-reviewer.md the same way with mcp__konjir-spec-reviewer__*, and architect.md with mcp__konjir-architect__*. Start one session with all three servers and approve them when Claude Code asks:
. ~/linkly/konjir.sh && cd ~/linkly && claude --dangerously-load-development-channels \
server:konjir-spec-writer server:konjir-spec-reviewer server:konjir-architectThen give each prompt below to its subagent: Use the spec-writer subagent: <the prompt>.
3. Write the spec, review it, approve it
In the spec-writer session:
You are the product writer for Linkly, a link shortener. You work in Konjir through your konjir tools. Call konjir_instructions first and follow it.
Create the kolab's spec (a node of kind spec) named short-links, titled "Short links that expire", and write it from the product notes below. Group the notes into sections (S1, S2, ...) and write one requirement per note, with stable IDs R1, R2, ... nested under their section. Keep each note's meaning and wording, and add no requirements of your own. Submit it for review, then tell me its version and who was asked to review it.
Notes:
- Anyone can shorten a URL that starts with http:// or https://, and gets back a short link with a 7-character code.
- Shortening any other URL is refused, with a message saying why.
- When shortening, the person chooses how long the link lasts: 1 hour, 1 day or 7 days. If they don't choose, it lasts 7 days.
- Opening a short link before it expires takes the visitor to the original URL.
- Opening an expired short link shows a page saying the link has expired. It never redirects.
- Opening a code that was never issued shows a "not found" page.
- Each visit that redirects adds one to the link's visit count.
- With the short link, the person gets a private stats link that shows the link's visit count and when it expires.
- Codes are generated with crypto.randomBytes and stored in a SQLite table named links.It answers that short-links version 1 is in review, waiting on ada: you. Nothing is truth until a review commits it, and intent is a person's, so by default your kolab's policy keeps approving the spec for a person: an agent's verdict on it is refused. Your spec-reviewer reads it for you; the verdict is yours. The last note is implementation, not behavior, on purpose.
In the spec-reviewer session:
You are the product reviewer for Linkly. You work in Konjir through your konjir tools. Call konjir_instructions which=reviewer first and follow it. Our team's rule: implementation never goes into the spec, so request changes for a layer leak rather than approving with one.
short-links waits in review for a person to approve it, so don't call konjir_review: review it for me. Read the version in review with konjir_read_node node=short-links version=<its version>, check it as the reviewer instructions say, and tell me the verdict you would give, with the note and the element IDs of anything you found.It recommends requesting changes: the requirement about crypto.randomBytes and SQLite prescribes implementation, a layer_leak, which belongs in the binding. Give that verdict yourself. In kolab.konjir.com, signed in with GitHub in your kolab, next to Working as, choose product. Open Reviews, then short-links under Waiting for your review, and choose Request changes with the reviewer's note. The version goes back to its author as a draft.
Back in the spec-writer session:
You are the product writer for Linkly. You work in Konjir through your konjir tools. Call konjir_instructions first and follow it.
Your spec short-links came back with changes requested. Read the reviewer's note and findings (konjir_list_reviews), then fix what they found: draft a new version that keeps the spec to what people experience, abandon the version that came back, and submit the new one for review. Nothing of short-links has committed yet, and deltas apply only to a committed version, so send the full element list. Tell me what you changed.It abandons version 1 and submits version 2, with the implementation note dropped or rewritten as behavior. Give the reviewer's prompt to the spec-reviewer again. If it finds something else (in one of our runs it asked for a requirement to be split in two), request changes with its note, and run the writer's prompt and the reviewer's again. When it finds nothing, choose Approve under Reviews: the version commits, and each requirement has an address such as kj:short-links@2#R3.
4. Bind it
In the architect session:
You are the engineer for Linkly. You work in Konjir through your konjir tools. Call konjir_instructions first and follow it.
Bind the committed spec short-links to our stack. Create a binding node (kind binding; it binds the kolab's one spec) named short-links-binding, titled "Linkly on Node.js", for this stack: Node.js 22 or later with no npm dependencies, node:http for the server, node:sqlite for storage, node:test for the tests. Write one element per implementation decision (b1, b2, ...). Link each element (source_element) to exactly the requirements it serves and no others; don't link a stack-wide choice to every requirement. Every requirement must be served by at least one element. Add no behavior the spec doesn't state.
Plan the build in the same binding, as one work package: an element W1, "Build Linkly as this binding says: the server in server.js, the tests in test/linkly.test.js, and a package.json whose test script runs node --test. Above the code that implements each element, a one-line comment names its address, such as // kj:short-links-binding#b3; no spec or binding text is copied into the repository.", with a work field whose done_when is "server.js and test/linkly.test.js implement every requirement as this binding says, and npm test passes", and whose size is M. Link W1 to every requirement of short-links, since it builds them all. Submit the binding for review, then tell me its version and each element with the requirements it links to.It lists the decisions, b1 to b8 in our run, each linked to the requirement it serves, and the work package W1, linked to every requirement, and says version 1 waits on your approval. Each link is pinned to the version of the requirement it was written against. A binding's elements are its decisions and its work packages: an element with a work field is work to do, which a job builds; a decision never is.
By default your kolab's policy lets an agent approve technical versions, and once your machine is working (step 6), one of your pool agents reviews versions like this one for you. For now the reviewer is you: you hold Write on the technical layer as the kolab's owner, and the architect, your only other engineer yet, wrote it. In kolab.konjir.com, sign in with GitHub and choose your kolab. Next to Working as, switch to engineer. Open Reviews, then short-links-binding under Waiting for your review, read it, and choose Approve. It commits.
5. Ask product a question
An engineer who finds the spec silent asks, instead of guessing; so does a job. In the architect session:
You are the engineer for Linkly. You work in Konjir through your konjir tools. Call konjir_instructions first and follow it.
Before building, settle one question with product instead of guessing: when the same visitor opens the same short link again, does that visit count too, or only the first visit from each visitor? Ask it with konjir_ask on the short-links requirement about the visit count, from the short-links-binding element that counts visits, so the answer comes back to that element. Then tell me the question's id, the requirement it's on and the element that waits on it.It reports a question on the visit-count requirement, waiting on the element that counts visits: in our run, kj:short-links#R7 and kj:short-links-binding#b7. The question goes to the functional layer's inbox, so the spec-writer's session gets a ← konjir: message about it. Its answer turns on what the spec intends, and an agent answers a question about the spec only by citing a committed source other than the requirement it asks about: it doesn't invent intent. Nothing else says whether repeat visits count, so the answer is yours. In kolab.konjir.com, as product, open Questions, find the question on the visit-count requirement, and answer it:
Every visit that redirects counts, repeat visits from the same visitor included: that is what the requirement says.Leave the spec as it is: it already says so.
The answer comes back to the element that waited on it, as a query_answered mark, even though the spec text didn't change. The architect's konjir_list_stale now shows, in our run:
"reason": "query_answered",
"dirty": "kj:short-links-binding@1#b7",
"next": "A question this element was waiting on has been answered. Revise the element to match (editing it clears the mark), or konjir_clear_mark if it already holds."6. Build it
Work is built in a git repository that the kolab knows, by jobs your machine runs. Kolab never reads git: you register the repository, pinned by its first commit, and kolab work and kolab work deliver refuse any other checkout. Only a person registers one, never an agent. Open a fourth terminal:
. ~/linkly/konjir.sh && cd ~/linkly
kolab login --kolab $KOLAB --role engineer
kolab repo register --binding short-links-binding
kolab workOn Kolab's page, under Work as, choose Yourself, then Allow. This is your terminal's session; you hold one on each machine you sign in from, and your browser keeps its own, so the web page stays signed in. kolab repo register answers with the repository, https://github.com/<your login>/linkly, "binding": "short-links-binding" and "confirmed": false.
kolab work sets this machine to work, and keeps it working until you stop it with Ctrl-C. It checks that this checkout is the registered repository and fetches it from GitHub, then takes items from Kolab, up to 4 jobs at once: a review first, then a ready work package, then a question, note or mark on the technical layer, then a requirement no binding element serves yet. Each job is one of your pool agents, made the first time a job needs it, and runs Claude Code headless on your account, in a git worktree of its own under ~/.konjir/jobs, with Kolab as its only MCP server. It does its one item and exits. It may edit files and run git, npm, npx, gh and kolab; it never merges, never pushes to the default branch and never deploys: those stay yours. You should see:
kolab work: ada in kolab linkly-ada, on ada-laptop, in /Users/ada/linkly (https://github.com/ada/linkly, from origin); up to 4 jobs at once.
job …: build kj:short-links-binding#W1 as ada-engineer-1, in /Users/ada/.konjir/jobs/…
job …: mark … as ada-engineer-2, in /Users/ada/.konjir/jobs/…
...
job …: done (Kolab: submitted) (exit 0)
job …: review kj:short-links-binding#W1 as ada-engineer-2, in /Users/ada/.konjir/jobs/…
...
job …: done (Kolab: reviewed) (exit 0)
waiting 30 s: …A job takes a few minutes. What each does:
- The mark. The
query_answeredmark from step 5 is an item too. Its job checks the element against the answer: the binding already counts every visit, so it clears the mark, saying why. - The build.
W1is ready: its binding is committed, and nothing open blocks it. Its job reads it, writesserver.js,package.jsonand the tests, runsnpm testuntil it passes, and commits on a branch of its own with the trailer that ties the commit to the package,Konjir-Work: kj:linkly-ada/short-links-binding#W1in our run. It pushes the branch and opens a pull request, then runskolab work deliver --submit, which finds the commits that carry the trailer, checks that its checkout is the registered repository, records them and the pull request as the package's evidence and submits it.W1is In review. - The review. Another pool agent, never the one that built it, takes the review: it checks out the pull request, runs the tests, tries to break what they pin, and gives its verdict with a note saying what it ran. By default an agent may approve a work package. A request for changes sends
W1back to the agent that built it, In progress, and the next jobkolab workstarts is that agent's, making the change the note asks for.
To see where things stand, run kolab status in another terminal: the queue, the jobs running and who runs them. In kolab.konjir.com, as engineer, W1 shows its done-when, who built it, and its evidence: the commit by its SHA, the pull request and the test run. You can review it there too: you hold Write on the technical layer, so its review waits for you as well, and the first verdict counts.
Once it's approved, W1 is Done. If a review job approved it, the page says the repository is confirmed: an approval by someone other than its registrant (you) and the package's builder confirms it. If you approved it yourself, it stays unconfirmed, since you registered it. The code points at the binding by address, never by copying it. Read the change, then merge it yourself, since a job never merges; it is the repository's first pull request, so its number is 1:
gh pr diff 1
gh pr merge 1 --merge
git pull
grep -n "kj:" server.js
git log -1 --format='%h %s%n%(trailers:key=Konjir-Work)' HEAD^2W1 was Done at its approval because nothing deploys Linkly. A work package whose work field says release: true, one that counts as done only once it is deployed, stays In review, approved, until its release is recorded: after the deploy, someone with Write on the technical layer other than its assignee (the agent that built it) runs kolab work deliver kj:short-links-binding#W1 --release <the deploy run's URL> in a checkout of the repository, from an engineer session outside any job (your terminal's, say). The run is a GitHub Actions run of the registered repository, and the release names it and the commit it deployed. That makes it Done.
7. Change the spec
First stop kolab work: press Ctrl-C in its terminal. It stops any job still running and gives back what that job held. Left running, it would take each mark this step makes as a job of its own and settle it; stopped, the marks wait for you to see them, and step 8 settles them in order.
Product decides that a link with no chosen duration lasts 1 day, not 7. In the spec-writer session:
You are the product writer for Linkly. You work in Konjir through your konjir tools. Call konjir_instructions first and follow it.
Product decision: a link the person doesn't choose a duration for now lasts 1 day, not 7 days. Change only the requirement that says how long links last, with a delta that keeps its ID, and submit the new version of short-links for review. Tell me the version.Give the spec-reviewer its review prompt from step 3. When it finds nothing, approve the new version on Kolab's page as in step 3, as product: it commits, and Kolab checks every link into the spec against it. The architect's session gets, in our run:
← konjir: Your technical inbox in linkly-ada changed: 0 open questions and notes, 3 open marks.
New marks on your work:
- mark … on kj:short-links-binding@1#b5 (changed): kj:short-links#R3 changed in version 3. Next: …
- mark … on kj:short-links-binding@1#b6 (changed): kj:short-links#R3 changed in version 3. Next: …
- mark … on kj:short-links-binding@1#W1 (changed): kj:short-links#R3 changed in version 3. Next: kj:short-links-binding#W1 is Done, and at risk (PLN10): …Only what links to the requirement that changed is marked: the decisions that serve it, and the work package that built it. Every other link re-pinned to the new version without a mark. W1 stays Done, but at risk, and its mark carries a revisit: the repository, the commits and the files its work touched, so whoever picks it up knows where to look. In the web page, as engineer, each mark sits beside its element with the requirement's text before and after.
8. Resolve the marks
In the architect session:
You are the engineer for Linkly. You work in Konjir through your konjir tools, and in this repository. Call konjir_instructions first and follow it.
The spec changed. Run konjir_list_stale and settle every mark on your layer. For a binding element, read what changed with konjir_read_node; where it still holds, konjir_clear_mark it; where it doesn't, revise it with a delta that keeps its ID, and submit the new version of short-links-binding for review. For a work package that is Done and at risk, look at the files its revisit names: if the code still holds, clear its mark; if it doesn't, reopen it with konjir_reopen_work, and don't rebuild it until the binding it builds is committed. Tell me, for each mark, what you did and why.A marked decision that still holds (in our run, the one about storage) has its mark cleared. The one that said the default was 7 days is revised, keeping its ID, and short-links-binding version 2 goes into review. The code no longer holds either, so it reopens W1, which settles its mark and puts it back to To do. Approve version 2 on Kolab's page, as engineer: next to Working as, switch to engineer, open Reviews, then short-links-binding version 2 under Waiting for your review, read what changed, and choose Approve. (Had kolab work been running, a review job could have given that approval.)
Then set your machine to work again, in its terminal:
kolab workW1 is ready again, so a build job takes it, starting from the code you merged: it changes the default and its test, commits with the same trailer, opens a second pull request and delivers it. Only this round's commits are sent; the first round's stay recorded as they were. A review job approves it, or sends it back. When W1 is Done, merge the second pull request as before:
gh pr diff 2
gh pr merge 2 --merge
git pullThat's the loop: intent stated once, a binding pinned to it, work packages built, reviewed and delivered with their commits by jobs your machine runs, questions routed to whoever owns the answer, and a change that reaches exactly what depends on it, finished work included.
Troubleshooting
- The browser didn't open. kolab prints the sign-in URL; open it yourself.
--kolab …: a kolab's name is lowercase letters, digits and '-'. kolab refuses a name no kolab can have before it opens anything. Use lowercase letters, digits and-, starting with a letter or digit, at most 40 for a new kolab.- The setup page says
This setup can't be allowed, with only Deny. It says why, and so doeskolab connectonce you choose Deny; nothing is made or written. The usual one:a kolab named linkly-ada already exists, and you can't reach it. Kolab names are unique across Konjir, so someone has it. The page lists the kolabs you do reach, and if one of yours has that name as its title, it says so: use that kolab's name instead. Otherwise choose another name, put it inkonjir.shasKOLAB, and runkolab connectagain. you denied the setup on Kolab's page. You chose Deny. Nothing was made or written; runkolab connectagain and choose Allow.you have … live agents, and this would make … more. A person holds at most 1000 live agents. The message names yours, least recently used first, with the day each last used Kolab;kolab list_agentslists them too, with their kolabs and whether one is signed in now. Archive ones you no longer use (kolab archive_agent label=<label>, signed in as yourself), or name fewer.- Kolab's sign-in page says
It asks for the kolab …, and you can't reach a kolab of that name.--kolabtakes a kolab's name, not its title. If one of yours has that title, the page asksDid you mean …?: choose that kolab on the page, or deny and runkolab login --kolab <its name>again. you ran 3 setups that made agents in the last 10 minutes. One setup makes as many agents as you name, but at most 3 setups that make agents run in 10 minutes. Wait, then run it again: it reuses what it already made.a product session may not write the technical layerwhen you approve the binding. Switch to engineer next to Working as, then approve.- A version waits and nobody is asked. A review request reaches only those who work in the layer's role, and whom the kolab's policy lets approve it: a spec is a person's to approve by default. “Nobody else can review the functional layer yet” means no one who may is working as product: review it yourself in that role.
kolab …'s policy keeps reviewing functional versions for a personwhen the spec-reviewer reviews. By default only a person approves a spec. Have it tell you its verdict, and give it yourself on Kolab's page, as in step 3. An Admin of the kolab can change that (kolab set_policy approve_functional=agent, signed in as yourself), but the default keeps intent with you.an agent answers a question on the functional layer only by citing, oris not its own source. An agent answered a question about the spec without citing a committed source other than the requirement it asks about. Answer it yourself on Kolab's page, as product, as in step 5, or have the agent cite the other requirement or ruling that settles it.- An agent says its channel has no sign-in. It names the command that signs it in,
KONJIR_CREDENTIALS=… kolab login --url https://kolab.konjir.com/mcp --agent <agent>. Run it in another terminal; the channel picks the sign-in up by itself. - Agents keep signing each other out. An agent holds one session at a time. Don't also add Kolab's HTTP server (
claude mcp add … /mcp) as the same agent, and don't runkolab loginas an agent that a session uses. - No
← konjir:messages arrive. Channels need Claude Code signed in with a claude.ai account, the development-channels flag, and an interactive session; on Team and Enterprise plans an admin enables channels first. The tools work without them: ask the agent to check its inbox withkonjir_list_reviews,konjir_list_queriesandkonjir_list_stale. this checkout tracks …, not …oris no repository registered in this kolab.kolab workandkolab work deliverrun only in a checkout whose first commit and remote are the registered repository's. Check thatgit remote -vshows the GitHub repository you made in step 1, and run them in~/linkly.this session is …, an agent: kolab work runs as a person.kolab workruns as you, and your pool agents do the jobs. Runkolab login --kolab $KOLAB --role engineerand choose Yourself on Kolab's page, with noKONJIR_TOKENorKONJIR_CREDENTIALSset.kolab work couldn't fetch origin. It fetches the repository before it takes anything, with your own git credentials. Check thatgit fetch originworks in~/linkly, and that step 1'sgh repo createpushed.the harness claude isn't on PATH. The jobs run Claude Code. Install it, or startkolab workfrom a terminal whosePATHfindsclaude.kolab worksaysnothing taken: …orwaiting 30 s: …. Nothing is ready for a job, and it says why:W1waits while a question on a requirement it builds is open, say. It looks again by itself, at once when your inbox changes.- A job ended
failed, orreleased. Its item went back to Kolab for another job, or, when it needs a person, to you, with the job's note saying what you must decide. Each job's log is~/.konjir/jobs/<job>.log, andkolab statusshows the queue and the jobs running. every pool agent of yours that could take it is busy, and you have … live agents. Your pool agents count among your 1000 live agents. Archive agents you no longer use (kolab archive_agent label=<label>, signed in as yourself), or wait for a job to end.a person with Maintain or Admin registers itwhen an agent tries. Registering a repository is always a person's act. Runkolab repo registeryourself, signed in as yourself (step 6).kolab repo register,kolab workorkolab set_work_leaseacts on the wrong kolab. A sign-in works in one kolab, and these act in that one. In~/linkly,.konjir.jsonnames$KOLAB, and kolab refuses a sign-in that works in another, saying so. To act in another kolab, sign in there first, as yourself, and name it:kolab login --kolab <its name>, then the step with--kolab <its name>. The terminal keeps one sign-in to Kolab, so that one replaces its sign-in to$KOLAB(your browser's is its own): sign back in to$KOLABafterwards.- A deltas draft says
cannot override …: not in parent. Deltas apply to the node's latest committed version. A first version that came back with changes requested never committed, so draft the full element list again. If the node has a committed version, the refusal lists its element ids: check the one you gave. kolab loginsays the sign-in took too long. It waits 20 minutes for your browser, as long as Kolab's sign-in page lasts. Run it again.- A build job asks a question about the spec instead of building. Its playbook tells it to ask in Konjir, with
konjir_ask, rather than guess, so the question reaches the functional layer's inbox as in step 5, and it gives the package back. Answer it on Kolab's page: an open question blocks the work that serves its requirement until it is answered, and thenkolab workbuilds it. kolab: command not found, or a command this page names isn't there. The commandkolabcomes from@konjir/kolab; the older packagekonjir, up to 0.8.0, installskonjirinstead. Check thatkolab --versionsays 0.9.0, and thatwhich kolabis the one under~/.konjir.
Clean up
First stop kolab work (Ctrl-C in its terminal) and quit the three Claude Code sessions (/exit in each), so no channel is left waiting for a sign-in you're about to revoke. Then, in kolab work's terminal, sign each agent out. Its sign-in is kept in the agents folder beside kolab's own (${XDG_CONFIG_HOME:-$HOME/.config}/konjir, unless you set KONJIR_CREDENTIALS), in a file named after the agent:
. ~/linkly/konjir.sh && cd ~/linkly
for a in spec-writer spec-reviewer architect; do
KONJIR_CREDENTIALS="$KJ_AGENTS/$ME-$a.json" kolab logout
doneEach prints the sign-in is revoked and forgotten. Then archive the agents, which frees their places among your 10, and sign out. This terminal is still signed in as yourself from step 6; if it isn't, run kolab login --kolab $KOLAB first and choose Yourself.
for a in spec-writer spec-reviewer architect; do kolab archive_agent label=$a; done
kolab list_agents
kolab logout
rm -rf .mcp.json .konjir.json .claudeTo remove the CLI itself, rm -rf ~/.konjir.
kolab list_agents lists the agents you have left: your pool, <you>-engineer-1 and on. They do the jobs of any kolab you set a machine to work in, so you can keep them; to free their places too, archive each the same way (kolab archive_agent label=engineer-1, before the kolab logout). The last line removes the Konjir entries, the project's note of its kolab and, if you took the subagent route, .claude/agents/. The jobs' worktrees under ~/.konjir/jobs are removed as each job ends, unless one left work that isn't pushed, and the GitHub repository stays yours.
An archived agent's name stays yours, and what it wrote stays in the kolab under its name. You can't archive the kolab yourself yet; only a Konjir admin can. It stays private to you, and you can reuse it. A person owns at most 10 kolabs.