How kyyn works
A knowledge base in the middle, and the pieces you build around it.
The big picture
The knowledge base, and what you build around it
Evidence
Plugins fetch mail, meetings, CRM records and files.
Your team
What you work out together, agents and people alike.
Evolution
One change to schema, code and facts, checked before it's accepted.
Knowledge base
Typed facts and the code that gives them meaning, in a Git repo.
Queries and views
Typed answers, and pages built on them.
Outputs
Reports and pages published to the outside world.
Tools, recipes and flows
The work around the knowledge base, written down once so it runs again. Use the pieces you need.
The knowledge base
Schema
Your types, and how they link.
Facts
The records, linked to each other.
name Acme Ltd · segment enterprise
name Globex GmbH · segment mid-market
value €120k · stage negotiation
account → acme
value €38k · stage proposal
account → globex
what send revised pricing · due Aug 20
about → acme-renewal
what schedule pilot kickoff · due Aug 22
about → globex-pilot
Queries
Typed questions, kept in the KB.
open deals · value by stage
actions due this week
deals + actions per account
Checks
The KB's own rules run over every change.
History
Every change recorded in a plain git repo.
Evidence
Plugins
Each one connects kyyn to a system you already use.
Evidence
The latest fetch, captured on this machine. Source material to work from.
Instructions
An agent reads the evidence and follows the recipe.
A flow
The same steps every time, with each run recorded.
A conversation
A flow that asks deal owners and waits for their replies.
Evolution
The proposed change, with a reason for every edit.
Knowledge base
Accepted evolutions become the facts.
Outputs
Knowledge base
The accepted facts, and the queries over them.
Output
Runs account-health → the monthly report.
Output
Runs open-pipeline → a web page.
Output
Runs open-pipeline + actions-due → one pack.
Preview
See exactly what would be published. Nothing is written yet.
Publish
A sink delivers it.
Flows
Read
Query the open deals.
Ask
Send each deal owner a question on Teams.
Wait
The flow is saved. Restarts and shutdowns leave it intact.
Reply
Each answer is checked against the type the flow expects.
Evolution
The flow proposes what should change.
Every run is recorded
Follow it live or replay it step by step. A flow can start other flows and wait for them.
How do we build a knowledge base?
Schema
Deals, accounts, meetings, and how they link.
Plugins
Connect the mail, the calendar, the CRM.
Facts
The first records land.
Queries
The questions you keep asking, answered the same way each time.
Recipe
The weekly update, written down.
Output
The first report is published.
Flow
The weekly update runs as a flow, from a script.