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 agentsATRestClient— HTTP client for AT Rest APIAgentBus— Redis Streams pub/subTaskStore— Neo4j AgentTask persistencegenerate()— Ollama LLM callembed()— Ollama embeddingsearch()— 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3620bddd2768af0bd8c4672b33aa191df5fb4a3319b1b491ccebecd0bf492c3
|
|
| MD5 |
5f84356d53f109bdc19bd131e2d9980b
|
|
| BLAKE2b-256 |
ebe6142d6c88ad5edf67e61e792bc32dd994201ca954408ac84dd4041129f428
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c549c954fc5d0ca4aa9ddef8478044b2835192f2e5a2b3dd96803242540cf9c
|
|
| MD5 |
950f0575ac6f96a7151722a738128c07
|
|
| BLAKE2b-256 |
bc7311f2e1ee40f90aa0316c69c1f39b93a52a1906199673de32fccacd2d29e5
|