Skip to main content

Codex app-server adapter and chatbot for Meshagent

Project description

meshagent-codex

meshagent-codex adds Codex app-server backed agents:

  • CodexChatBot
  • CodexTaskRunner

Included

  • CodexChatBot: chat agent backed by codex app-server
  • CodexTaskRunner: task runner backed by codex app-server

Example

from meshagent.api.services import ServiceHost
from meshagent.codex import CodexChatBot

service = ServiceHost()


@service.path("/agent")
class MyCodexAgent(CodexChatBot):
    def __init__(self):
        super().__init__(
            name="meshagent.codex-chatbot",
            title="codex chatbot",
            description="chatbot powered by codex app-server",
            rules=["You are a concise assistant."],
            model="codex-mini-latest",
        )

By default, the backend launches Codex via codex app-server.

You can override transport with environment variables:

  • MESHAGENT_CODEX_COMMAND to change the launch command.
  • MESHAGENT_CODEX_WS_URL to connect to an existing Codex app-server websocket instead of launching a local process.

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

meshagent_codex-0.28.0.tar.gz (36.2 kB view details)

Uploaded Source

Built Distribution

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

meshagent_codex-0.28.0-py3-none-any.whl (39.9 kB view details)

Uploaded Python 3

File details

Details for the file meshagent_codex-0.28.0.tar.gz.

File metadata

  • Download URL: meshagent_codex-0.28.0.tar.gz
  • Upload date:
  • Size: 36.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for meshagent_codex-0.28.0.tar.gz
Algorithm Hash digest
SHA256 8434b3a83e414a539dbf20010e77cd17d4e6ae33b051b6e69ae17a513c32b0ac
MD5 5b59b7d763e54f0a30bac48919071939
BLAKE2b-256 4ea8ea3d6e5b2d93b8577c141ac2bdd7caa5717b429ecdf05c1a628db9f43ee5

See more details on using hashes here.

File details

Details for the file meshagent_codex-0.28.0-py3-none-any.whl.

File metadata

File hashes

Hashes for meshagent_codex-0.28.0-py3-none-any.whl
Algorithm Hash digest
SHA256 07605ad5badf0be6695df46da334814cae55cb98868a18278f2567d34bd1093e
MD5 ffb466fcf0b3b05b1ef59914c35ac637
BLAKE2b-256 9cb1a1e8a57067022ca1ba5b5fbfd7f23508ff4a025dde614d036c8e182a3dab

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