Skip to content

docs: rewrite README — raw data → memory → agent#426

Merged
sairin1202 merged 1 commit into
mainfrom
docs/rewrite-readme
Jun 6, 2026
Merged

docs: rewrite README — raw data → memory → agent#426
sairin1202 merged 1 commit into
mainfrom
docs/rewrite-readme

Conversation

@sairin1202
Copy link
Copy Markdown
Contributor

Rewrites README to focus on the core value proposition: raw workspace ingestion → structured memory → agent-ready retrieval. Target audience: agent developers and small B2B teams.

Copilot AI review requested due to automatic review settings June 6, 2026 10:10
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR rewrites README.md to reposition memU around the workflow “raw workspace ingestion → structured memory → agent-ready retrieval,” targeting agent developers and small B2B teams.

Changes:

  • Reframes the product narrative and reorganizes sections around an explicit “How it works” pipeline.
  • Updates use cases and example workflows to emphasize agent integration and token-cost reduction.
  • Refreshes API/quick-start snippets and trims contribution/setup guidance.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md
Comment on lines +177 to +181
# Ingest customer workspace: emails, tickets, chat history
await service.memorize(resource_url="customer_workspace/", modality="conversation", user={"user_id": "acme-corp"})

# Agent retrieves full customer context before responding
context = await service.retrieve(queries=[{"role": "user", "content": {"text": "What does this customer need?"}}], where={"user_id": "acme-corp"})
Comment thread README.md
Comment on lines +329 to +331
resource_url="path/to/file.json", # file path, URL, or directory
modality="conversation", # conversation | document | image | video | audio
user={"user_id": "123"} # optional: scope to a user or agent
Comment thread README.md
Comment on lines 348 to 352
result = await service.retrieve(
queries=[
{"role": "user", "content": {"text": "What are their preferences?"}},
{"role": "user", "content": {"text": "Tell me about work habits"}}
],
where={"user_id": "123"}, # Optional: scope filter
method="rag" # or "llm" for deeper reasoning
queries=[{"role": "user", "content": {"text": "What are their preferences?"}}],
where={"user_id": "123"}, # scope filter
method="rag" # "rag" (fast) or "llm" (deep reasoning)
)
Comment thread README.md
Comment on lines +262 to +270
docker run -d --name memu-postgres \
-e POSTGRES_USER=postgres \
-e POSTGRES_PASSWORD=postgres \
-e POSTGRES_PASSWORD=your_password \
-e POSTGRES_DB=memu \
-p 5432:5432 \
pgvector/pgvector:pg16

# Run continuous learning test
export OPENAI_API_KEY=your_api_key
cd tests
python test_postgres.py
export OPENAI_API_KEY=your_key
cd tests && python test_postgres.py
@sairin1202 sairin1202 merged commit c2a2aac into main Jun 6, 2026
4 checks passed
@sairin1202 sairin1202 deleted the docs/rewrite-readme branch June 6, 2026 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants