Skip to main content

Codex app-server adapter and chatbot for Meshagent

Project description

meshagent-codex

meshagent-codex provides a Meshagent AgentSupervisor implementation backed by the vendored Codex Python app-server SDK.

Included

  • CodexAgentSupervisor: creates one CodexAgentProcess per Meshagent thread.
  • CodexAgentProcess: sends TurnStart, TurnSteer, and TurnInterrupt messages to Codex and emits standard Meshagent AgentMessage events.
  • Vendored openai_codex: the upstream Codex Python SDK package, including generated app-server models and the async client.

Example

from meshagent.codex import AppServerConfig, CodexAgentSupervisor

supervisor = CodexAgentSupervisor(
    participant=room.local_participant,
    config=AppServerConfig(cwd="/workspace"),
    default_model="gpt-5.5",
)

By default, AppServerConfig uses codex on PATH. Set AppServerConfig.codex_bin to launch a specific Codex binary. If you install openai-codex-cli-bin separately on a supported platform, it can still be used as a fallback runtime.

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

meshagent_codex-0.45.4.tar.gz (90.0 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.45.4-py3-none-any.whl (101.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for meshagent_codex-0.45.4.tar.gz
Algorithm Hash digest
SHA256 9d3c742e05d616c52cca6c759e10ccd79e0efb5b41ae1fe346e95b79ac44b07d
MD5 c40536f339f8d0c941b99ecd545b0e4c
BLAKE2b-256 c4c818f9c513a9e844b381e30cb1afc0eb1e13eea918dab8c2d10c972666f0f6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for meshagent_codex-0.45.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1a29fc48e6839aa5cc06dd847df215a39e61f0b5464649b41058159498b85632
MD5 f6be4125bb0b616ba8d1a7ff64d6459b
BLAKE2b-256 e0e0e3a4e91f7282d0bfeb8c0604275a3066a2b89112a822b57d7799b0a2fd1d

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