Skip to main content

Add your description here

Project description

Name

JIMS stands for "Just an Integrated Multiagent System"

Concepts

Thread

Thread is a conversation between user (or users) and agentic system Each interaction between agents and users happens in thread

Event

Something that happens in a thread Each event has id, type and data

Example:

{
    "event_id": "...",
    "event_type": "comm.user_message",
    "event_data": {
        "content": "Hello!"
    }
}

event_type and event_domain

event_type is structured as follows:

  • <event_domain>.<event_name>[.<subname>...]

event_domain is the first segment and is used for routing and filtering. The rest of the string identifies the concrete event.

event_domain values include:

comm.* - user–assistant communication

Visible to the end user.

  • comm.user_message: a user text message (input);
  • comm.assistant_message: a text message produced by an agent/pipeline.

These events are:

  • Exposed as CommunicationEvent (role, content).
  • Collected into ThreadContext.history.

context.* - comm.* extended with pipeline context

Conversational AI Pipelines can benefit from preserving some extra data (context) about the conversation in between messages (previous reasoning, extra data, etc.). For this, we use a superset of comm. domain called context.. It includes everything in comm. (everything in ThreadContext.history), and adds context. events passed from Pipeline. context. events are internal and not sent/shown to the end user.

state.* - internal state of the pipeline

Used to persist some data between pipeline calls.

  • ThreadContext.set_state(state_name, state) emits state.set.<state_name> with a dict payload.
  • ThreadContext.get_state(state_name, state_type) scans events in reverse for state.set.<state_name> and validates the payload into a Pydantic model.

Define your own state schema inside the Pipeline

jims.* - lifecycle and system domain:

Lifecycle and system‑level events

Example:

  • jims.lifecycle.thread_created: emitted when a thread is first created by ThreadController.new_thread(...).

Pipeline‑specific domains

Defined in a Pipeline, these events are produced via ThreadContext.send_event(...) and consumed elsewhere.

example: rag.*

  • rag.query_processed
  • rag.error

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

jims_core-0.5.6.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

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

jims_core-0.5.6-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file jims_core-0.5.6.tar.gz.

File metadata

  • Download URL: jims_core-0.5.6.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for jims_core-0.5.6.tar.gz
Algorithm Hash digest
SHA256 9fce0e258c368c8eaf96509c5aed93377115b479ec49a350e13edaebe47c5730
MD5 857c455a336af0d25adecc52f9f10bea
BLAKE2b-256 c3893923b2b15ebc7b107e94f57b48824c5867b3b7df19bf19599902d3edb9ab

See more details on using hashes here.

Provenance

The following attestation bundles were made for jims_core-0.5.6.tar.gz:

Publisher: publish-jims-core.yml on epoch8/vedana

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file jims_core-0.5.6-py3-none-any.whl.

File metadata

  • Download URL: jims_core-0.5.6-py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for jims_core-0.5.6-py3-none-any.whl
Algorithm Hash digest
SHA256 43acf1d4dac9fb93572c1dfcc3849d22ef7a4804ee0d711d2db6bd2fe8abb035
MD5 b09e98155ec19f10aec2020a26f789fd
BLAKE2b-256 f942be548087096e7f42b9bff190d9d91be2516df46162783c06272cb9e80ccd

See more details on using hashes here.

Provenance

The following attestation bundles were made for jims_core-0.5.6-py3-none-any.whl:

Publisher: publish-jims-core.yml on epoch8/vedana

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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