Skip to main content

arvex.ai

Arvex is a Python foundation for agents that live in your project. It requires Python 3.11 or later. Feature history

Install with uv

From the checkout, install the package and run the demos.

uv sync
uv run python demo/1_chat.py
uv run python demo/2_setup.py
uv run python demo/3_create_agent.py

uv build creates a source distribution and wheel in dist/. The version comes from the latest version tag reachable from the checked-out commit. Tags such as 0.1.1 and v0.1.1 both produce version 0.1.1. Later commits and local edits use that same version until a new tag is reachable. A checkout needs a version tag to build. The source distribution carries its resolved version so it can be built without Git.

Install the resulting wheel into a virtual environment with uv pip install PATH_TO_WHEEL, using the path printed by uv build.

Chat from Python

from arvex.ai import create_agent, load_agent, setup

setup()
agent = create_agent("aras", instructions="Be concise.")
print(agent.chat("Hello, Aras.", demo=True))

# In a later process in the same directory
agent = load_agent("aras")
print(agent.history())

Pass a directory to setup() to use a custom location for shared settings. Pass api_key= to record an OpenAI credential from Python.

Chat from the terminal

Run agent commands from the project directory containing .aras/. Name the agent in each command so it applies to the intended directory.

uv run arvex setup
uv run arvex create-agent aras --instructions "Be concise."
uv run arvex start aras --demo

arvex start uses the agent's active channel, which defaults to the terminal. Use /exit to leave interactive chat. To use the terminal directly for any agent, run arvex chat aras or send one message with arvex chat aras -m "Hello".

Chat from Telegram

Create a bot with BotFather, then run setup from the agent's project directory. Arvex asks for the bot token in a hidden prompt and verifies the bot. Telegram bot setup

uv run arvex channel add telegram --agent aras

While setup is waiting, send the printed /pair CODE to the bot in a private chat within ten minutes. Setup finishes and makes Telegram active once the bot receives the code. Then start the agent and send a message in Telegram.

uv run arvex start aras

Telegram uses the same agent and chat history as the terminal. Keep the start command running to receive messages and press Ctrl+C to stop. Repeat arvex channel add telegram --agent aras to pair again. Set active_channel to "terminal" in .aras/agent.json to make arvex start aras use the terminal again.

Pass --bot-id ID to verify an expected numeric bot ID, or let Arvex read it from Telegram. The channel settings, including the bot ID and pairing, are recorded under channels.telegram in .aras/agent.json. The token is saved separately in the agent's shared configuration directory. For scripts, supply the token through ARVEX_TELEGRAM_BOT_TOKEN.

Run arvex start aras --demo to test Telegram without using a model provider. The offline channel demo simulates Telegram and verifies setup, pairing, removal, and shared history. If a delivery is interrupted, resend the message to request another reply.

To remove Telegram, stop the worker with Ctrl+C and run the following command.

uv run arvex channel rm telegram --agent aras

This clears the agent's Telegram pairing and returns an active Telegram channel to the terminal. The agent keeps its chat history, and the shared bot token remains available to other agents.

Connect your ChatGPT account

uv run arvex setup --chatgpt
uv run arvex chat aras -m "Hello"

Complete the browser sign-in and approve use of your ChatGPT plan. Eligible requests use that plan. Arvex picks an available model for the connected account. Use arvex setup --chatgpt --model MODEL to choose another available model or arvex setup --chatgpt work to connect under a separate account label. Existing agents use the selected account and its model the next time you chat. OpenAI sign-in and plan usage

In Python, use setup(chatgpt=True). The live sign-in demo opens the browser and sends one request using the connected plan.

To use API-key billing, set OPENAI_API_KEY and run uv run arvex setup --use-api-key, or record a key with uv run arvex setup --prompt-key. Agents use their own configured model in API-key mode. The default for newly created agents is gpt-4.1-mini.

Metadata

Release files for arvex.ai 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for arvex.ai 0.2.0
File Size Uploaded Provenance Actions
arvex_ai-0.2.0.tar.gz 19.2 kB Without provenance Details for arvex_ai-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for arvex.ai 0.2.0
File Interpreter ABI Platform Actions
arvex_ai-0.2.0-py3-none-any.whl Python 3 none any Details for arvex_ai-0.2.0-py3-none-any.whl

Total release size: 40.4 kB

Release files / arvex_ai-0.2.0.tar.gz

Download URL arvex_ai-0.2.0.tar.gz
Size 19.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4c017c6c78dc3fbb20010fddbf3560246eaeaaf608bb52a562949077e423d764
BLAKE2b-256 checksum
How to use checksums
8d1f8649a79751f68f3e79a8fbbe55b07b486eba8482b65ec190a05ec8138450
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / arvex_ai-0.2.0-py3-none-any.whl

Download URL arvex_ai-0.2.0-py3-none-any.whl
Size 21.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
31254f09f157e9b67820bcfda822b871c0e37b5069dde973487f55f4de04964c
BLAKE2b-256 checksum
How to use checksums
c2cc4b0da47508392bfab484912606c6451f1627af9b03db77dc8c7d30150261
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for arvex.ai 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page