Skip to main content

A framework for stable AI agents

Project description

StableAgents AI

A framework for building the Linux kernel of AI agents - providing the core infrastructure and system-level capabilities that enable reliable, secure, and efficient AI agent operations.

Installation

pip install stableagents-ai

Or with Poetry:

poetry add stableagents-ai

Quick Start

# Using the Python API
from stableagents import StableAgents

agent = StableAgents()
agent.set_api_key('openai', 'your-api-key')
agent.set_active_ai_provider('openai')

response = agent.generate_text("Tell me about AI agents")
print(response)

# Using with a local model
agent = StableAgents()
agent.set_local_model()  # Uses default model location
response = agent.generate_text("Tell me about AI agents")
print(response)

Command Line Interface

StableAgents comes with a simple CLI that you can run from anywhere:

# Run the CLI directly with any of these commands
stableagents
stableagents-ai
run-stableagents

# Run with a specific model and API key
stableagents --model openai --key your-api-key

# Run with a local model
stableagents --local

Once in the CLI, you can:

  • Chat with the AI directly by typing any text
  • Use commands like memory, control, and provider
  • Type help to see all available commands

Features

  • Multiple AI provider support (OpenAI, Anthropic, etc.)
  • Local model support for offline usage
  • Memory management
  • Computer control capabilities
  • Simple but powerful CLI
  • Logging system

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 Distribution

stableagents_ai-0.1.3.tar.gz (21.5 kB view details)

Uploaded Source

Built Distribution

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

stableagents_ai-0.1.3-py3-none-any.whl (26.2 kB view details)

Uploaded Python 3

File details

Details for the file stableagents_ai-0.1.3.tar.gz.

File metadata

  • Download URL: stableagents_ai-0.1.3.tar.gz
  • Upload date:
  • Size: 21.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.11 Darwin/24.1.0

File hashes

Hashes for stableagents_ai-0.1.3.tar.gz
Algorithm Hash digest
SHA256 2843f4072ad203ada28cfdbd96035e09f7af4f6595926c1bc720ee8f6b7a16cf
MD5 80fe4979d6aad17f67b3f2055f30c30c
BLAKE2b-256 1f57221f31379f318707f5dc6e9231be3e83388b143d2910780e4b639fc542ae

See more details on using hashes here.

File details

Details for the file stableagents_ai-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: stableagents_ai-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 26.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.11 Darwin/24.1.0

File hashes

Hashes for stableagents_ai-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 137ebde5239b01238b62f1a67af08e68ff5554718e00d0671e0a9ba03bfcecdd
MD5 b2a6382e4dfa725f553c22e379df405e
BLAKE2b-256 d0b9627662af8265447501b0f6c5a1bb9d338425d2747280abed45d807ef7b6f

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