Skip to main content

Deploy and run AI agents locally

Project description

Chatixia SDK

Deploy and run AI agents locally with a single command.

Installation

pip install chatixia

Or from source (development):

pip install -e "./sdk[dev]"

Quick Start

1. Create an agent manifest

chatixia init my-agent

This creates agent.yaml and .env.example in the current directory.

2. Configure credentials

cp .env.example .env
# Edit .env with your API keys

3. Run

# Interactive REPL
chatixia run

# Autonomous mode (goal-driven loop)
chatixia run --daemon

# One-shot (pipe-friendly)
chatixia run --once "Summarize today's new purchase requisitions"

# Validate manifest before running
chatixia validate

Agent Manifest (agent.yaml)

name: procurement-assistant
description: "Monitors and classifies purchase requisitions"

# LLM provider: azure | openai | ollama
provider: azure
model: gpt-5.2

# System prompt — defines the agent's persona
prompt: |
  You are a procurement specialist.
  Use available tools to analyze documents and query databases.

# Skills
skills:
  builtin:                           # Names of built-in skills to enable
    - analyze_document
    - postgres_readonly_query
    - get_ariba_data
  dirs:                              # Additional skill directories
    - ./custom-skills
  disabled:                          # Skills to exclude
    - echo

# Goals (activated with --daemon)
goals:
  - name: monitor_prs
    sensor: "Check Ariba for new purchase requisitions in the last 15 minutes"
    action: "Classify with UNSPSC and post summary to Slack"
    interval: 900                    # seconds
    autonomy: auto                   # auto | notify | approve

# MCP servers
mcp_servers:
  playwright:
    command: npx
    args: [-y, "@playwright/mcp@latest"]

# Environment
env:
  file: .env
  required:
    - AZURE_OPENAI_ENDPOINT
    - AZURE_OPENAI_API_KEY
    - AZURE_OPENAI_DEPLOYMENT

# Runtime tuning
max_turns: 10
context_window: 120000
data_dir: .chatixia

CLI Reference

Command Description
chatixia run [manifest] Interactive REPL (default: ./agent.yaml)
chatixia run --daemon Autonomous goal loop
chatixia run --once "msg" Single message, then exit
chatixia run --tick 60 Set daemon tick interval (seconds)
chatixia init [name] Scaffold a new agent.yaml
chatixia validate [manifest] Validate manifest and check env vars
chatixia -V Show version

LLM Providers

Provider Required env vars
azure AZURE_OPENAI_ENDPOINT, AZURE_OPENAI_API_KEY, AZURE_OPENAI_DEPLOYMENT
openai OPENAI_API_KEY
ollama None (defaults to localhost:11434)

Set provider in agent.yaml and configure the corresponding env vars.

Building for Distribution

cd sdk
make build      # Vendors core modules + builds wheel
make clean      # Remove vendored files and build artifacts

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

chatixia-0.1.0-py3-none-any.whl (28.8 MB view details)

Uploaded Python 3

File details

Details for the file chatixia-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: chatixia-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 28.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for chatixia-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c45b27b9b9f062fc597ba6972b5488cbcf970a298e1e8bcfb7bc987e0f802520
MD5 ad121efdb9537b244cc4bb89950b3615
BLAKE2b-256 42ef12face32cb4beda9ba1f9335dd8ff45fd9c9116b37b9c623ebac73dbafd1

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