Skip to content

ayu-v0/AgentCortex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AgentCortex

AgentCortex is a Go-native memory infrastructure for AI agents, providing persistent storage, semantic recall, and structured memory management.

HTTP API

Run the Gin server:

go run .\cmd\agent-cortex

The service listens on :8080 by default. Set ADDR or DATABASE_PATH to override the listen address or SQLite database path.

Health

GET /health

Save Memory

POST /api/v1/memories
Content-Type: application/json

{
  "id": "mem_001",
  "agent_id": "agent_001",
  "content": "User likes building agent memory in Go.",
  "embedding": [0.1, 0.2, 0.3, 0.4]
}

Search Memories

POST /api/v1/memories/search
Content-Type: application/json

{
  "agent_id": "agent_001",
  "embedding": [0.1, 0.2, 0.3, 0.4],
  "limit": 5
}

About

AgentCortex is a Go-native memory infrastructure for AI agents, providing persistent storage, semantic recall, and structured memory management.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages