frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: CodeAlmanac – Karpathy-style codebase wiki from your conversations

https://github.com/AlmanacCode/codealmanac/
19•divitsheth•2h ago
Hey HN! This is Divit from Almanac (YC S26). We built CodeAlmanac, a wiki for your coding agents that updates as you talk to them. It is open-source, local, and free.

Here’s a demo: https://www.youtube.com/watch?v=XNQWV3TFBWM

Your CC/Codex conversations contain a LOT of knowledge that is forgotten because it was never documented. People have their own methods of documenting their chats. We used to make Markdown files like MANUAL.md and DESIGN.md, and would prompt Claude to keep them updated. The problem is that these files quickly become outdated and messy, and there’s only so much you can put in a single file.

So we set out to build CodeAlmanac. We wanted something that was 1) maintained automatically, 2) lived inside our repository, and 3) used our existing Codex/Claude Code subscriptions.

CodeAlmanac maintains an almanac/ folder inside your repository. It contains connected Markdown pages that cover things not documented in the codebase, including decisions you have made and why the codebase is shaped this way.

The pages are indexed in SQLite and are queryable through a CLI. We add instructions to AGENTS.md or CLAUDE.md so future sessions automatically search the wiki before they start coding.

Every five hours, CodeAlmanac uses the Codex/CC SDK to spin up an agent that reads your new conversations and updates the relevant pages. We went with a time-based trigger instead of commits because we saw people commit very frequently, which would lead to high token costs.

We originally made CodeAlmanac for individual developers, but the team use case has become much more obvious to us while using it ourselves. We are a team of three, and each of us works with our own coding agents. Before this, I would make some change after a lot of thinking and then later have to call my cofounders and explain why it looked this way. There is almost a sense of relief now knowing that the decisions I made are written down somewhere their agents will actually read.

It’s live today for everyone to try. Please let me know your feedback and I’ll be here to answer any questions. Would also love to hear how you all maintain context across conversations today!

Comments

colinb•1h ago
Not in any way being negative about what you’ve done, but… Mac only. Is this just because of inbuilt knowledge about file system shape or some more important Apple exclusive tool/environmental quirk?
reveriedev•1h ago
We’re working on Linux/Windows support right now. Mac was the easiest to setup for us since that’s the machine we code on. What OS do you use?
pwillia7•1h ago
Any data on better outputs and/or token saving?
divitsheth•1h ago
We’re working on evals now. We ran a small preliminary LoCoMo test with a 2k-token retrieval budget:

Almanac: 55.7% BM25: 51.8% Supermemory: 47.6% Mem0: 60.6%

LoCoMo is not quite our use case. It tests conversational memory, while Almanac is more for coding agents trying to find their way around a codebase.

These results show output quality at the same token budget, not token savings yet. We’re working on coding agent evals that should be more representative.

ajrouvoet•1h ago
Although I’d like this to work, I have not seen evidence that AIs extract good reusable knowledge from sessions without strong guidance.

I do R&D work in comp sci and usually write software and reports or papers in parallel. I have been using Opus in a controlled human-in-the-loop fashion to (significantly) speed up the work. While I’m at times surprised how high-level input steers output the right way, no high level ideas emerge from the AIs output. Many attempts to abstract from the concrete are wrong.

As a consequence, most writing is poor on content and form. It writes about the wrong things and crosses abstraction levels all the time. It cannot keep implementation details and conceptual leaps apart.

I don’t know what this means for the aim of this project to maintain important info for agents. Perhaps there are enough low-hanging fruits. That said, I’m skeptical that the resulting wiki is good documentation for human contributors.

reveriedev•1h ago
We've found Opus/Gpt are really bad at technical writing. We've found ways around this by having guidelines like https://www.openalmanac.org/ai-patterns-to-avoid.md, which have worked quite well for us.

Understanding what is relevant to be documented vs not is definitely tricky and something we've spent a lot of time on. We found being more prescriptive about what should be documented is helpful, we incorporated guidance from diataxis for it (https://diataxis.fr/)

Also the wiki is primarily for your agents and not for people. Although we're working to improve the prose quality and structure so it is well written for humans too.

ajrouvoet•42m ago
Do you mean that specifically those models perform badly without guidance or do all models need specific instructions for technical writing?

We have observed that it is a loss for teamwork that the sparring with AI is entirely lost when only the technical conclusion is recorded. I write to recover that for my team and an AI can use it to its advantage as a side effect.

It would be cool to have good tool support for this process, but I’d bet on support, not delegation in that case.

reveriedev•34m ago
The models perform badly without guidance but we've found the guidance doesn't need a human in the loop (at least for this task). You can distill what makes a good wiki, what information should go in etc. and the models are good enough to do it reliably. That's what took the most time (researching and studying existing wikis)

When you say support do you mean something where you can collaborate with the model to maintain the wiki?

Show HN: Rememori – agent memory in pure TypeScript, zero dependencies

https://rememori.dev
1•GiorgioDotcom•1m ago•0 comments

VGMaps: The Video Game Atlas

https://vgmaps.com/
1•bpierre•3m ago•0 comments

Ambykit

https://github.com/ambystechcom/AmbyKit
1•tavobarrientos•3m ago•1 comments

I Vibe Coded an Inflation-Resistant Currency

https://www.masonforest.com/blockchain/cryptocurrency/bitcoin-dance/2026/07/21/i-vibe-coded-an-in...
1•masonforest2•4m ago•0 comments

I trained a 30M-param LLM from scratch and the scaling "floor" was a mirage

https://github.com/rishipadhye/my-LLM
1•rpadhye•6m ago•0 comments

Where Did All the Computer-Science Professors Go?

https://www.theatlantic.com/technology/2026/07/ai-companies-hiring-academics/688002/
3•enjoyyourlife•6m ago•0 comments

Show HN: TokenPath – token-level citations for LLM output, read from attention

https://tokenpath.ai
2•apoorvumang•10m ago•0 comments

Ramble Sessions with LLM's

https://twitter.com/karpathy/status/2079610838143623371
1•pretext•12m ago•0 comments

'VPNs are lawful technical tools,' says EU Court in landmark copyright ruling

https://www.techradar.com/vpn/vpn-privacy-security/vpns-are-lawful-technical-tools-says-eu-court-...
6•healsdata•14m ago•0 comments

N.J. MVC error registered 6,600 undocumented immigrants to vote

https://www.nj.com/politics/2026/07/thousands-of-undocumented-immigrants-were-registered-to-vote-...
1•speckx•20m ago•2 comments

Dementia symptoms that show up years before diagnosis

https://www.washingtonpost.com/wellness/2026/07/21/these-dementia-symptoms-can-show-up-years-befo...
1•brandonb•20m ago•0 comments

FBI Director Kash Patel Planning a Trip to Russia

https://www.reuters.com/world/us/fbi-director-kash-patel-planning-trip-russia-politico-reports-20...
8•Rooster61•20m ago•3 comments

Shardhash Protocol: Sharden Issuer

https://github.com/babakkarimib/shardhash
2•babakkarimib•20m ago•0 comments

OpenAI Shares Some Alignment Problems

https://thezvi.substack.com/p/openai-shares-some-alignment-problems
2•7777777phil•21m ago•0 comments

Jobflo is getting more useful

https://apps.apple.com/us/app/jobflo-private-job-tracker/id6759933192
1•jsrothwell•21m ago•0 comments

Pete Hegseth's Reckless Message to Helicopter Pilots

https://www.theatlantic.com/international/2026/07/hegseth-reckless-military-helicopter/688008/
6•Jtsummers•22m ago•0 comments

Why AI Needs a "Genie Coefficient"

https://spectrum.ieee.org/ai-agent-benchmark
1•mikelgan•22m ago•1 comments

SWARÓG: a highly powerful agent for network monitoring and content generation

https://medium.com/@a.galecki/swar%C3%B3g-highly-powerful-agent-for-network-monitoring-and-conten...
1•NodesHub•23m ago•1 comments

Fei-Fei Li says robotics simulation startup SceniX joins World Labs

https://runtimewire.com/article/fei-fei-li-scenix-joins-world-labs
1•ryanmerket•24m ago•0 comments

Show HN: Ounce, Stop measuring wealth in inflating fiat. Measure it in gold

https://useounce.com/
1•halfradaition•24m ago•0 comments

Show HN: Observability for Coding Agents and LLM Applications

https://telemetry.dev/
2•ephraimduncan•25m ago•0 comments

Impossible Colors

https://en.wikipedia.org/wiki/Impossible_color
2•akramachamarei•26m ago•1 comments

Ask HN: My Microsoft for Startups subscription is expiring

1•alexander2002•27m ago•0 comments

Substack adds an AI detector to help spot blogs written by no one

https://www.theverge.com/ai-artificial-intelligence/968855/substack-pangram-ai-detecting-tool
1•droidjj•27m ago•0 comments

Gritt: AI to Build Infrastructure with Robotics

https://www.gritt.ai/
1•wslh•27m ago•0 comments

Show HN: Collecte MTL – niche web app to know Montreal waste collection schedule

https://collectemtl.ca/
2•scastiel•28m ago•0 comments

Bruno Blocker – I made an free and lightweight focus app

https://www.brunoblocker.com/
2•aksel_salmi•29m ago•2 comments

France first European country to ban social media access for under-15s

https://www.theguardian.com/world/2026/jul/21/france-ban-social-media-access-under-15s
5•Erikun•29m ago•1 comments

Show HN: Posecode, a text language and renderer for human movement

https://www.posecode.org/play
5•brnbrn•29m ago•0 comments

Jimothy the raccoon has a rare spinal condition. Here's what that means

https://www.popsci.com/science/whats-jimothy-raccoon-condition/
2•speckx•29m ago•0 comments