<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Arman</title>
    <description>The latest articles on DEV Community by Arman (@aubakirovarman).</description>
    <link>https://dev.to/aubakirovarman</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3962758%2F911e2d53-f027-498b-9f47-b0f33deb2eff.png</url>
      <title>DEV Community: Arman</title>
      <link>https://dev.to/aubakirovarman</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/aubakirovarman"/>
    <language>en</language>
    <item>
      <title>I'm building CortexDB — an agent-native context database for AI agents</title>
      <dc:creator>Arman</dc:creator>
      <pubDate>Tue, 16 Jun 2026 23:02:22 +0000</pubDate>
      <link>https://dev.to/aubakirovarman/im-building-cortexdb-an-agent-native-context-database-for-ai-agents-59fe</link>
      <guid>https://dev.to/aubakirovarman/im-building-cortexdb-an-agent-native-context-database-for-ai-agents-59fe</guid>
      <description>&lt;h1&gt;
  
  
  I'm building CortexDB — an agent-native context database for AI agents
&lt;/h1&gt;

&lt;p&gt;Most modern RAG systems work like this:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Split documents into chunks
&lt;/li&gt;
&lt;li&gt;Generate embeddings
&lt;/li&gt;
&lt;li&gt;Store them in a vector database
&lt;/li&gt;
&lt;li&gt;Retrieve top-k similar chunks on query
&lt;/li&gt;
&lt;li&gt;Send them to an LLM&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;It works for simple use cases. But as AI agents become more autonomous and complex, a clear problem appears:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Agents don’t just need similar text chunks.&lt;br&gt;&lt;br&gt;
They need &lt;strong&gt;bounded, permission-safe, evidence-aware, and verifiable context&lt;/strong&gt;.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This is why I started building &lt;strong&gt;CortexDB&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/AubakirovArman/CortexDB" rel="noopener noreferrer"&gt;https://github.com/AubakirovArman/CortexDB&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What is CortexDB?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;CortexDB&lt;/strong&gt; is a single-node, agent-native context database. Its main goal is to compile &lt;strong&gt;ContextPacks&lt;/strong&gt; — structured, citation-rich, token-budgeted bundles of context for AI agents.&lt;/p&gt;

&lt;p&gt;Instead of returning raw chunks, it returns a ready-to-use package that includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Source citations&lt;/li&gt;
&lt;li&gt;Explanation of why each piece was selected&lt;/li&gt;
&lt;li&gt;Token usage information&lt;/li&gt;
&lt;li&gt;Anomaly and conflict detection&lt;/li&gt;
&lt;li&gt;Permission and scope awareness&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Key Features
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;ContextPack&lt;/strong&gt; — structured output format with citations and token control&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;VERIFY FACT&lt;/strong&gt; — deterministic fact verification (including numerical conflicts)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AQL&lt;/strong&gt; — custom declarative query language designed for agents&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tool Registry&lt;/strong&gt; + &lt;strong&gt;Typed Knowledge Graph&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Durable single-node storage (WAL + MVCC)&lt;/li&gt;
&lt;li&gt;Published SDKs for &lt;strong&gt;Python&lt;/strong&gt;, &lt;strong&gt;TypeScript&lt;/strong&gt;, and &lt;strong&gt;Rust&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Example: ContextPack
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
json
{
  "token_budget_tokens": 4000,
  "estimated_tokens": 2500,
  "truncated": false,
  "citations_required": true,
  "cells": [...],
  "anomalies": [...]
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>rag</category>
      <category>agents</category>
      <category>rust</category>
      <category>database</category>
    </item>
    <item>
      <title>I'm building CortexDB — an agent-native context database for AI agents</title>
      <dc:creator>Arman</dc:creator>
      <pubDate>Mon, 01 Jun 2026 14:28:08 +0000</pubDate>
      <link>https://dev.to/aubakirovarman/im-building-cortexdb-an-agent-native-context-database-for-ai-agents-2bnp</link>
      <guid>https://dev.to/aubakirovarman/im-building-cortexdb-an-agent-native-context-database-for-ai-agents-2bnp</guid>
      <description>&lt;h1&gt;
  
  
  I'm building CortexDB — an agent-native context database for AI agents
&lt;/h1&gt;

&lt;p&gt;Most modern RAG systems follow the same pattern:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Split documents into chunks&lt;/li&gt;
&lt;li&gt;Compute embeddings&lt;/li&gt;
&lt;li&gt;Store them in a vector database&lt;/li&gt;
&lt;li&gt;Retrieve top-k similar chunks&lt;/li&gt;
&lt;li&gt;Send them to an LLM&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;It works. But as AI agents become more autonomous, a clear problem emerges:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Agents don't just need similar chunks.&lt;br&gt;&lt;br&gt;
They need &lt;strong&gt;bounded, permission-safe, evidence-aware, and verifiable context&lt;/strong&gt;.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That's why I'm building &lt;strong&gt;CortexDB&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/AubakirovArman/CortexDB" rel="noopener noreferrer"&gt;https://github.com/AubakirovArman/CortexDB&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  What is CortexDB?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;CortexDB&lt;/strong&gt; is an experimental &lt;strong&gt;agent-native context database&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;It's not a traditional vector database.&lt;br&gt;&lt;br&gt;
It's not a key-value store.&lt;br&gt;&lt;br&gt;
It's not just another memory layer on top of embeddings.&lt;/p&gt;

&lt;p&gt;The core idea is to store knowledge and agent memory in a way that allows the system to compile a structured &lt;strong&gt;Context Pack&lt;/strong&gt; — a ready-to-use, evidence-aware package of context.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why classic RAG is often not enough
&lt;/h2&gt;

&lt;p&gt;Classic retrieval often returns raw chunks. This leads to several problems:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Duplication&lt;/li&gt;
&lt;li&gt;Weak provenance&lt;/li&gt;
&lt;li&gt;Token budget overruns&lt;/li&gt;
&lt;li&gt;Potential data leakage&lt;/li&gt;
&lt;li&gt;Ignored contradictions&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Document 1: &lt;em&gt;Solar Plant budget is 1.2B KZT&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;Document 2: &lt;em&gt;Solar Plant budget was updated to 1.4B KZT&lt;/em&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A classic pipeline may return only the first document, and the agent confidently answers with an outdated number.&lt;/p&gt;

&lt;p&gt;CortexDB is designed to handle such conflicts properly.&lt;/p&gt;




&lt;h2&gt;
  
  
  Core Feature: ContextPack
&lt;/h2&gt;

&lt;p&gt;The main output of CortexDB is a &lt;strong&gt;ContextPack&lt;/strong&gt; — a structured context package:&lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
json
{
  "token_budget_tokens": 4000,
  "estimated_tokens": 2500,
  "truncated": false,
  "citations_required": true,
  "cells": [...],
  "anomalies": [...]
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>rust</category>
      <category>database</category>
      <category>ai</category>
      <category>rag</category>
    </item>
  </channel>
</rss>
