Skip to main content

Endercom CLI

Project description

Endercom CLI

A command-line interface for deploying and managing AI agents on AWS Lambda using the Endercom framework.

Installation

pip install endercom-cli

Prerequisites

Before you begin, ensure you have:

  1. An AWS Account: You'll need credentials to deploy resources.
  2. AWS CLI Configured: Run aws login to set your credentials and default region.
    brew install awscli
    aws login
    
  3. AWS SAM CLI: Required for building and deploying the serverless stack.
    brew install aws-sam-cli
    

Quick Start

1. Initialize an Agent Project

Create a new agent project structure.

endercom init

This scaffolds a directory with:

  • app.py: Your agent logic
  • template.yaml: AWS SAM infrastructure definition
  • requirements.txt: Python dependencies
  • .endercom/agent.yaml: CLI configuration

2. Configure Environment (Optional)

If your agent needs API keys (e.g., OPENAI_API_KEY), add them to the secrets manager.

cd my-agent
endercom secrets set OPENAI_API_KEY "sk-..."

3. Deploy

Build and deploy your agent to AWS.

endercom deploy

The CLI will:

  • Check your code for undeclared environment variables.
  • Sync your configuration to the SAM template.
  • Build the agent using sam build.
  • Deploy using sam deploy.

Commands

Command Description
init <name> Create a new agent project.
deploy Build and deploy the agent stack to AWS.
configure Update project configuration.
secrets set <key> <val> securely store secrets in AWS Secrets Manager.
logs Tail real-time logs from your Lambda function.
destroy Tear down the AWS stack and remove associated secrets.

Configuration

The source of truth for your agent's configuration is .endercom/agent.yaml.

name: my-agent
runtime: python3.12
region: us-east-1
memory: 1024
timeout: 30
env:
  MY_PUBLIC_VAR: "production"
secrets:
  - OPENAI_API_KEY
  • env: Standard environment variables injected at deployment.
  • secrets: List of keys to resolve securely from AWS Secrets Manager.

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

endercom_cli-0.1.3.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

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

endercom_cli-0.1.3-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: endercom_cli-0.1.3.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for endercom_cli-0.1.3.tar.gz
Algorithm Hash digest
SHA256 0bdc1dc7b3c9ee3511b7dd913cb8faed7544109398e503545fd320a1bcd1fb13
MD5 14da5695272ab699dc617716c963d16b
BLAKE2b-256 335f3407fc64b07ea163f8eebf90fc34c2f61e8d64119644ff9276db8b62a70d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: endercom_cli-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for endercom_cli-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1f7cc0017fcb0c4732aa51bdbec3cffb2762e7032fbdfc148a8ab5152140ead4
MD5 12d98bb08792409664ee97b6f55a0236
BLAKE2b-256 6c42e11f195a02e054979083023ef168190c8c7bde2501c5efc2846c155edf5f

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