Skip to main content

Agent Task Runtime & State Transport — middleware for AI agent communication, memory, and task lifecycle

Project description

AT Rest — Agent Task Runtime & State Transport

Middleware untuk agent communication, memory, dan task lifecycle.

4 agent built-in (planner, researcher, reviewer, mentor) via Redis Streams bus. Neo4j task persistence. FastAPI REST API server. Qdrant + Neo4j knowledge retrieval.

Quick Start

pip install atrest
from atrest import Agent, generate, search

class MyAgent(Agent):
    channel = "researcher"

    def handle_request(self, msg):
        goal = msg["payload"]["goal"]
        results = search(goal, limit=3)
        summary = generate(f"Summarize: {goal}\n\nContext: {results}")
        return {"summary": summary, "sources": []}

MyAgent().run()

Available Imports

from atrest import Agent, ATRestClient, AgentBus, TaskStore, generate, embed, search
  • Agent — base class for custom agents
  • ATRestClient — HTTP client for AT Rest API
  • AgentBus — Redis Streams pub/sub
  • TaskStore — Neo4j AgentTask persistence
  • generate() — Ollama LLM call
  • embed() — Ollama embedding
  • search() — Qdrant vector search

Optional: API Server

pip install atrest[api]
python -m api.server

Architecture

User → REST API / Agent SDK → Agent Bus (Redis Streams)
  → Planner → Researcher / Reviewer / Mentor
  → Task Store (Neo4j) → Broadcast
  → Knowledge (Qdrant + Neo4j)

License

MIT

Project details


Download files

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

Source Distribution

axeon_atrest-0.2.0.tar.gz (15.0 kB view details)

Uploaded Source

Built Distribution

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

axeon_atrest-0.2.0-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

Details for the file axeon_atrest-0.2.0.tar.gz.

File metadata

  • Download URL: axeon_atrest-0.2.0.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for axeon_atrest-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ebd171eb8e84d4e335731e83716d0f5680453861bf1cf95ff797671b9f81c9e5
MD5 ef583227d00babae70c4eafdfa83b262
BLAKE2b-256 33db6851002baee1fefdc5675731bbd2544bae32f16cb706d3a93e933db40e23

See more details on using hashes here.

File details

Details for the file axeon_atrest-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: axeon_atrest-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 14.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for axeon_atrest-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 600f654ed565c5fbd0ac2813d24c7807881e1e548f3a92781b1fa82d1f4ad24b
MD5 897e0e359e2e76087ce5ccfedded29b0
BLAKE2b-256 466a202e22c67608def688a6c350324baf722658834c7c6fa760f333e421935a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page