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.1.0.tar.gz (13.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.1.0-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: axeon_atrest-0.1.0.tar.gz
  • Upload date:
  • Size: 13.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.1.0.tar.gz
Algorithm Hash digest
SHA256 a3620bddd2768af0bd8c4672b33aa191df5fb4a3319b1b491ccebecd0bf492c3
MD5 5f84356d53f109bdc19bd131e2d9980b
BLAKE2b-256 ebe6142d6c88ad5edf67e61e792bc32dd994201ca954408ac84dd4041129f428

See more details on using hashes here.

File details

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

File metadata

  • Download URL: axeon_atrest-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4c549c954fc5d0ca4aa9ddef8478044b2835192f2e5a2b3dd96803242540cf9c
MD5 950f0575ac6f96a7151722a738128c07
BLAKE2b-256 bc7311f2e1ee40f90aa0316c69c1f39b93a52a1906199673de32fccacd2d29e5

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