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 a 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 project 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.1.tar.gz (13.0 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.1-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: endercom_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 13.0 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.1.tar.gz
Algorithm Hash digest
SHA256 368a32ce96e9c9bd49410799afda2aaacc455635a5e121a34a7a5ace88322a13
MD5 4a068debe3be386ca4a4c7cbf4112a0f
BLAKE2b-256 2ac6786d481fbfa12ea85f39893d2ecfceaf1459decf5a60e47b0dafb4d048cd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: endercom_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 12.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6e1c5db12a38fea6d793053181877cc032c1da3dfbf1788a6e1654254014625b
MD5 cd0460ee58a455462387b36d492ff2d7
BLAKE2b-256 71292ebae68c8d6ccf005a7b3b5734c52b99b5562de0c31a14ee36faf98ff9df

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