Observed since 21 Oct, 09:52 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
ai-agent-proxy
Mailbox-backed AI agent proxy server
ai-agent-proxy is a small FastAPI service that accepts OpenAI-style requests,
optionally relays them to a backend LLM, and writes inbox JSON for a local
agent runtime to handle.
This package exposes one CLI:
ai-agent-proxy for the HTTP serverIt is designed for a local workspace flow:
context_id extraction and compact follow-up inbox payloadsYes:
No:
pip install ai-agent-proxy
After install, the main commands are:
ai-agent-proxy
Proxy default config file: ./.ai-agent-proxy.conf
HOST=0.0.0.0
PORT=7011
KEY=aibot_<your-key-something>
WORKER=2
INBOX=~/.openclaw/workspace/inbox
URL=https://backend-llm.example.com/v1
API_KEY=sk_<your-backend-api-key>
This is an enqueue-only, quick-release API design intended to improve OpenClaw message handling throughput and give the agent room for batch processing.
POST /v1/chat/completionsGET /v1/modelsGET /v1/models/{model_id}For request endpoints, the server writes the request body into the local inbox and returns an immediate reply to release the HTTP connection.
Important local workspace paths:
<workspace>/inboxInbox files are raw JSON only. There is no extra mailbox wrapper.
On chat requests:
backend-llm-replycontext_id is found, repeated messages may be compacted for lighter inbox trafficA separate local agent runtime can watch the inbox and handle the work.
Project skills live in ai_agent_proxy/skills/.
They describe:
Useful server log lines:
chat_completion request inbox file_size=... inbox_path=...backend_forward_failed ...invalid_json ...Any agent-side logging depends on the runtime you choose.
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
fastapiEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | fastapi<1,>=0.115 | runtime |
pydanticEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | pydantic<3,>=2.7 | runtime |
uvicornEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | uvicorn<1,>=0.30 | runtime |
bdist_wheel · 14.65 KB · Python py3
sdist · 14.61 KB · Python source
Observed since 21 Oct, 09:52 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:67f6e0c658ebb257f7082844094ad4a8bfb5ffbd6090eb9daef8cc3fef5aa3c4