<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/knowledge-as-code-the-memory-file-just-got-a-spec-rlawyv7rd" -->

---
title: Knowledge as Code: The Memory File Just Got a Spec
description: Google&#x27;s Open Knowledge Format (OKF) v0.1 is a minimal spec for structuring agent-readable knowledge bases as markdown files with YAML frontmatter in a git...
canonical: https://daily.dev/posts/knowledge-as-code-the-memory-file-just-got-a-spec-rlawyv7rd
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Knowledge as Code: The Memory File Just Got a Spec | daily.dev
og:description: Google&#x27;s Open Knowledge Format (OKF) v0.1 is a minimal spec for structuring agent-readable knowledge bases as markdown files with YAML frontmatter in a git...
og:url: https://daily.dev/posts/knowledge-as-code-the-memory-file-just-got-a-spec-rlawyv7rd
og:image: https://api.daily.dev/og/posts/rLawyv7Rd.png
og:image:alt: Knowledge as Code: The Memory File Just Got a Spec
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Knowledge as Code: The Memory File Just Got a Spec

**[Pulumi](https://daily.dev/sources/pulumi)** · 9 min read · 2 upvotes · 0 comments

## Summary

Google's Open Knowledge Format (OKF) v0.1 is a minimal spec for structuring agent-readable knowledge bases as markdown files with YAML frontmatter in a git repository. Inspired by Andrej Karpathy's LLM wiki pattern, OKF standardizes how AI agents store and share persistent memory across runs. The spec requires only one frontmatter field (type), uses reserved filenames (index.md, log.md), and treats markdown links as relationship assertions. The post argues this 'knowledge as code' approach fills the missing layer in agent loops — alongside tools, skills, and prompts — by giving teams a diffable, reviewable, git-native format for operational knowledge like runbooks and decision records. A practical example shows linking Pulumi URNs to runbooks so agents can navigate from a resource to its operational context before proposing changes.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.pulumi.com/blog/knowledge-as-code-the-memory-file-just-got-a-spec>

## Similar posts on daily.dev

- [How the Open Knowledge Format can improve data sharing](https://daily.dev/posts/how-the-open-knowledge-format-can-improve-data-sharing-qqswihmau) · Google Cloud · 14 upvotes · 0 comments

---

Tags: [#productivity](https://daily.dev/tags/productivity), [#ai-agents](https://daily.dev/tags/ai-agents), [#iac](https://daily.dev/tags/iac), [#pulumi](https://daily.dev/tags/pulumi)

[View this post on daily.dev](https://daily.dev/posts/knowledge-as-code-the-memory-file-just-got-a-spec-rlawyv7rd)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Knowledge as Code: The Memory File Just Got a Spec","url":"https://daily.dev/posts/knowledge-as-code-the-memory-file-just-got-a-spec-rlawyv7rd","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/knowledge-as-code-the-memory-file-just-got-a-spec-rlawyv7rd"},"datePublished":"2026-07-14T13:12:41.094Z","dateModified":"2026-07-14T14:21:19.076Z","description":"Google's Open Knowledge Format (OKF) v0.1 is a minimal spec for structuring agent-readable knowledge bases as markdown files with YAML frontmatter in a git...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/272bbbf0083446d6eb36d6647a817f18?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/272bbbf0083446d6eb36d6647a817f18?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Pulumi","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Pulumi","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/9792c211dccf434c8b469efac5b7b2ec","url":"https://daily.dev/sources/pulumi"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/knowledge-as-code-the-memory-file-just-got-a-spec-rlawyv7rd","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"productivity,ai-agents,iac,pulumi","timeRequired":"PT9M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Pulumi","item":"https://daily.dev/sources/pulumi"},{"@type":"ListItem","position":3,"name":"Knowledge as Code: The Memory File Just Got a Spec"}]}
```

