Geond Agent Protocol

مجتمعي أدوات المطورين

Local-first shared memory and coordination for coding agents on PostgreSQL/pgvector: repository evidence, reservations, handoffs and code graph context.

التثبيت

خطوات التثبيت موجودة في التوثيق أدناه. التوثيق

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. Geond Agent Protocol
  2. Quick Start
  3. MCP Server And Glama Release
  4. What Geond Makes Possible
  5. Demo GIFs
  6. Learning Path
  7. How It Works
  8. Common Workflows
  9. Shared Team Database
  10. README Patterns Borrowed
  11. Documentation
  12. Contributing
  13. Security And Privacy
  14. License

Language: English | 한국어 | 日本語 | 简体中文 | Español | Français | Deutsch

Geond Agent Protocol

Shared memory and coordination for AI agents that work on the same repo.

Geond gives Copilot Chat, Codex, Claude Code, Antigravity, Manus, CLI agents, and MCP-capable tools a durable place to share what happened, why it happened, what changed, what is reserved, how it was validated, and what the next agent or reviewer should do.

Geond is local-first by default. Your editor, CLI, MCP server, dashboard, and importers can run on your machine against local PostgreSQL. When a team wants multi-machine collaboration, those same local processes can point at a shared PostgreSQL-compatible profile such as Azure Database for PostgreSQL.

Geond is alpha software. Repository-centered memory, MCP, CLI, dashboard read models, reservations, handoffs, code graph indexing, usage evidence, benchmarks, and shared PostgreSQL validation are implemented today. Enterprise IAM, row-level security, dedicated MCP audit streams, broad SaaS adapters, and dependency-expanded automatic reservations are roadmap areas.

About the name: Geond is inspired by an Old English root of "beyond" and is pronounced "Jee-ond". The project helps agents go beyond stateless prompts by connecting them to inspectable shared memory.

Quick Start

Prerequisites: Python 3.11+, uv, Docker with Compose, Git, and ripgrep. See docs/developer_setup.md for OS-specific notes.

cp .env.example .env
uv sync
docker compose up -d postgres
docker compose --profile tools run --rm geond-migrate
uv run geond doctor --format text
uv run geond seed-sample
uv run geond mcp-smoke --format text --strict

Start the MCP server:

uv run geond-mcp

Preview or write MCP client config:

uv run geond install --format text
uv run geond install --write

Serve the read-only dashboard:

uv run geond dashboard serve

Open the printed localhost URL. More MCP client examples are in docs/mcp_client_config.md.

MCP Server And Glama Release

Run the stdio MCP server directly:

uv run geond-mcp

Run it from a Docker image:

docker build -t geond-agent-protocol:local .
docker run --rm -i \
  -e GEOND_DATABASE_URL=postgresql://geond:geond_dev_password@host.docker.internal:55432/geond \
  geond-agent-protocol:local

GEOND_DATABASE_URL points Geond at PostgreSQL. Local development usually uses the Compose database from the quick start. Team mode can use GEOND_DATABASE_PROFILE=azure plus AZURE_GEOND_DATABASE_URL to share memory across machines while keeping each MCP process local.

For registry validation, Glama should deploy this repository's Dockerfile, create a Glama release, and call get_geond_server_info first. That tool does not require a database connection, so it is safe for browser-based smoke tests.

Three representative MCP workflows:

  1. Start coordinated work: review_workspace_context -> reserve_files -> edit -> record_changeset.
  2. Explain prior context: search_dev_memory -> explain_change -> get_changeset_detail.
  3. Leave a handoff: record_agent_action -> record_handoff_summary -> list_handoff_summaries.

What Geond Makes Possible

ScenarioWhat you can doProof and entrypoint
AI pair coding across agent toolsLet different agents work on the same repo through shared memory, reservations, handoffs, and review context. Verified locally with Codex and Antigravity; the same pattern applies to Copilot, Claude Code, Continue, Manus, or custom MCP agents.docs/antigravity_codex_geond_verification.md, docs/mcp_client_config.md
Multi-PC collaborationRun geond-mcp, CLI, and dashboard locally on each machine while Windows, MacBook, CI, or another teammate all read and write the same shared PostgreSQL profile.docs/azure_validation/team_collab_validation.md, docs/azure_validation/README.md
PM and reviewer dashboardReview agent lanes, sessions, handoffs, changesets, code risk, usage evidence, timeline, and lineage without reading raw MCP JSON.uv run geond dashboard serve, docs/agent_activity_dashboard.md
Safe parallel editingAsk agents to review current context, reserve files or symbols, record changesets, and leave structured handoffs before another agent edits the same target.docs/agent_operating_loop.md, uv run geond review-context ...
Cross-agent memory importImport Copilot Chat, Codex, Claude Code, Antigravity, and Manus task evidence into one redacted search and evidence model.docs/agent_testbeds.md, docs/manus_integration.md
Compact MCP contextReturn snippets, evidence refs, scores, and follow-up detail paths instead of flooding an LLM with raw transcripts by default.tests/test_mcp_payload_budget.py, docs/ai_usage_observability.md

Demo GIFs

These GIFs are generated from sanitized scenario text, not private transcripts. Regenerate them with uv run python scripts/render_readme_gifs.py.

For browser-verified dashboard captures and longer terminal demo notes, see docs/public_demo_script.md.

Learning Path

Start with learn/README.md for guided notebooks that mirror the README scenarios:

LessonFocus
01 Local Shared MemoryRun local PostgreSQL, seed sample evidence, search memory, and smoke-test MCP.
02 Handoffs And ReservationsPractice context review, symbol reservations, conflicts, and handoff packets.
03 AI Pair Coding WorkflowShare evidence between Agent A and Agent B across different agent tools.
04 Shared PostgreSQL Team ModeUnderstand optional shared PostgreSQL profiles for multi-PC collaboration.

How It Works

flowchart LR
    A[Agent transcripts and actions] --> B[Adapters and redaction]
    B --> P[(PostgreSQL + pgvector)]
    C[MCP clients and CLI] --> M[Geond MCP / CLI]
    M --> P
    P --> S[Search and evidence refs]
    P --> G[Code graph]
    P --> R[Reservations and handoffs]
    P --> D[Read-only dashboard]
    G --> R
    R --> D
    S --> D
  1. Memory: importers normalize sessions, events, messages, usage records, and task history from agent tools, then redact common secrets before persistence.
  2. Code graph: Python, TypeScript, and JavaScript indexers connect files, symbols, imports, calls, references, and changesets.
  3. Reservations: agents can claim files or symbols with TTLs, policy checks, renewals, releases, and auditable reservation events.
  4. Handoffs: agents leave structured next-action packets with tested commands, blockers, remaining risks, and evidence refs.
  5. Dashboard: humans and PM/orchestrator agents read compact overview, activity, timeline, code risk, usage, lineage, reservations, and handoff read models.
  6. Shared PostgreSQL: local-first setups use Docker PostgreSQL; team profiles can point local processes at Azure or another PostgreSQL-compatible backend.

Common Workflows

GoalCommand or doc
Check environmentuv run geond doctor --format text
Import Copilot Chatuv run geond import-vscode <workspaceStorage-or-session-path>
Import Codexuv run geond import-codex <codex-sessions-dir> --workspace-uri <uri>
Import Claude Codeuv run geond import-claude-code <claude-projects-dir> --workspace-uri <uri>
Import Antigravityuv run geond import-antigravity <storage-path> --workspace-uri <uri>
Import Manus taskuv run geond import-manus-task <task-id> --workspace-uri <uri>
Search memoryuv run geond search "why did this change" --mode hybrid
Index codeuv run geond index-tree-sitter <path>
Record a changesetuv run geond record-changeset <workspace-id-or-uri> ...
Reserve workuv run geond reserve-files ... or uv run geond reserve-symbols ...
Review conflictsuv run geond review-context <workspace-id-or-uri> --format markdown
Leave handoffuv run geond record-handoff <workspace-id-or-uri> ...
Check orchestrator runuv run geond orch status <run-id>
Agent operating loopdocs/agent_operating_loop.md
MCP clientsdocs/mcp_client_config.md

For a more complete demo path, see docs/demo.md.

Shared Team Database

Use GEOND_DATABASE_URL for the default local database. To keep local processes but share memory across machines, add a second profile:

GEOND_DATABASE_PROFILE=azure
AZURE_GEOND_DATABASE_URL=postgresql://...

The dashboard classifies the active source as local PostgreSQL, Azure PostgreSQL, or remote PostgreSQL without showing user info, passwords, or tokens. The validated team flow is documented in docs/azure_validation/team_collab_validation.md.

README Patterns Borrowed

Geond's README borrows a few public onboarding patterns and adapts them to this project rather than copying their product scope:

  • OpenHuman: explain transparent, local-first memory and compact context clearly.
  • CLI-Anything: make the first screen visual and action-oriented with short commands and GIFs.
  • Microsoft AI Agents for Beginners: present agent concepts as scenario tables and repeatable learning paths.

Documentation

Contributing

Contributions are welcome while the project is alpha. Good first areas are importers, docs, tests, dashboard read-model improvements, MCP contract tests, installer ergonomics, and focused adapters for non-development work artifacts.

Read CONTRIBUTING.md before opening a PR. It covers setup, privacy rules, test commands, redaction expectations, and files that must stay out of git. Security reporting is in SECURITY.md.

Security And Privacy

Geond is designed for local-first use. Importers redact common secrets before persistence, external embeddings are opt-in, and the dashboard avoids exposing credential-bearing connection strings. Even so, agent transcripts can contain sensitive information. Review .env, transcripts, screenshots, benchmark logs, and dashboard captures before sharing them.

Do not commit private transcripts, local evidence exports, local-only drafts, repo, tmp, result, results, or generated videos. See SECURITY.md and docs/open_source_readiness.md.

License

Apache-2.0. See LICENSE.

الأسئلة الشائعة

ما هو Geond Agent Protocol؟

Local-first shared memory and coordination for coding agents on PostgreSQL/pgvector: repository evidence, reservations, handoffs and code graph context.

كيف أثبّت Geond Agent Protocol؟

اتبع خطوات التثبيت في توثيقه المعروض في هذه الصفحة وفي مستودعه.

هل Geond Agent Protocol مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص Apache-2.0.

من يصون Geond Agent Protocol؟

ينشره geondongkim. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من القوائم المجتمعية awesome-mcp-servers ومستودع المشروع على GitHub. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.