cd /news/ai-agents/i-built-genesis-the-first-brain-for-… Β· home β€Ί topics β€Ί ai-agents β€Ί article
[ARTICLE Β· art-90465] src=dev.to β†— pub= topic=ai-agents verified=true sentiment=↑ positive

I Built Genesis: The First Brain for AI Agents (Agent-skills)

Developer Raiyan Islam built Genesis, a project-local cognitive layer for AI agents that preserves project knowledge across sessions. The tool, available on GitHub and Skills.sh, uses plain files to store architectural decisions, patterns, and conventions, reducing agent setup time by roughly 80% in his workflow. Genesis aims to make project knowledge version-controlled and shareable, enabling agents to start with prior context rather than rediscovering it.

read4 min views1 publishedAug 10, 2026

AI coding agents are getting better at writing code.

But there is still a problem I keep seeing:

Every new agent session starts by rediscovering the project.

It has to figure out the architecture.

It has to discover conventions.

It has to understand previous decisions.

It has to learn how the team works.

And after the session ends, a lot of that understanding disappears.

So I built something to address that problem.

Genesis.

GitHub β€” raiyanu/agent-genesis

Skill.sh β€” raiyanu/agent-genesis

Genesis is a project-local cognitive layer for AI agents.

I think of it as the first brain of an agent.

Before an agent starts working on a project, Genesis gives it a structured way to:

The core idea is simple:

Understand before acting. Learn while working. Remember for the next agent.

The workflow looks like this:

        Genesis
           ↓
      Understand
           ↓
         Plan
           ↓
        Execute
           ↓
          Learn
           ↓
        Remember
           β†Ί

The important part is the last step.

The agent doesn't just finish a task.

It can leave behind knowledge that makes the next session better.

I didn't want Genesis to depend on a particular AI provider, IDE, or agent runtime.

The knowledge belongs to the project.

That means it can live alongside the codebase and be version controlled with Git.

A simplified structure looks like:

.agents/
β”œβ”€β”€ SKILL.md
└── agent_md/
    β”œβ”€β”€ project-learn.md
    β”œβ”€β”€ user-learn.md
    β”œβ”€β”€ domains/
    β”œβ”€β”€ patterns/
    β”œβ”€β”€ decisions/
    └── debugging/

This makes project knowledge:

Imagine three developers working on the same project.

Developer A teaches an AI agent about an important architectural decision.

Developer B starts a new session tomorrow.

Without persistent knowledge, the agent may have to rediscover that decision.

With Genesis, the project can retain it.

Developer A
     ↓
   Agent
     ↓
  Discovers
  Knowledge
     ↓
   Genesis
     ↓
Project Memory
     ↓
Developer B
     ↓
   Agent
     ↓
Starts with
that knowledge

The project gradually becomes better at communicating with its agents.

This is an important distinction.

I don't see Genesis as simply a memory folder.

Memory is only one part of it.

Genesis is about the agent's relationship with the project:

Before the task

Understand what already exists.

During the task

Follow the project's architecture and conventions.

After the task

Identify what was learned and preserve knowledge that can help future work.

That creates a continuous learning loop.

I intentionally kept the foundation simple.

No database.

No vector store.

No proprietary format.

Just files that humans and AI agents can both understand.

That gives the knowledge the same benefits as source code:

Git
 ↓
Versioning
 ↓
Review
 ↓
History
 ↓
Collaboration

Project knowledge becomes part of the project itself.

I think we're moving toward a world where projects won't just contain source code.

They will also contain context for the agents working on that source code.

Today we have:

Source Code
Documentation
Tests
Configuration

I think we'll increasingly have:

Source Code
Documentation
Tests
Configuration
Agent Knowledge
Agent Instructions
Agent Decisions

The goal isn't to make agents magically smarter.

It's to make sure they don't have to forget everything every time they start.

After using Genesis in my own agent workflow, I noticed a significant reduction in the time spent on project discovery and repeated context-building.

For my workflow, it was roughly 80% faster to get an agent into a productive state.

The important part isn't that Genesis makes the AI model itself faster.

It reduces the repeated work around the model:

Without Genesis
Agent β†’ Explore β†’ Rediscover(grepping 10+ function and reading 1200+ lines of code) β†’ Understand β†’ Start Working

With Genesis
Agent β†’ Load Context β†’ Understand β†’ Start Working

That difference becomes especially noticeable when working across multiple sessions or switching between CLI and IDE agents.

The agent doesn't have to start from zero every time.

It starts with what the project has already learned.

For every Module, First prompt was slower but second prompt doesnt matter if it's different session or account or agent or system it become faster than before. for my ecommerce project it improved agent time in searching for code from 2-3 minute to 20 seconds.

The name comes from the idea of a beginning.

Genesis is the point where the agent starts.

Not with assumptions.

Not with a blank context.

But with the knowledge the project has already accumulated.

Every agent session should start smarter than the previous one.

Genesis is my first step toward that idea.

The project is open source, and I'm interested in seeing how this concept evolves with the rapidly changing AI-agent ecosystem.

If you're building CLI agents, IDE agents, coding agents, or autonomous development workflows, I'd love to hear how you're solving the persistent context problem.

── more in #ai-agents 4 stories Β· sorted by recency
── more on @raiyan islam 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain β€” perfect for shipping the agent you just read about.

$git push zahid main
β†’ Live at https://your-agent.zahid.host βœ“
Get free account β†’ Pricing
from €0/mo Β· no card required
LIVE [news/i-built-genesis-the-…] indexed:0 read:4min 2026-08-10 Β· β€”