Skip to main content

AgentGraph Feed

The AgentGraph Feed package provides both the AgentGraph connector and the shared HTTP server used to exchange graph mutation events.

Installation

Install the connector into the same Python environment as AgentGraph:

uv pip install agentgraph-connector-feed

The 0.1.x and 0.2.x connector releases support agentgraph-server>=0.6.1,<0.7. The 0.3.x releases require agentgraph-server>=0.7.0,<0.8.

Configuration

Configure the feed server base URL, then inspect the saved configuration:

agentgraph connector feed configure http://localhost:8767
agentgraph connector feed status

The configured URL must not include /events or /events-feed. The connector adds /events and /events/tail when it publishes and polls respectively. For a deployed server behind a reverse proxy, configure the URL at which those endpoints are exposed.

The connector publishes new local observations, bookmark changes, and explicit deletions as best-effort HTTP requests. It polls the feed once per minute. Its first poll starts at the current feed tail, so existing events are not imported.

Entity upserts are ignored by default. Pass --publish-upserts to publish full committed entity and edge snapshots.

Server

Run the feed server locally with:

uv run agentgraph-feed-server

The server listens on port 8767 by default. Set AGENTGRAPH_FEED_SERVER_PORT to use another port. The event database defaults to <AGENTGRAPH_CONFIG_DIR>/agentgraph-feed-events.db, where the config directory defaults to ~/.agentgraph. Set AGENTGRAPH_FEED_DB to override the complete database path.

The server exposes GET /healthcheck, POST /events, GET /events, GET /events/tail, and DELETE /events?through=<sequence>. The delete endpoint purges only events at or before the supplied sequence, preserving events appended while a consumer processes its current page. It is intended for clients using the server as a one-producer, one-consumer queue.

Security

The feed is unauthenticated and should only be exposed on a trusted network.

Development

uv sync --locked
uv run pytest
uv run pyright
uv run ruff check .
uv run ruff format --check .

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agentgraph_connector_feed-0.3.0.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentgraph_connector_feed-0.3.0-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file agentgraph_connector_feed-0.3.0.tar.gz.

File metadata

File hashes

Hashes for agentgraph_connector_feed-0.3.0.tar.gz
Algorithm Hash digest
SHA256 75d8b4ee0bca55433219b36aec0717b9019c09a452e99725dc27309401e1ccb7
MD5 56f75a04ff3da4b9658f364ad60faebf
BLAKE2b-256 f63c6f97650d412a10778f9bdf35112fd1a84b0cc8f1f18ae381227257cda0a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentgraph_connector_feed-0.3.0.tar.gz:

Publisher: pypi-release.yml on simonexmachina/agentgraph-connector-feed

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agentgraph_connector_feed-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for agentgraph_connector_feed-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 17d2c656da1f9ed715e947947a8e5de9a9a09cff3c45dcaa04de1ffb3b35af2f
MD5 d6df17e6ecf6d504cda2b29d2fd981c9
BLAKE2b-256 b795a488dc7cd60c967a5a083f938fff6c4811e0a52233703f6875ddb179c6c1

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentgraph_connector_feed-0.3.0-py3-none-any.whl:

Publisher: pypi-release.yml on simonexmachina/agentgraph-connector-feed

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 files

0.2.0

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page