Skip to main content

Mailbox-backed AI agent proxy server

Project description

ai-agent-proxy

ai-agent-proxy is an inbox-backed FastAPI proxy.

Install:

make install

Run:

ai-agent-proxy --host 0.0.0.0 --workspace /path/to/workspace --api-key your-token

Options:

  • --workspace sets the workspace.
  • --host sets the HTTP bind address.
  • --ip is accepted as a compatibility alias for the bind address.
  • --api-key requires Authorization: Bearer <api-key> on API requests.
  • -f, --config loads KEY=VALUE settings from a config file. Default: ./.ai-agent-proxy.conf.

Runtime model:

  • POST /chat/completions and POST /v1/chat/completions enqueue only the raw JSON request body into the local agent inbox and return immediately.
  • POST /agent-inbox enqueues the raw JSON body into the local agent inbox and returns an acknowledgement.
  • The worker listens to the inbox folder and replies according to the message instructions, using ai_agent_proxy/skills/ for project guidance.

Config example:

WORKSPACE=/home/li/.openclaw
HOST=0.0.0.0
PORT=7011
API_KEY=your-token

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

ai_agent_proxy-2.0.2.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

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

ai_agent_proxy-2.0.2-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

Details for the file ai_agent_proxy-2.0.2.tar.gz.

File metadata

  • Download URL: ai_agent_proxy-2.0.2.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for ai_agent_proxy-2.0.2.tar.gz
Algorithm Hash digest
SHA256 7d27e241f04ac0370fb9b10eab79813058cb4e75387689b0004a8686e629e5f4
MD5 a5a3294421c2d602dcec5b207e2de306
BLAKE2b-256 a963ad116ab5978920e323a773a84bc7b50b731fe67c29ab0e9133c8553dd818

See more details on using hashes here.

File details

Details for the file ai_agent_proxy-2.0.2-py3-none-any.whl.

File metadata

  • Download URL: ai_agent_proxy-2.0.2-py3-none-any.whl
  • Upload date:
  • Size: 17.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for ai_agent_proxy-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 34050ad2ef3c24d6f37520897046ed2a8e9e4cc02825e752694f8da03c8635a0
MD5 2760ceb2dfbc37c8091bb2659e8f164c
BLAKE2b-256 b6a3821d20de5ff41715cd0ccae03035dbca38144055dcad150cfb956ad9ae7e

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