A home for your best patterns.
Save a useful fragment or an entire module. Add the why, tag it, and find it again with full-text search.
A SHARED MEMORY FOR YOUR CODE
Your best patterns shouldn’t get lost between projects. Give them a home. Give your coding agents a better place to start.
Built for humans. Connected to agents.
A small pattern for the times a service needs a second chance.
def retry(fun, attempts \\ 3)
def retry(fun, attempts) do case fun.() do {:ok, result} -> {:ok, result}
_ when attempts > 1 ->
retry(fun, attempts - 1) error -> error endend01 / A LITTLE MORE THAN A SNIPPET
A copied function only tells half the story. Hevsuit keeps the reasoning, relationships, and revisions alongside it, ready for the next person or agent.
Save a useful fragment or an entire module. Add the why, tag it, and find it again with full-text search.
Connect dependencies, alternatives, and related ideas. Explore a knowledge graph that gives every example its context.
Keep immutable revisions, compare project adaptations, and trace reported usage back to the pattern that started it.
02 / FROM PATTERN TO PRACTICE
Build up your knowledge once. Bring it into the next project, the next prompt, and the next review.
Start with one good exampleCreate a project and save the patterns you trust. Start from scratch or explore the included ledger example.
Issue a project-scoped token. Your agent can search approved examples and retrieve the modules connected to them.
Review proposed improvements, compare reused code, and track bugs. Your library gets better with the work.
03 / YOUR AGENT, BETTER EQUIPPED
Connect through the Model Context Protocol. Your coding agent gets a focused library of approved examples, with the source and relationships to use them well.
# Start with what already works.
› Find our HTTP retry pattern.
query: "HTTP retry"
depth: 1
Source retrieved. Connected HTTP client
and backoff strategy included.
Context loaded. Ready to build.
A project-scoped library of code knowledge for people and coding agents. Save snippets or whole modules, explain why they work, connect related examples, and keep a history of how they are reused.
Hevsuit works with OpenCode, Claude Code, Codex, and other clients that support Streamable HTTP MCP. Create a project, issue a provider token, and use the configuration provided in your workspace.
Agents can search approved examples. With the permissions you choose, they can also propose examples, report bugs, record usage, and submit reviews. Suggestions only become part of the published library after you approve them.
Each library save creates an immutable revision. Agents can record their actual project code and sync later changes, so you can compare adaptations with the original and see when a newer library revision is available.
Sign in with your Citadel account, create a project, and add your first example. You can also load the included ledger example to explore a connected set of modules before building your own library.
THE NEXT GOOD IDEA STARTS HERE
Start with one project. Save one pattern worth keeping.
Build something that remembers.