frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: The TERSE state language and protocol

https://github.com/terse-lang/terse
1•infiniteAdmin•1h ago
# Hello World(valid terse; for Show HN)

I'm terse(greetings)

## Container

"A container may have one text block, single or multi-line"

Object(Semi-colon separated attributes; variables_like: 123; "Traditional unicode strings allowed here too.")

Another object with a name(multiple objects under a container)

## Further description of TERSE

"""

TERSE is a unified way to store state, with a defined way to query and mutate it that has been relentlessly refined for overall simplicity and token efficiency not just at rest, but in operation.

We realized state access was a low-level, common pattern that keeps getting reinvented. It goes deeper than just AI memory. Consider that Anthropic memory and others are a bunch of markdown files and in some respects, they got it right... simpler is better.

So REALLY the problem is settling on a format that is flexible to cover 95% of a domain. We can do so MUCH better than Markdown; TERSE is opinionated on that but it has very good reasons.

By being a line-ordered and line-identifiable structure (with special treatment for free-form blocks like this), now the whole state can be idempotently re-declared. Literally, this text of this post is a TERSE state declaration that an AI or you could make. Or, duh, just copy this to a .terse file!

So let's say you did that. To query this state:

> ? Hello World

To copy this whole state somewhere:

> # My new container

> ? Hello World //inline queries physically expand into the declaration

Directives are a [tail] with composable set of operations. For example, let's clean that up.. I declare thee removed!

> # My new container [REMOVED] // all contents too!

There's more. TERSE makes it exceeding easy for the AI to do stuff with state.

The MCP has one main op where these two things are sent *together*

1) state declarations

2) state queries (post-application of declarations and results unioned)

BTW, to query all state, wait for it...

> ? // Not that you want do this often!

TERSE has a full object model for (de)serialization. A reference Python implementation of the full specification is also included.

"""

## Example apps included(to help get you started; in the monorepo)

### TERSE MCP("store anything you want locally for your AI")

### TERSE Memory(a generalist; modify your own)

### TERSE Brain

"A Karpathy-brain compatible API but with TERSE as the backing store. 1/6th token use and 1/8th the number of tool calls!"

### Misc

TERSE Browser(query-response UI; great for testing)

VS Code syntax highlighter(vsix included)

## Reminders

Terse is pre-release(alpha)

Comments

infiniteAdmin•1h ago
added line breaks. line breaks are important.

Why brilliant mathematicians choose coding over research

https://zenodo.org/records/21539087
1•epyre•3m ago•0 comments

OpenAI Is Down Again

https://status.openai.com/incidents/01KYC921K145JTR1JK7DYKGWH1
3•bakigul•6m ago•0 comments

ECB launches survey on the new euro banknotes

https://surveys.ecb.europa.eu/10b/neweuro
2•mnewme•11m ago•0 comments

Elder-plinius – The Fable 5 Showcase

https://github.com/elder-plinius/FABLE-SHOWCASE
1•davedx•12m ago•0 comments

The Rise of the Deserving Rich

https://www.economist.com/finance-and-economics/2026/07/23/the-rise-of-the-deserving-rich
1•NewCzech•12m ago•1 comments

Augmental: MouthPad goes public, and we introduce VOX

https://www.augmental.tech/news/mouthpad-and-vox-launch
1•leoc•15m ago•0 comments

Turning the database inside-out with Apache Samza (2015)

https://martin.kleppmann.com/2015/03/04/turning-the-database-inside-out.html
1•subset•16m ago•0 comments

India's 'Cockroach' Gen Z has had enough

https://www.ft.com/content/ac19e4f4-cf7b-4a75-b591-0ca79ef62d37
1•mraniki•18m ago•0 comments

Why did I buy this domain?

https://poop.bike/
1•edent•19m ago•2 comments

The uops.info Code Analyzer

https://uica.uops.info/
1•csmantle•20m ago•0 comments

ChatGPT Is Down

7•anujbans•22m ago•3 comments

Show HN: AgentState – Open-source resilience and caching proxy for AI agents

https://github.com/aleenz1102/AgentState
1•aijazahm19•24m ago•0 comments

Invaders is back: rescued from a forgotten Bitbucket account

https://www.atomic14.com/2026/07/24/invaders-is-back
1•iamflimflam1•24m ago•0 comments

Codex Is Down

9•freakynit•28m ago•4 comments

Wisprkey – 100% free and local voice typing for Mac

https://www.wisprkey.com
1•RoniHenareh•29m ago•1 comments

FastHTML

https://fastht.ml/
1•tosh•30m ago•1 comments

Show HN: AI codebase analyser and auto-fixer

https://www.getdebug.dev/blog/python-ai-app-prefilters
1•nutifafa•31m ago•0 comments

Supergun affair

https://en.wikipedia.org/wiki/Supergun_affair
1•networked•31m ago•0 comments

Data-Parallel Thinking (2024) [pdf]

https://gfxcourses.stanford.edu/cs149/fall24content/media/dataparallel/08_dataparallel_uvO76Qr.pdf
1•tosh•33m ago•0 comments

Ask HN: Is neuromorphic computing going to replace traditional AI?

2•lennart-rth•34m ago•0 comments

EU grants US request to restrict satellite images of Iran War region

https://arstechnica.com/space/2026/07/european-union-grants-us-request-to-restrict-satellite-imag...
3•mdp2021•37m ago•0 comments

Ask HN: How to use agents via API cheaply?

1•thih9•40m ago•3 comments

TiRex-2: Generalizing TiRex to Multivariate Data and Streaming

https://arxiv.org/abs/2607.01204
1•tosh•41m ago•0 comments

I built a non-physical GPU that does 194,396 yottaflops on one CPU core

https://github.com/pluscoder30-cpu/Omega_Field_GPU_Ultimate
1•soul-vector•44m ago•0 comments

Hardest engineering challenge in post-quantum Bitcoin?

https://github.com/chipcoin-protocol/chipcoin
1•chipcoinchc•45m ago•0 comments

A Natural Experiment in Economics

https://marginalrevolution.com/marginalrevolution/2026/07/a-natural-experiment-in-economics.html
2•smitty1e•45m ago•0 comments

Show HN: Hwatu – verification browser for coding agents (WebKit, one binary)

https://github.com/hongnoul/hwatu
1•hongnoul_•50m ago•0 comments

Show HN: SimTelemetry – SIM Racing Telemetry and Analysis

https://simtelemetry.site
1•ryanxsim•52m ago•0 comments

Case Study: AI Trainer Platform and Job Board [Months 1-6]

https://www.indiehackers.com/post/case-study-ai-trainer-platform-and-job-board-months-1-6-fcb5f25d54
1•interceptor666•56m ago•0 comments

Show HN: Nostalgia – A shareable Windows 98 desktop builder

https://nostalgia-stilloo.zocomputer.io/
1•tsachin•57m ago•0 comments