# kyyn Tools for agents to build work that lasts. Kyyn is a set of tools for building a knowledge base with your team, and for making the work around it repeatable, visible and durable. - Remember. Typed facts in a Git repo. Each session starts from what the team already knows. - Repeat. Turn something you worked out once into a query, a tool or a flow, and run it again. - Show. Every change and every run has a page you can link to. - Check. A compiler and the KB's own rules check every change before it's accepted. - Keep going. Flows can ask a teammate a question and wait days for the answer. ## What you can build with it - A recruitment pipeline. Applications, interview notes and calendar invites become candidates, stages and decisions, with one page showing where every candidate stands. Uses Microsoft Graph, a recipe, a view. - A finance reconciliation. Bank exports and budget workbooks are matched line by line in exact amounts, and the unmatched items stay listed until a teammate settles them. Uses local files, checks, queries, an output. - A weekly deal review. A flow reads the open deals, asks each owner a question on Teams, waits for the replies and proposes the updates. Uses Salesforce, a flow, Teams replies. - Release notes. Merged pull requests and closed issues become a record of what shipped and why, published as a page each week. Uses GitHub, a recipe, an output. - A conference programme. Speakers, sessions and rooms, with rules that catch a double booking, a flow that asks each speaker to confirm, and a published schedule. Uses checks, a flow, an output. - A lore bible. Characters, timelines and canon worked out in conversation, with rules that keep each new chapter consistent with the ones before it. Uses types, facts, checks. ## How it works A knowledge base is a Git repository holding typed facts, the Haskell schema and rules that check them, and the queries, tools, recipes, views and outputs built on them. Every change to it is an evolution: schema, code and facts change together, are checked together, and are accepted together. - Plugins fetch evidence from Microsoft Graph, Salesforce, GitHub and local files. Evidence is captured locally and changes nothing until an evolution uses it. - Recipes hold a recurring task: as instructions for an agent, as a flow that runs the same steps each time, or as a flow that asks people and waits. - Queries read the accepted facts. Views are pages built on queries. Outputs render a query and publish it through a sink. - A read-only web interface shows every record, type, evolution, flow and run. Diagrams: https://kyyn.io/model ## Install Kyyn installs with Nix and needs Git. It runs on Linux, macOS and Windows through WSL2. The executable is named kyyn-v2. nix profile install github:drshade/kyyn-v2 kyyn-v2 guide `kyyn-v2 guide` prints the full guide: read it before building a knowledge base. `--help` works at every level of the command. ## Status Kyyn is in active development. Join the waitlist at https://kyyn.io/#waitlist