SYMBOL INDEX (670 symbols across 138 files) FILE: codebase-architectures/atomic-composable-architecture/atom/auth.py function hash_password (line 21) | def hash_password(password: str, salt: Optional[str] = None) -> Tuple[st... function verify_password (line 39) | def verify_password(password: str, hashed_password: str, salt: str) -> b... function register_user (line 54) | def register_user(username: str, password: str, email: str) -> Dict: function authenticate (line 87) | def authenticate(username: str, password: str) -> Optional[Dict]: function create_token (line 107) | def create_token(user_id: str, expires_in: int = 3600) -> str: function validate_token (line 128) | def validate_token(token: str) -> Optional[str]: function revoke_token (line 149) | def revoke_token(token: str) -> bool: function get_user_by_id (line 164) | def get_user_by_id(user_id: str) -> Optional[Dict]: FILE: codebase-architectures/atomic-composable-architecture/atom/notifications.py function create_notification (line 22) | def create_notification(user_id: str, notification_type: str, data: Dict, function get_user_notifications (line 62) | def get_user_notifications(user_id: str, unread_only: bool = False) -> L... function mark_notification_as_read (line 81) | def mark_notification_as_read(user_id: str, notification_id: str) -> bool: function mark_all_notifications_as_read (line 102) | def mark_all_notifications_as_read(user_id: str) -> int: function delete_notification (line 123) | def delete_notification(user_id: str, notification_id: str) -> bool: function send_email_notification (line 144) | def send_email_notification(email: str, subject: str, message: str) -> b... function send_sms_notification (line 161) | def send_sms_notification(phone_number: str, message: str) -> bool: function create_alert (line 177) | def create_alert(user_id: str, message: str, level: str = "info", FILE: codebase-architectures/atomic-composable-architecture/atom/validation.py function validate_required_fields (line 11) | def validate_required_fields(data: Dict[str, Any], required_fields: List... function validate_email (line 24) | def validate_email(email: str) -> bool: function validate_string_length (line 39) | def validate_string_length(value: str, min_length: int = 0, max_length: ... function validate_numeric_range (line 62) | def validate_numeric_range(value: Union[int, float], min_value: Optional... function validate_pattern (line 86) | def validate_pattern(value: str, pattern: str) -> bool: function validate_username (line 99) | def validate_username(username: str) -> bool: function validate_password_strength (line 113) | def validate_password_strength(password: str) -> Dict[str, bool]: function validate_data (line 134) | def validate_data(data: Dict[str, Any], schema: Dict[str, Dict[str, Any]... FILE: codebase-architectures/atomic-composable-architecture/main.py function display_header (line 15) | def display_header(text): function display_response (line 21) | def display_response(response): function main (line 55) | def main(): FILE: codebase-architectures/atomic-composable-architecture/molecule/alerting.py function send_user_alert (line 19) | def send_user_alert(user_id: str, message: str, level: str = "info", function get_user_alerts (line 85) | def get_user_alerts(user_id: str, unread_only: bool = False, function mark_alert_as_read (line 110) | def mark_alert_as_read(user_id: str, notification_id: str) -> bool: function mark_all_alerts_as_read (line 123) | def mark_all_alerts_as_read(user_id: str) -> int: function delete_user_alert (line 135) | def delete_user_alert(user_id: str, notification_id: str) -> bool: function send_system_notification (line 148) | def send_system_notification(user_id: str, notification_type: str, FILE: codebase-architectures/atomic-composable-architecture/molecule/user_management.py function register_new_user (line 19) | def register_new_user(username: str, password: str, email: str) -> Tuple... function login_user (line 72) | def login_user(username: str, password: str) -> Tuple[bool, Dict]: function validate_user_token (line 105) | def validate_user_token(token: str) -> Tuple[bool, Optional[Dict]]: function logout_user (line 128) | def logout_user(token: str) -> bool: function update_user_profile (line 140) | def update_user_profile(user_id: str, profile_data: Dict) -> Tuple[bool,... function change_password (line 171) | def change_password(user_id: str, current_password: str, new_password: s... FILE: codebase-architectures/atomic-composable-architecture/organism/alerts_api.py class AlertsAPI (line 16) | class AlertsAPI: method send_alert (line 20) | def send_alert(token: str, message: str, level: str = "info", method get_alerts (line 70) | def get_alerts(token: str, unread_only: bool = False, level: Optional[... method mark_as_read (line 105) | def mark_as_read(token: str, notification_id: str) -> Dict: method mark_all_as_read (line 142) | def mark_all_as_read(token: str) -> Dict: method delete_alert (line 171) | def delete_alert(token: str, notification_id: str) -> Dict: method send_system_alert (line 208) | def send_system_alert(token: str, user_id: str, notification_type: str, FILE: codebase-architectures/atomic-composable-architecture/organism/user_api.py class UserAPI (line 15) | class UserAPI: method register (line 19) | def register(username: str, password: str, email: str) -> Dict: method login (line 47) | def login(username: str, password: str) -> Dict: method get_profile (line 74) | def get_profile(token: str) -> Dict: method logout (line 100) | def logout(token: str) -> Dict: method update_profile (line 126) | def update_profile(token: str, profile_data: Dict) -> Dict: method change_password (line 163) | def change_password(token: str, current_password: str, new_password: s... FILE: codebase-architectures/layered-architecture/api/category_api.py class CategoryAPI (line 10) | class CategoryAPI: method create_category (line 14) | def create_category(name, description=None): method get_category (line 37) | def get_category(category_id): method get_all_categories (line 58) | def get_all_categories(): method update_category (line 74) | def update_category(category_id, name=None, description=None): method delete_category (line 102) | def delete_category(category_id): FILE: codebase-architectures/layered-architecture/api/product_api.py class ProductAPI (line 10) | class ProductAPI: method create_product (line 14) | def create_product(name, price, category_id=None, description=None, sk... method get_product (line 37) | def get_product(product_id): method get_by_sku (line 58) | def get_by_sku(sku): method get_all_products (line 79) | def get_all_products(): method get_products_by_category (line 95) | def get_products_by_category(category_id): method update_product (line 111) | def update_product(product_id, name=None, price=None, category_id=None... method delete_product (line 139) | def delete_product(product_id): FILE: codebase-architectures/layered-architecture/data/database.py class InMemoryDatabase (line 10) | class InMemoryDatabase: method __init__ (line 13) | def __init__(self): method create_table (line 19) | def create_table(self, table_name): method insert (line 25) | def insert(self, table_name, item): method get (line 38) | def get(self, table_name, item_id): method get_all (line 47) | def get_all(self, table_name): method update (line 57) | def update(self, table_name, item_id, item): method delete (line 69) | def delete(self, table_name, item_id): method query (line 79) | def query(self, table_name, filter_func): FILE: codebase-architectures/layered-architecture/main.py function display_header (line 16) | def display_header(text): function display_result (line 22) | def display_result(result): function print_item (line 37) | def print_item(item): function main (line 45) | def main(): FILE: codebase-architectures/layered-architecture/models/category.py class Category (line 9) | class Category: method __init__ (line 12) | def __init__(self, name, description=None, id=None): method to_dict (line 20) | def to_dict(self): method from_dict (line 31) | def from_dict(cls, data): FILE: codebase-architectures/layered-architecture/models/product.py class Product (line 9) | class Product: method __init__ (line 12) | def __init__(self, name, price, category_id=None, description=None, sk... method to_dict (line 23) | def to_dict(self): method from_dict (line 37) | def from_dict(cls, data): FILE: codebase-architectures/layered-architecture/services/category_service.py class CategoryService (line 12) | class CategoryService: method create_category (line 16) | def create_category(name, description=None): method get_category (line 38) | def get_category(category_id): method get_all_categories (line 51) | def get_all_categories(): method update_category (line 62) | def update_category(category_id, name=None, description=None): method delete_category (line 95) | def delete_category(category_id): FILE: codebase-architectures/layered-architecture/services/product_service.py class ProductService (line 12) | class ProductService: method create_product (line 16) | def create_product(name, price, category_id=None, description=None, sk... method get_product (line 58) | def get_product(product_id): method get_by_sku (line 71) | def get_by_sku(sku): method get_all_products (line 84) | def get_all_products(): method get_products_by_category (line 95) | def get_products_by_category(category_id): method update_product (line 106) | def update_product(product_id, name=None, price=None, category_id=None... method delete_product (line 160) | def delete_product(product_id): FILE: codebase-architectures/layered-architecture/utils/logger.py class Logger (line 16) | class Logger: method get_logger (line 20) | def get_logger(name): method info (line 25) | def info(logger, message): method error (line 30) | def error(logger, message, exc_info=None): method warning (line 35) | def warning(logger, message): method debug (line 40) | def debug(logger, message): FILE: codebase-architectures/pipeline-architecture/main.py function create_sample_data (line 20) | def create_sample_data(): function main (line 106) | def main(): FILE: codebase-architectures/pipeline-architecture/pipeline_manager/data_pipeline.py class DataProcessingPipeline (line 10) | class DataProcessingPipeline(PipelineManager): method __init__ (line 13) | def __init__(self, name="Data Processing Pipeline"): method _execute_first_stage (line 17) | def _execute_first_stage(self, input_stage): method _execute_stage (line 28) | def _execute_stage(self, stage_instance, previous_result): method configure_input (line 103) | def configure_input(self, source, source_type="json", required_fields=... method configure_processing (line 117) | def configure_processing(self, config): method configure_output (line 126) | def configure_output(self, config): FILE: codebase-architectures/pipeline-architecture/pipeline_manager/pipeline_manager.py class PipelineManager (line 10) | class PipelineManager: method __init__ (line 13) | def __init__(self, name="Data Processing Pipeline"): method add_stage (line 26) | def add_stage(self, stage_name, stage_instance): method run (line 40) | def run(self): method _execute_first_stage (line 121) | def _execute_first_stage(self, stage_instance): method _execute_stage (line 127) | def _execute_stage(self, stage_instance, previous_result): method get_final_result (line 133) | def get_final_result(self): method _create_pipeline_result (line 149) | def _create_pipeline_result(self): FILE: codebase-architectures/pipeline-architecture/shared/utilities.py function load_json_file (line 12) | def load_json_file(file_path): function save_json_file (line 22) | def save_json_file(data, file_path): function load_csv_file (line 31) | def load_csv_file(file_path): function save_csv_file (line 42) | def save_csv_file(data, file_path, fieldnames=None): function get_timestamp (line 59) | def get_timestamp(): function validate_required_fields (line 63) | def validate_required_fields(data, required_fields): function format_currency (line 74) | def format_currency(amount): function format_percentage (line 81) | def format_percentage(value): function generate_report_filename (line 88) | def generate_report_filename(prefix="report", extension="json"): FILE: codebase-architectures/pipeline-architecture/steps/input_stage.py class InputStage (line 12) | class InputStage: method __init__ (line 15) | def __init__(self): method load_data (line 24) | def load_data(self, source, source_type="json"): method validate_data (line 63) | def validate_data(self, schema=None, required_fields=None): method transform_data (line 109) | def transform_data(self, transform_func): method _create_result (line 133) | def _create_result(self): FILE: codebase-architectures/pipeline-architecture/steps/output_stage.py class OutputStage (line 13) | class OutputStage: method __init__ (line 16) | def __init__(self): method prepare (line 27) | def prepare(self, processing_result): method format_as_summary (line 58) | def format_as_summary(self): method format_as_detailed_report (line 103) | def format_as_detailed_report(self): method save_to_file (line 150) | def save_to_file(self, output_format="json", output_dir="./output", fi... method print_results (line 220) | def print_results(self, output_type="summary"): method finalize (line 291) | def finalize(self): method _create_result (line 311) | def _create_result(self): FILE: codebase-architectures/pipeline-architecture/steps/processing_stage.py class ProcessingStage (line 11) | class ProcessingStage: method __init__ (line 14) | def __init__(self): method process (line 24) | def process(self, input_result): method calculate_statistics (line 50) | def calculate_statistics(self, numeric_fields=None): method filter_data (line 127) | def filter_data(self, filter_func, description=None): method transform_fields (line 174) | def transform_fields(self, transformations, description=None): method finalize (line 221) | def finalize(self): method _create_result (line 241) | def _create_result(self): FILE: codebase-architectures/vertical-slice-architecture/features/projects/api.py class ProjectAPI (line 10) | class ProjectAPI: method create_project (line 14) | def create_project(name, description=None, user_id=None): method get_project (line 24) | def get_project(project_id): method get_all_projects (line 32) | def get_all_projects(): method get_user_projects (line 37) | def get_user_projects(user_id): method update_project (line 42) | def update_project(project_id, project_data): method delete_project (line 50) | def delete_project(project_id): method add_task_to_project (line 58) | def add_task_to_project(project_id, task_id): method remove_task_from_project (line 66) | def remove_task_from_project(project_id, task_id): method get_project_tasks (line 74) | def get_project_tasks(project_id): FILE: codebase-architectures/vertical-slice-architecture/features/projects/model.py class Project (line 9) | class Project: method __init__ (line 12) | def __init__(self, name, description=None, user_id=None, id=None): method to_dict (line 21) | def to_dict(self): method from_dict (line 34) | def from_dict(cls, data): FILE: codebase-architectures/vertical-slice-architecture/features/projects/service.py class ProjectService (line 11) | class ProjectService: method create_project (line 15) | def create_project(project_data): method get_project (line 23) | def get_project(project_id): method get_all_projects (line 31) | def get_all_projects(): method get_user_projects (line 36) | def get_user_projects(user_id): method update_project (line 42) | def update_project(project_id, project_data): method delete_project (line 61) | def delete_project(project_id): method add_task_to_project (line 66) | def add_task_to_project(project_id, task_id): method remove_task_from_project (line 86) | def remove_task_from_project(project_id, task_id): method get_project_tasks (line 102) | def get_project_tasks(project_id): FILE: codebase-architectures/vertical-slice-architecture/features/tasks/api.py class TaskAPI (line 9) | class TaskAPI: method create_task (line 13) | def create_task(title, description=None, user_id=None): method get_task (line 23) | def get_task(task_id): method get_all_tasks (line 31) | def get_all_tasks(): method get_user_tasks (line 36) | def get_user_tasks(user_id): method update_task (line 41) | def update_task(task_id, task_data): method delete_task (line 49) | def delete_task(task_id): FILE: codebase-architectures/vertical-slice-architecture/features/tasks/model.py class Task (line 9) | class Task: method __init__ (line 12) | def __init__(self, title, description=None, user_id=None, status="pend... method to_dict (line 21) | def to_dict(self): method from_dict (line 34) | def from_dict(cls, data): FILE: codebase-architectures/vertical-slice-architecture/features/tasks/service.py class TaskService (line 11) | class TaskService: method create_task (line 15) | def create_task(task_data): method get_task (line 23) | def get_task(task_id): method get_all_tasks (line 31) | def get_all_tasks(): method get_user_tasks (line 36) | def get_user_tasks(user_id): method update_task (line 42) | def update_task(task_id, task_data): method delete_task (line 61) | def delete_task(task_id): FILE: codebase-architectures/vertical-slice-architecture/features/users/api.py class UserAPI (line 9) | class UserAPI: method create_user (line 13) | def create_user(username, email, name=None): method get_user (line 26) | def get_user(user_id): method get_by_username (line 34) | def get_by_username(username): method get_all_users (line 42) | def get_all_users(): method update_user (line 47) | def update_user(user_id, user_data): method delete_user (line 58) | def delete_user(user_id): FILE: codebase-architectures/vertical-slice-architecture/features/users/model.py class User (line 9) | class User: method __init__ (line 12) | def __init__(self, username, email, name=None, id=None): method to_dict (line 20) | def to_dict(self): method from_dict (line 32) | def from_dict(cls, data): FILE: codebase-architectures/vertical-slice-architecture/features/users/service.py class UserService (line 11) | class UserService: method create_user (line 15) | def create_user(user_data): method get_user (line 29) | def get_user(user_id): method get_by_username (line 37) | def get_by_username(username): method get_all_users (line 46) | def get_all_users(): method update_user (line 51) | def update_user(user_id, user_data): method delete_user (line 76) | def delete_user(user_id): FILE: codebase-architectures/vertical-slice-architecture/main.py function display_header (line 16) | def display_header(text): function display_result (line 22) | def display_result(result): function main (line 33) | def main(): FILE: example-agent-codebase-arch/atomic-composable-architecture/atom/file_tools/insert_tool.py function insert_in_file (line 22) | def insert_in_file(path: str, insert_line: int, new_str: str) -> FileOpe... FILE: example-agent-codebase-arch/atomic-composable-architecture/atom/file_tools/read_tool.py function read_file (line 20) | def read_file(path: str, start_line: int = None, end_line: int = None) -... FILE: example-agent-codebase-arch/atomic-composable-architecture/atom/file_tools/replace_tool.py function replace_in_file (line 19) | def replace_in_file(path: str, old_str: str, new_str: str) -> FileOperat... FILE: example-agent-codebase-arch/atomic-composable-architecture/atom/file_tools/result_tool.py class FileOperationResult (line 10) | class FileOperationResult: method __init__ (line 15) | def __init__(self, success: bool, message: str, data: Any = None): method to_dict (line 28) | def to_dict(self) -> Dict[str, Any]: method to_response (line 41) | def to_response(self) -> Dict[str, Any]: FILE: example-agent-codebase-arch/atomic-composable-architecture/atom/file_tools/undo_tool.py function undo_edit (line 19) | def undo_edit(path: str) -> FileOperationResult: FILE: example-agent-codebase-arch/atomic-composable-architecture/atom/file_tools/write_tool.py function write_file (line 20) | def write_file(path: str, content: str) -> FileOperationResult: FILE: example-agent-codebase-arch/atomic-composable-architecture/atom/logging/console.py function log_info (line 14) | def log_info(component: str, message: str) -> None: function log_warning (line 24) | def log_warning(component: str, message: str) -> None: function log_error (line 35) | def log_error(component: str, message: str, exc_info: bool = False) -> N... FILE: example-agent-codebase-arch/atomic-composable-architecture/atom/logging/display.py function display_file_content (line 23) | def display_file_content(path: str, content: str) -> None: function display_token_usage (line 35) | def display_token_usage(input_tokens: int, output_tokens: int) -> None: FILE: example-agent-codebase-arch/atomic-composable-architecture/atom/path_utils/directory.py function ensure_directory_exists (line 10) | def ensure_directory_exists(path: str) -> None: FILE: example-agent-codebase-arch/atomic-composable-architecture/atom/path_utils/extension.py function get_file_extension (line 10) | def get_file_extension(path: str) -> str: FILE: example-agent-codebase-arch/atomic-composable-architecture/atom/path_utils/normalize.py function normalize_path (line 10) | def normalize_path(path: str) -> str: FILE: example-agent-codebase-arch/atomic-composable-architecture/atom/path_utils/validation.py function is_valid_path (line 10) | def is_valid_path(path: str) -> bool: function file_exists (line 22) | def file_exists(path: str) -> bool: FILE: example-agent-codebase-arch/atomic-composable-architecture/membrane/main_file_agent.py class FileAgent (line 25) | class FileAgent: method run (line 31) | def run(prompt: str, api_key: Optional[str] = None, max_tool_use_loops... function main (line 82) | def main(): FILE: example-agent-codebase-arch/atomic-composable-architecture/membrane/mcp_file_agent.py class FileAgent (line 25) | class FileAgent: method run (line 31) | def run(prompt: str, api_key: Optional[str] = None, max_tool_use_loops... function main (line 82) | def main(): FILE: example-agent-codebase-arch/atomic-composable-architecture/molecule/file_crud.py class FileCRUD (line 17) | class FileCRUD: method read (line 23) | def read(path: str, start_line: int = None, end_line: int = None) -> F... method write (line 47) | def write(path: str, content: str) -> FileOperationResult: method replace (line 70) | def replace(path: str, old_str: str, new_str: str) -> FileOperationRes... method insert (line 94) | def insert(path: str, insert_line: int, new_str: str) -> FileOperation... method create (line 118) | def create(path: str, content: str) -> FileOperationResult: method undo (line 134) | def undo(path: str) -> FileOperationResult: method handle_tool_use (line 156) | def handle_tool_use(tool_use: dict) -> dict: FILE: example-agent-codebase-arch/atomic-composable-architecture/molecule/file_reader.py class FileReader (line 17) | class FileReader: method read (line 23) | def read(path: str, start_line: int = None, end_line: int = None) -> F... method view_file (line 48) | def view_file(path: str, view_range=None) -> FileOperationResult: FILE: example-agent-codebase-arch/atomic-composable-architecture/molecule/file_writer.py class FileWriter (line 17) | class FileWriter: method write (line 23) | def write(path: str, content: str) -> FileOperationResult: method replace (line 47) | def replace(path: str, old_str: str, new_str: str) -> FileOperationRes... method insert (line 72) | def insert(path: str, insert_line: int, new_str: str) -> FileOperation... method create (line 97) | def create(path: str, content: str) -> FileOperationResult: FILE: example-agent-codebase-arch/atomic-composable-architecture/organism/file_agent.py class FileEditor (line 30) | class FileEditor: method run_agent (line 36) | def run_agent( function run_agent (line 232) | def run_agent( FILE: example-agent-codebase-arch/vertical-slice-architecture/features/blog_agent/blog_agent.py class BlogAgent (line 31) | class BlogAgent: method run_agent (line 37) | def run_agent( function run_agent (line 260) | def run_agent( FILE: example-agent-codebase-arch/vertical-slice-architecture/features/blog_agent/blog_manager.py class BlogManager (line 23) | class BlogManager: method create_post (line 29) | def create_post(title: str, content: str, author: str, tags: List[str]... method get_post (line 46) | def get_post(post_id: str) -> BlogOperationResult: method update_post (line 60) | def update_post(post_id: str, title: Optional[str] = None, content: Op... method delete_post (line 79) | def delete_post(post_id: str) -> BlogOperationResult: method list_posts (line 93) | def list_posts(tag: Optional[str] = None, author: Optional[str] = None, method search_posts (line 110) | def search_posts(query: str, search_content: bool = True, method publish_post (line 128) | def publish_post(post_id: str) -> BlogOperationResult: method unpublish_post (line 142) | def unpublish_post(post_id: str) -> BlogOperationResult: FILE: example-agent-codebase-arch/vertical-slice-architecture/features/blog_agent/create_tool.py function create_blog_post (line 24) | def create_blog_post(title: str, content: str, author: str, tags: list =... FILE: example-agent-codebase-arch/vertical-slice-architecture/features/blog_agent/delete_tool.py function delete_blog_post (line 23) | def delete_blog_post(post_id: str) -> BlogOperationResult: FILE: example-agent-codebase-arch/vertical-slice-architecture/features/blog_agent/model_tools.py class BlogPost (line 17) | class BlogPost: method to_dict (line 29) | def to_dict(self) -> Dict[str, Any]: method from_dict (line 43) | def from_dict(cls, data: Dict[str, Any]) -> 'BlogPost': class BlogOperationResult (line 57) | class BlogOperationResult: method __init__ (line 62) | def __init__(self, success: bool, message: str, data: Any = None): method to_dict (line 75) | def to_dict(self) -> Dict[str, Any]: class ToolUseRequest (line 89) | class ToolUseRequest: method __init__ (line 94) | def __init__(self, command: str, **kwargs): method from_dict (line 106) | def from_dict(cls, data: Dict[str, Any]) -> 'ToolUseRequest': FILE: example-agent-codebase-arch/vertical-slice-architecture/features/blog_agent/read_tool.py function read_blog_post (line 23) | def read_blog_post(post_id: str) -> BlogOperationResult: function list_blog_posts (line 61) | def list_blog_posts(tag: Optional[str] = None, author: Optional[str] = N... FILE: example-agent-codebase-arch/vertical-slice-architecture/features/blog_agent/search_tool.py function search_blog_posts (line 24) | def search_blog_posts(query: str, search_content: bool = True, FILE: example-agent-codebase-arch/vertical-slice-architecture/features/blog_agent/tool_handler.py function handle_tool_use (line 20) | def handle_tool_use(input_data: Dict[str, Any]) -> Dict[str, Any]: FILE: example-agent-codebase-arch/vertical-slice-architecture/features/blog_agent/update_tool.py function update_blog_post (line 24) | def update_blog_post(post_id: str, title: Optional[str] = None, content:... function publish_blog_post (line 83) | def publish_blog_post(post_id: str) -> BlogOperationResult: function unpublish_blog_post (line 96) | def unpublish_blog_post(post_id: str) -> BlogOperationResult: FILE: example-agent-codebase-arch/vertical-slice-architecture/features/blog_agent_v2/blog_agent.py class BlogAgent (line 31) | class BlogAgent: method run_agent (line 37) | def run_agent( function run_agent (line 260) | def run_agent( FILE: example-agent-codebase-arch/vertical-slice-architecture/features/blog_agent_v2/blog_manager.py class BlogManager (line 23) | class BlogManager: method create_post (line 29) | def create_post(title: str, content: str, author: str, tags: List[str]... method get_post (line 46) | def get_post(post_id: str) -> BlogOperationResult: method update_post (line 60) | def update_post(post_id: str, title: Optional[str] = None, content: Op... method delete_post (line 79) | def delete_post(post_id: str) -> BlogOperationResult: method list_posts (line 93) | def list_posts(tag: Optional[str] = None, author: Optional[str] = None, method search_posts (line 110) | def search_posts(query: str, search_content: bool = True, method publish_post (line 128) | def publish_post(post_id: str) -> BlogOperationResult: method unpublish_post (line 142) | def unpublish_post(post_id: str) -> BlogOperationResult: FILE: example-agent-codebase-arch/vertical-slice-architecture/features/blog_agent_v2/create_tool.py function create_blog_post (line 24) | def create_blog_post(title: str, content: str, author: str, tags: list =... FILE: example-agent-codebase-arch/vertical-slice-architecture/features/blog_agent_v2/delete_tool.py function delete_blog_post (line 23) | def delete_blog_post(post_id: str) -> BlogOperationResult: FILE: example-agent-codebase-arch/vertical-slice-architecture/features/blog_agent_v2/model_tools.py class BlogPost (line 17) | class BlogPost: method to_dict (line 29) | def to_dict(self) -> Dict[str, Any]: method from_dict (line 43) | def from_dict(cls, data: Dict[str, Any]) -> 'BlogPost': class BlogOperationResult (line 57) | class BlogOperationResult: method __init__ (line 62) | def __init__(self, success: bool, message: str, data: Any = None): method to_dict (line 75) | def to_dict(self) -> Dict[str, Any]: class ToolUseRequest (line 89) | class ToolUseRequest: method __init__ (line 94) | def __init__(self, command: str, **kwargs): method from_dict (line 106) | def from_dict(cls, data: Dict[str, Any]) -> 'ToolUseRequest': FILE: example-agent-codebase-arch/vertical-slice-architecture/features/blog_agent_v2/read_tool.py function read_blog_post (line 23) | def read_blog_post(post_id: str) -> BlogOperationResult: function list_blog_posts (line 61) | def list_blog_posts(tag: Optional[str] = None, author: Optional[str] = N... FILE: example-agent-codebase-arch/vertical-slice-architecture/features/blog_agent_v2/search_tool.py function search_blog_posts (line 24) | def search_blog_posts(query: str, search_content: bool = True, FILE: example-agent-codebase-arch/vertical-slice-architecture/features/blog_agent_v2/tool_handler.py function handle_tool_use (line 20) | def handle_tool_use(input_data: Dict[str, Any]) -> Dict[str, Any]: FILE: example-agent-codebase-arch/vertical-slice-architecture/features/blog_agent_v2/update_tool.py function update_blog_post (line 24) | def update_blog_post(post_id: str, title: Optional[str] = None, content:... function publish_blog_post (line 83) | def publish_blog_post(post_id: str) -> BlogOperationResult: function unpublish_blog_post (line 96) | def unpublish_blog_post(post_id: str) -> BlogOperationResult: FILE: example-agent-codebase-arch/vertical-slice-architecture/features/file_agent/api_tools.py class FileOperationsAPI (line 19) | class FileOperationsAPI: method handle_tool_use (line 25) | def handle_tool_use(tool_use: Dict[str, Any]) -> Dict[str, Any]: FILE: example-agent-codebase-arch/vertical-slice-architecture/features/file_agent/create_tool.py function create_file (line 18) | def create_file(path: str, content: str) -> FileOperationResult: FILE: example-agent-codebase-arch/vertical-slice-architecture/features/file_agent/file_agent.py class FileAgent (line 31) | class FileAgent: method run_agent (line 37) | def run_agent( function run_agent (line 231) | def run_agent( FILE: example-agent-codebase-arch/vertical-slice-architecture/features/file_agent/file_editor.py class FileEditor (line 20) | class FileEditor: method read (line 26) | def read(path: str, start_line: Optional[int] = None, end_line: Option... method view_file (line 42) | def view_file(path: str, view_range=None) -> FileOperationResult: method edit_file (line 64) | def edit_file(path: str, old_str: str, new_str: str) -> FileOperationR... method create_file (line 88) | def create_file(path: str, content: str) -> FileOperationResult: method insert_line (line 105) | def insert_line(path: str, line_num: int, content: str) -> FileOperati... FILE: example-agent-codebase-arch/vertical-slice-architecture/features/file_agent/file_writer.py class FileWriter (line 22) | class FileWriter: method write (line 28) | def write(path: str, content: str) -> FileOperationResult: method replace (line 43) | def replace(path: str, old_str: str, new_str: str) -> FileOperationRes... method insert (line 59) | def insert(path: str, insert_line: int, new_str: str) -> FileOperation... method create (line 75) | def create(path: str, content: str) -> FileOperationResult: FILE: example-agent-codebase-arch/vertical-slice-architecture/features/file_agent/insert_tool.py function insert_in_file (line 17) | def insert_in_file(path: str, insert_line: int, new_str: str) -> FileOpe... FILE: example-agent-codebase-arch/vertical-slice-architecture/features/file_agent/model_tools.py class FileOperationResult (line 14) | class FileOperationResult: method __init__ (line 19) | def __init__(self, success: bool, message: str, content: str = "", dat... method to_dict (line 34) | def to_dict(self) -> Dict[str, Any]: class ToolUseRequest (line 48) | class ToolUseRequest: method __init__ (line 53) | def __init__(self, command: str, path: str = None, **kwargs): method from_dict (line 67) | def from_dict(cls, data: Dict[str, Any]) -> 'ToolUseRequest': FILE: example-agent-codebase-arch/vertical-slice-architecture/features/file_agent/read_tool.py function read_file (line 18) | def read_file(path: str, start_line: Optional[int] = None, end_line: Opt... FILE: example-agent-codebase-arch/vertical-slice-architecture/features/file_agent/replace_tool.py function replace_in_file (line 17) | def replace_in_file(path: str, old_str: str, new_str: str) -> FileOperat... FILE: example-agent-codebase-arch/vertical-slice-architecture/features/file_agent/service_tools.py class FileOperationService (line 18) | class FileOperationService: method view_file (line 24) | def view_file(path: str, view_range=None) -> FileOperationResult: method str_replace (line 71) | def str_replace(path: str, old_str: str, new_str: str) -> FileOperatio... method create_file (line 116) | def create_file(path: str, file_text: str) -> FileOperationResult: method insert_text (line 157) | def insert_text(path: str, insert_line: int, new_str: str) -> FileOper... method undo_edit (line 228) | def undo_edit(path: str) -> FileOperationResult: FILE: example-agent-codebase-arch/vertical-slice-architecture/features/file_agent/tool_handler.py function handle_tool_use (line 19) | def handle_tool_use(input_data: Dict[str, Any]) -> Dict[str, Any]: FILE: example-agent-codebase-arch/vertical-slice-architecture/features/file_agent/write_tool.py function write_file (line 17) | def write_file(path: str, content: str) -> FileOperationResult: FILE: example-agent-codebase-arch/vertical-slice-architecture/features/file_agent_v2/api_tools.py class FileOperationsAPI (line 19) | class FileOperationsAPI: method handle_tool_use (line 25) | def handle_tool_use(tool_use: Dict[str, Any]) -> Dict[str, Any]: FILE: example-agent-codebase-arch/vertical-slice-architecture/features/file_agent_v2/create_tool.py function create_file (line 18) | def create_file(path: str, content: str) -> FileOperationResult: FILE: example-agent-codebase-arch/vertical-slice-architecture/features/file_agent_v2/file_agent.py class FileAgent (line 31) | class FileAgent: method run_agent (line 37) | def run_agent( function run_agent (line 231) | def run_agent( FILE: example-agent-codebase-arch/vertical-slice-architecture/features/file_agent_v2/file_editor.py class FileEditor (line 20) | class FileEditor: method read (line 26) | def read(path: str, start_line: Optional[int] = None, end_line: Option... method view_file (line 42) | def view_file(path: str, view_range=None) -> FileOperationResult: method edit_file (line 64) | def edit_file(path: str, old_str: str, new_str: str) -> FileOperationR... method create_file (line 88) | def create_file(path: str, content: str) -> FileOperationResult: method insert_line (line 105) | def insert_line(path: str, line_num: int, content: str) -> FileOperati... FILE: example-agent-codebase-arch/vertical-slice-architecture/features/file_agent_v2/file_writer.py class FileWriter (line 22) | class FileWriter: method write (line 28) | def write(path: str, content: str) -> FileOperationResult: method replace (line 43) | def replace(path: str, old_str: str, new_str: str) -> FileOperationRes... method insert (line 59) | def insert(path: str, insert_line: int, new_str: str) -> FileOperation... method create (line 75) | def create(path: str, content: str) -> FileOperationResult: FILE: example-agent-codebase-arch/vertical-slice-architecture/features/file_agent_v2/insert_tool.py function insert_in_file (line 17) | def insert_in_file(path: str, insert_line: int, new_str: str) -> FileOpe... FILE: example-agent-codebase-arch/vertical-slice-architecture/features/file_agent_v2/model_tools.py class FileOperationResult (line 14) | class FileOperationResult: method __init__ (line 19) | def __init__(self, success: bool, message: str, content: str = "", dat... method to_dict (line 34) | def to_dict(self) -> Dict[str, Any]: class ToolUseRequest (line 48) | class ToolUseRequest: method __init__ (line 53) | def __init__(self, command: str, path: str = None, **kwargs): method from_dict (line 67) | def from_dict(cls, data: Dict[str, Any]) -> 'ToolUseRequest': FILE: example-agent-codebase-arch/vertical-slice-architecture/features/file_agent_v2/read_tool.py function read_file (line 18) | def read_file(path: str, start_line: Optional[int] = None, end_line: Opt... FILE: example-agent-codebase-arch/vertical-slice-architecture/features/file_agent_v2/replace_tool.py function replace_in_file (line 17) | def replace_in_file(path: str, old_str: str, new_str: str) -> FileOperat... FILE: example-agent-codebase-arch/vertical-slice-architecture/features/file_agent_v2/service_tools.py class FileOperationService (line 18) | class FileOperationService: method view_file (line 24) | def view_file(path: str, view_range=None) -> FileOperationResult: method str_replace (line 71) | def str_replace(path: str, old_str: str, new_str: str) -> FileOperatio... method create_file (line 116) | def create_file(path: str, file_text: str) -> FileOperationResult: method insert_text (line 157) | def insert_text(path: str, insert_line: int, new_str: str) -> FileOper... method undo_edit (line 228) | def undo_edit(path: str) -> FileOperationResult: FILE: example-agent-codebase-arch/vertical-slice-architecture/features/file_agent_v2/tool_handler.py function handle_tool_use (line 19) | def handle_tool_use(input_data: Dict[str, Any]) -> Dict[str, Any]: FILE: example-agent-codebase-arch/vertical-slice-architecture/features/file_agent_v2/write_tool.py function write_file (line 17) | def write_file(path: str, content: str) -> FileOperationResult: FILE: example-agent-codebase-arch/vertical-slice-architecture/features/file_agent_v2_gemini/api_tools.py class FileOperationsAPI (line 19) | class FileOperationsAPI: method handle_tool_use (line 25) | def handle_tool_use(tool_use: Dict[str, Any]) -> Dict[str, Any]: FILE: example-agent-codebase-arch/vertical-slice-architecture/features/file_agent_v2_gemini/create_tool.py function create_file (line 18) | def create_file(path: str, content: str) -> FileOperationResult: FILE: example-agent-codebase-arch/vertical-slice-architecture/features/file_agent_v2_gemini/file_agent.py class FileAgent (line 31) | class FileAgent: method run_agent (line 37) | def run_agent( function run_agent (line 231) | def run_agent( FILE: example-agent-codebase-arch/vertical-slice-architecture/features/file_agent_v2_gemini/file_editor.py class FileEditor (line 20) | class FileEditor: method read (line 26) | def read(path: str, start_line: Optional[int] = None, end_line: Option... method view_file (line 42) | def view_file(path: str, view_range=None) -> FileOperationResult: method edit_file (line 64) | def edit_file(path: str, old_str: str, new_str: str) -> FileOperationR... method create_file (line 88) | def create_file(path: str, content: str) -> FileOperationResult: method insert_line (line 105) | def insert_line(path: str, line_num: int, content: str) -> FileOperati... FILE: example-agent-codebase-arch/vertical-slice-architecture/features/file_agent_v2_gemini/file_writer.py class FileWriter (line 22) | class FileWriter: method write (line 28) | def write(path: str, content: str) -> FileOperationResult: method replace (line 43) | def replace(path: str, old_str: str, new_str: str) -> FileOperationRes... method insert (line 59) | def insert(path: str, insert_line: int, new_str: str) -> FileOperation... method create (line 75) | def create(path: str, content: str) -> FileOperationResult: FILE: example-agent-codebase-arch/vertical-slice-architecture/features/file_agent_v2_gemini/insert_tool.py function insert_in_file (line 17) | def insert_in_file(path: str, insert_line: int, new_str: str) -> FileOpe... FILE: example-agent-codebase-arch/vertical-slice-architecture/features/file_agent_v2_gemini/model_tools.py class FileOperationResult (line 14) | class FileOperationResult: method __init__ (line 19) | def __init__(self, success: bool, message: str, content: str = "", dat... method to_dict (line 34) | def to_dict(self) -> Dict[str, Any]: class ToolUseRequest (line 48) | class ToolUseRequest: method __init__ (line 53) | def __init__(self, command: str, path: str = None, **kwargs): method from_dict (line 67) | def from_dict(cls, data: Dict[str, Any]) -> 'ToolUseRequest': FILE: example-agent-codebase-arch/vertical-slice-architecture/features/file_agent_v2_gemini/read_tool.py function read_file (line 18) | def read_file(path: str, start_line: Optional[int] = None, end_line: Opt... FILE: example-agent-codebase-arch/vertical-slice-architecture/features/file_agent_v2_gemini/replace_tool.py function replace_in_file (line 17) | def replace_in_file(path: str, old_str: str, new_str: str) -> FileOperat... FILE: example-agent-codebase-arch/vertical-slice-architecture/features/file_agent_v2_gemini/service_tools.py class FileOperationService (line 18) | class FileOperationService: method view_file (line 24) | def view_file(path: str, view_range=None) -> FileOperationResult: method str_replace (line 71) | def str_replace(path: str, old_str: str, new_str: str) -> FileOperatio... method create_file (line 116) | def create_file(path: str, file_text: str) -> FileOperationResult: method insert_text (line 157) | def insert_text(path: str, insert_line: int, new_str: str) -> FileOper... method undo_edit (line 228) | def undo_edit(path: str) -> FileOperationResult: FILE: example-agent-codebase-arch/vertical-slice-architecture/features/file_agent_v2_gemini/tool_handler.py function handle_tool_use (line 19) | def handle_tool_use(input_data: Dict[str, Any]) -> Dict[str, Any]: FILE: example-agent-codebase-arch/vertical-slice-architecture/features/file_agent_v2_gemini/write_tool.py function write_file (line 17) | def write_file(path: str, content: str) -> FileOperationResult: FILE: example-agent-codebase-arch/vertical-slice-architecture/main.py function main (line 51) | def main(): FILE: extra/gist_poc.py function fetch_gist_content (line 12) | def fetch_gist_content(): FILE: openai-agents-examples/01_basic_agent.py function create_basic_agent (line 39) | def create_basic_agent(instructions: str = None) -> Agent: function run_basic_agent (line 62) | async def run_basic_agent(prompt: str, agent: Optional[Agent] = None) ->... function main (line 83) | def main(): function test_create_basic_agent (line 109) | def test_create_basic_agent(): function test_run_basic_agent (line 116) | def test_run_basic_agent(): FILE: openai-agents-examples/02_multi_agent.py function create_science_agent (line 39) | def create_science_agent() -> Agent: function create_tech_agent (line 60) | def create_tech_agent() -> Agent: function create_coordinator_agent (line 81) | def create_coordinator_agent(specialists: List[Agent]) -> Agent: function run_multi_agent_system (line 107) | async def run_multi_agent_system(prompt: str) -> str: function main (line 130) | def main(): function test_create_specialist_agents (line 155) | def test_create_specialist_agents(): function test_create_coordinator_agent (line 165) | def test_create_coordinator_agent(): function test_run_multi_agent_system (line 176) | def test_run_multi_agent_system(): FILE: openai-agents-examples/03_sync_agent.py function create_health_agent (line 38) | def create_health_agent() -> Agent: function run_sync_agent (line 59) | def run_sync_agent(prompt: str, agent: Optional[Agent] = None) -> str: function main (line 80) | def main(): function test_create_health_agent (line 105) | def test_create_health_agent(): function test_run_sync_agent (line 112) | def test_run_sync_agent(): FILE: openai-agents-examples/04_agent_with_tracing.py function setup_tracing (line 47) | def setup_tracing(): function create_geography_agent (line 63) | def create_geography_agent() -> Agent: function run_traced_agent (line 82) | async def run_traced_agent(prompt: str, tracer) -> str: function main (line 114) | def main(): function test_create_geography_agent (line 142) | def test_create_geography_agent(): function test_run_traced_agent (line 149) | def test_run_traced_agent(): FILE: openai-agents-examples/05_agent_with_function_tools.py function get_current_weather (line 44) | def get_current_weather(location: str, unit: str) -> str: function calculate_distance (line 78) | def calculate_distance(origin: str, destination: str, unit: str) -> str: function get_current_time (line 117) | def get_current_time(location: str) -> str: function create_travel_assistant (line 133) | def create_travel_assistant() -> Agent: function run_function_tool_agent (line 156) | async def run_function_tool_agent(prompt: str) -> str: function main (line 175) | def main(): function test_function_tools (line 200) | def test_function_tools(): function test_create_travel_assistant (line 218) | def test_create_travel_assistant(): function test_run_function_tool_agent (line 225) | def test_run_function_tool_agent(): FILE: openai-agents-examples/06_agent_with_custom_tools.py class CurrencyConversionInput (line 42) | class CurrencyConversionInput(BaseModel): class StockPriceInput (line 48) | class StockPriceInput(BaseModel): function convert_currency (line 53) | def convert_currency(params: CurrencyConversionInput) -> str: function get_stock_price (line 90) | def get_stock_price(params: StockPriceInput) -> str: function create_financial_assistant (line 119) | def create_financial_assistant() -> Agent: function run_custom_tool_agent (line 157) | async def run_custom_tool_agent(prompt: str) -> str: function main (line 176) | def main(): function test_custom_tools (line 201) | def test_custom_tools(): function test_create_financial_assistant (line 217) | def test_create_financial_assistant(): function test_run_custom_tool_agent (line 226) | def test_run_custom_tool_agent(): FILE: openai-agents-examples/07_agent_with_handoffs.py function create_billing_agent (line 39) | def create_billing_agent() -> Agent: function create_technical_agent (line 60) | def create_technical_agent() -> Agent: function create_account_agent (line 81) | def create_account_agent() -> Agent: function create_triage_agent (line 102) | def create_triage_agent(specialists: List[Agent]) -> Agent: function run_customer_support_system (line 131) | async def run_customer_support_system(prompt: str) -> str: function main (line 155) | def main(): function test_create_specialist_agents (line 180) | def test_create_specialist_agents(): function test_create_triage_agent (line 194) | def test_create_triage_agent(): function test_run_customer_support_system (line 206) | def test_run_customer_support_system(): FILE: openai-agents-examples/08_agent_with_agent_as_tool.py function create_research_agent (line 40) | def create_research_agent() -> Agent: function create_blog_writer_agent (line 62) | def create_blog_writer_agent(research_agent: Agent) -> Agent: function run_blog_writer_system (line 94) | async def run_blog_writer_system(prompt: str) -> str: function main (line 117) | def main(): function test_create_research_agent (line 152) | def test_create_research_agent(): function test_create_blog_writer_agent (line 160) | def test_create_blog_writer_agent(): function test_run_blog_writer_system (line 171) | def test_run_blog_writer_system(): FILE: openai-agents-examples/09_agent_with_context_management.py function create_conversation_agent (line 40) | def create_conversation_agent() -> Agent: function run_conversation_with_context (line 60) | async def run_conversation_with_context(prompt: str, context: Optional[C... function simulate_conversation (line 84) | def simulate_conversation(initial_prompt: str, follow_up_prompts: List[s... function main (line 109) | def main(): function test_create_conversation_agent (line 140) | def test_create_conversation_agent(): function test_run_conversation_with_context (line 147) | def test_run_conversation_with_context(): FILE: openai-agents-examples/10_agent_with_guardrails.py class ContentModerationGuardrail (line 44) | class ContentModerationGuardrail(InputGuardrail): method __init__ (line 49) | def __init__(self): method filter (line 57) | def filter(self, input_str: str) -> Optional[str]: method get_rejection_message (line 77) | def get_rejection_message(self, input_str: str) -> str: class FormatValidationGuardrail (line 90) | class FormatValidationGuardrail(InputGuardrail): method __init__ (line 95) | def __init__(self, min_length: int = 5, max_length: int = 500): method filter (line 106) | def filter(self, input_str: str) -> Optional[str]: method get_rejection_message (line 125) | def get_rejection_message(self, input_str: str) -> str: function create_protected_agent (line 143) | def create_protected_agent() -> Agent: function run_protected_agent (line 169) | async def run_protected_agent(prompt: str) -> str: function main (line 193) | def main(): function test_content_moderation_guardrail (line 221) | def test_content_moderation_guardrail(): function test_format_validation_guardrail (line 234) | def test_format_validation_guardrail(): function test_create_protected_agent (line 252) | def test_create_protected_agent(): function test_run_protected_agent (line 260) | def test_run_protected_agent(): FILE: openai-agents-examples/11_agent_orchestration.py function create_research_agent (line 40) | def create_research_agent() -> Agent: function create_outline_agent (line 62) | def create_outline_agent() -> Agent: function create_content_agent (line 84) | def create_content_agent() -> Agent: function create_editor_agent (line 106) | def create_editor_agent() -> Agent: function create_manager_agent (line 128) | def create_manager_agent(specialists: List[Agent]) -> Agent: function orchestrate_content_creation (line 161) | async def orchestrate_content_creation(prompt: str) -> str: function main (line 189) | def main(): function test_create_specialist_agents (line 215) | def test_create_specialist_agents(): function test_create_manager_agent (line 232) | def test_create_manager_agent(): function test_orchestrate_content_creation (line 245) | def test_orchestrate_content_creation(): FILE: openai-agents-examples/12_anthropic_agent.py class AnthropicModelProvider (line 43) | class AnthropicModelProvider(ModelProvider): method __init__ (line 48) | def __init__(self, api_key: Optional[str] = None): method generate (line 61) | async def generate( function create_anthropic_agent (line 146) | def create_anthropic_agent() -> Agent: function run_anthropic_agent (line 172) | async def run_anthropic_agent(prompt: str) -> str: function main (line 191) | def main(): function test_create_anthropic_agent (line 216) | def test_create_anthropic_agent(): function test_run_anthropic_agent (line 229) | def test_run_anthropic_agent(): FILE: openai-agents-examples/13_research_blog_system.py function search_for_information (line 45) | def search_for_information(query: str, depth: int = 3) -> str: function analyze_topic (line 135) | def analyze_topic(topic: str) -> str: function generate_blog_outline (line 212) | def generate_blog_outline(topic: str, research: str) -> str: function format_blog_as_markdown (line 268) | def format_blog_as_markdown(title: str, content: str) -> str: function create_research_agent (line 296) | def create_research_agent() -> Agent: function create_blog_agent (line 325) | def create_blog_agent() -> Agent: function create_coordinator_agent (line 354) | def create_coordinator_agent(specialists: List[Agent]) -> Agent: function create_research_blog (line 386) | async def create_research_blog(topic: str) -> str: function main (line 412) | def main(): function test_research_tools (line 446) | def test_research_tools(): function test_blog_tools (line 458) | def test_blog_tools(): function test_create_agents (line 477) | def test_create_agents(): function test_create_research_blog (line 491) | def test_create_research_blog(): FILE: openai-agents-examples/fix_imports.py function fix_imports_in_file (line 12) | def fix_imports_in_file(file_path): function create_agents_symlink (line 64) | def create_agents_symlink(): function main (line 80) | def main(): FILE: sfa_bash_editor_agent_anthropic_v2.py function tool_view_file (line 217) | def tool_view_file(tool_input: dict) -> dict: function tool_create_file (line 244) | def tool_create_file(tool_input: dict) -> dict: function tool_str_replace (line 278) | def tool_str_replace(tool_input: dict) -> dict: function tool_insert_line (line 324) | def tool_insert_line(tool_input: dict) -> dict: function tool_execute_bash (line 378) | def tool_execute_bash(tool_input: dict) -> dict: function tool_restart_bash (line 410) | def tool_restart_bash(tool_input: dict) -> dict: function tool_complete_task (line 429) | def tool_complete_task(tool_input: dict) -> dict: function main (line 446) | def main(): FILE: sfa_bash_editor_agent_anthropic_v3.py function tool_view_file (line 217) | def tool_view_file(tool_input: dict) -> dict: function tool_create_file (line 245) | def tool_create_file(tool_input: dict) -> dict: function tool_str_replace (line 280) | def tool_str_replace(tool_input: dict) -> dict: function tool_insert_line (line 327) | def tool_insert_line(tool_input: dict) -> dict: function tool_execute_bash (line 382) | def tool_execute_bash(tool_input: dict) -> dict: function tool_restart_bash (line 415) | def tool_restart_bash(tool_input: dict) -> dict: function tool_complete_task (line 434) | def tool_complete_task(tool_input: dict) -> dict: function main (line 451) | def main(): FILE: sfa_codebase_context_agent_v3.py function git_list_files (line 67) | def git_list_files( function check_file_paths_line_length (line 137) | def check_file_paths_line_length( function determine_if_file_is_relevant (line 180) | def determine_if_file_is_relevant(prompt: str, file_path: str, client: A... function determine_if_files_are_relevant (line 310) | def determine_if_files_are_relevant( function add_relevant_files (line 373) | def add_relevant_files(reasoning: str, file_paths: List[str]) -> str: function complete_task_output_relevant_files (line 401) | def complete_task_output_relevant_files(reasoning: str) -> str: function display_token_usage (line 435) | def display_token_usage(): function main (line 623) | def main(): FILE: sfa_codebase_context_agent_w_ripgrep_v3.py function git_list_files (line 71) | def git_list_files( function check_file_paths_line_length (line 141) | def check_file_paths_line_length( function determine_if_file_is_relevant (line 184) | def determine_if_file_is_relevant(prompt: str, file_path: str, client: A... function determine_if_files_are_relevant (line 314) | def determine_if_files_are_relevant( function add_relevant_files (line 377) | def add_relevant_files(reasoning: str, file_paths: List[str]) -> str: function complete_task_output_relevant_files (line 405) | def complete_task_output_relevant_files(reasoning: str) -> str: function search_codebase_with_ripgrep (line 439) | def search_codebase_with_ripgrep( function display_token_usage (line 542) | def display_token_usage(): function main (line 767) | def main(): FILE: sfa_duckdb_anthropic_v2.py function list_tables (line 158) | def list_tables(reasoning: str) -> List[str]: function describe_table (line 183) | def describe_table(reasoning: str, table_name: str) -> str: function sample_table (line 211) | def sample_table(reasoning: str, table_name: str, row_sample_size: int) ... function run_test_sql_query (line 240) | def run_test_sql_query(reasoning: str, sql_query: str) -> str: function run_final_sql_query (line 268) | def run_final_sql_query(reasoning: str, sql_query: str) -> str: function main (line 298) | def main(): FILE: sfa_duckdb_gemini_v1.py function main (line 114) | def main(): FILE: sfa_duckdb_gemini_v2.py function list_tables (line 37) | def list_tables(reasoning: str) -> List[str]: function describe_table (line 63) | def describe_table(reasoning: str, table_name: str) -> str: function sample_table (line 91) | def sample_table(reasoning: str, table_name: str, row_sample_size: int) ... function run_test_sql_query (line 120) | def run_test_sql_query(reasoning: str, sql_query: str) -> str: function run_final_sql_query (line 148) | def run_final_sql_query(reasoning: str, sql_query: str) -> str: function main (line 300) | def main(): FILE: sfa_duckdb_openai_v2.py class ListTablesArgs (line 27) | class ListTablesArgs(BaseModel): class DescribeTableArgs (line 33) | class DescribeTableArgs(BaseModel): class SampleTableArgs (line 38) | class SampleTableArgs(BaseModel): class RunTestSQLQuery (line 46) | class RunTestSQLQuery(BaseModel): class RunFinalSQLQuery (line 51) | class RunFinalSQLQuery(BaseModel): function list_tables (line 190) | def list_tables(reasoning: str) -> List[str]: function describe_table (line 215) | def describe_table(reasoning: str, table_name: str) -> str: function sample_table (line 243) | def sample_table(reasoning: str, table_name: str, row_sample_size: int) ... function run_test_sql_query (line 272) | def run_test_sql_query(reasoning: str, sql_query: str) -> str: function run_final_sql_query (line 300) | def run_final_sql_query(reasoning: str, sql_query: str) -> str: function main (line 330) | def main(): FILE: sfa_file_editor_sonny37_v1.py function display_token_usage (line 79) | def display_token_usage(input_tokens: int, output_tokens: int) -> None: function normalize_path (line 112) | def normalize_path(path: str) -> str: function view_file (line 155) | def view_file(path: str, view_range=None) -> Dict[str, Any]: function str_replace (line 204) | def str_replace(path: str, old_str: str, new_str: str) -> Dict[str, Any]: function create_file (line 249) | def create_file(path: str, file_text: str) -> Dict[str, Any]: function insert_text (line 290) | def insert_text(path: str, insert_line: int, new_str: str) -> Dict[str, ... function undo_edit (line 361) | def undo_edit(path: str) -> Dict[str, Any]: function handle_tool_use (line 393) | def handle_tool_use(tool_use: Dict[str, Any]) -> Dict[str, Any]: function run_agent (line 463) | def run_agent( function main (line 650) | def main(): FILE: sfa_jq_gemini_v1.py function main (line 116) | def main(): FILE: sfa_meta_prompt_openai_v1.py function interactive_input (line 307) | def interactive_input(): function main (line 347) | def main(): FILE: sfa_openai_agent_sdk_v1.py function run_basic_agent (line 81) | def run_basic_agent(): function run_agent_with_model_settings (line 89) | def run_agent_with_model_settings(): function get_weather (line 103) | def get_weather(city: str) -> str: function calculate_mortgage (line 120) | def calculate_mortgage(principal: float, interest_rate: float, years: in... function run_agent_with_tools (line 144) | def run_agent_with_tools(): class Location (line 159) | class Location(TypedDict): function get_location_weather (line 165) | def get_location_weather(location: Location) -> str: function run_agent_with_complex_types (line 175) | def run_agent_with_complex_types(): function create_handoff_agents (line 189) | def create_handoff_agents(): function run_agent_with_handoffs (line 212) | def run_agent_with_handoffs(): class HomeworkOutput (line 229) | class HomeworkOutput(BaseModel): function create_guardrail_agent (line 234) | def create_guardrail_agent(): function run_agent_with_guardrails (line 261) | def run_agent_with_guardrails(): function search_database (line 278) | def search_database(query: str) -> List[Dict[str, Any]]: function run_agent_with_structured_output (line 300) | def run_agent_with_structured_output(): function log_conversation (line 329) | def log_conversation(ctx: RunContextWrapper[Dict[str, Any]], message: st... function run_agent_with_context (line 341) | def run_agent_with_context(): function run_tracing_example (line 362) | async def run_tracing_example(): function run_streaming_example (line 380) | def run_streaming_example(): function run_agent_with_mcp (line 399) | async def run_agent_with_mcp(): function main (line 447) | def main(): FILE: sfa_polars_csv_agent_anthropic_v3.py function list_columns (line 35) | def list_columns(reasoning: str, csv_path: str) -> List[str]: function sample_csv (line 63) | def sample_csv(reasoning: str, csv_path: str, row_count: int) -> str: function run_test_polars_code (line 95) | def run_test_polars_code(reasoning: str, polars_python_code: str, csv_pa... function run_final_polars_code (line 138) | def run_final_polars_code( function main (line 305) | def main(): FILE: sfa_polars_csv_agent_openai_v2.py class ListColumnsArgs (line 36) | class ListColumnsArgs(BaseModel): class SampleCSVArgs (line 43) | class SampleCSVArgs(BaseModel): class RunTestPolarsCodeArgs (line 51) | class RunTestPolarsCodeArgs(BaseModel): class RunFinalPolarsCodeArgs (line 57) | class RunFinalPolarsCodeArgs(BaseModel): function list_columns (line 194) | def list_columns(reasoning: str, csv_path: str) -> List[str]: function sample_csv (line 222) | def sample_csv(reasoning: str, csv_path: str, row_count: int) -> str: function run_test_polars_code (line 254) | def run_test_polars_code(reasoning: str, polars_python_code: str) -> str: function run_final_polars_code (line 296) | def run_final_polars_code( function main (line 341) | def main(): FILE: sfa_scrapper_agent_openai_v2.py class ScrapeUrlArgs (line 57) | class ScrapeUrlArgs(BaseModel): class ReadLocalFileArgs (line 65) | class ReadLocalFileArgs(BaseModel): class UpdateLocalFileArgs (line 72) | class UpdateLocalFileArgs(BaseModel): class CompleteTaskArgs (line 80) | class CompleteTaskArgs(BaseModel): function log_function_call (line 202) | def log_function_call(function_name: str, function_args: dict): function log_function_result (line 214) | def log_function_result(function_name: str, result: str): function log_error (line 225) | def log_error(error_msg: str): function scrape_url (line 230) | def scrape_url(reasoning: str, url: str, output_file_path: str) -> str: function read_local_file (line 262) | def read_local_file(reasoning: str, file_path: str) -> str: function update_local_file (line 287) | def update_local_file(reasoning: str, file_path: str, content: str) -> str: function complete_task (line 322) | def complete_task(reasoning: str) -> str: function main (line 338) | def main(): FILE: sfa_sqlite_openai_v2.py class ListTablesArgs (line 28) | class ListTablesArgs(BaseModel): class DescribeTableArgs (line 34) | class DescribeTableArgs(BaseModel): class SampleTableArgs (line 39) | class SampleTableArgs(BaseModel): class RunTestSQLQuery (line 47) | class RunTestSQLQuery(BaseModel): class RunFinalSQLQuery (line 52) | class RunFinalSQLQuery(BaseModel): function list_tables (line 191) | def list_tables(reasoning: str) -> List[str]: function describe_table (line 215) | def describe_table(reasoning: str, table_name: str) -> str: function sample_table (line 241) | def sample_table(reasoning: str, table_name: str, row_sample_size: int) ... function run_test_sql_query (line 270) | def run_test_sql_query(reasoning: str, sql_query: str) -> str: function run_final_sql_query (line 299) | def run_final_sql_query(reasoning: str, sql_query: str) -> str: function main (line 330) | def main():