Skip to main content

Simple coding agent.

Project description

CI Release PyPI Status Badge

Source Agent

A simple coding agent.

How it Works

Source Agent operates as a stateless entity, guided by clear directives and external context. Its behavior is primarily defined by AGENTS.md, which serves as the core system prompt. CHANGELOG.md provides essential historical context and sense-making rationale.


Usage

Installation

git clone https://github.com/christopherwoodall/source-agent
cd source-agent
pip install --editable ".[developer]"

Basic usage

export OPENROUTER_API_KEY=your_key
source-agent --prompt "Analyze this code base"

Advanced usage

source-agent --provider "openai" --model "gpt-4o"  --temperature 0.3

Core Architecture

  • Entry Point: src/source_agent/entrypoint.py - CLI interface with argument parsing
  • Agent Engine: src/source_agent/agents/code.py - OpenAI-compatible client with tool integration
  • System Prompt: AGENTS.md - Defines agent behavior, roles, and constraints

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.

source_agent-0.0.8-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

Details for the file source_agent-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: source_agent-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 16.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for source_agent-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 cc8fa533d191709bbca5872b3369d025a6648198125e94e36a71fcf4cb79bfe8
MD5 90a81d04d1307b122d74c3166769a69d
BLAKE2b-256 504c21d223187b60b876268f8fd4f40c089e1f857ca88442321939e4bd89790e

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