Overview

SWE Development Kit (swekit) is a powerful framework for building Software Engineering agents using Composio’s tooling ecosystem. It provides tools like Github, Repo Indexing, Repo Search, File Manager, Shell Manager, and more.

Key Features

  • Agent Scaffolding: Quickly create Devin like agents that work out-of-the-box with popular agentic frameworks like OpenAI, Langchain, and more.
  • Flexible Workspace Environments: Operate your agents within a variety of secure and isolated environments including Docker, E2B, and FlyIO for security and isolation.
  • Customizable Tools: Add or optimize your agent’s abilities with a variety of tools.
  • Benchmarking: Evaluate your agents against the SWE-bench, a comprehensive benchmark for software engineering tasks.

Getting Started

1

Installation

Begin by installing the core packages using your favourite package manager:

2

Connect your Github Account

To utilize Github Issues as a task source, link your Github account as follows:

3

Clone SWE Template for JS

To use Docker as the default workspace environment, ensure your Docker server is running

To quickly get started, clone the template from github using below command

This will a new agent in swe-js with key files:

  • src/app.ts: Entry point to run the agent
  • src/prompts.ts: Agent prompts
  • src/agents/swe: Agent definations
4

Install all the dependencies

Install all the required dependencies for SWE agent

5

Run your SWE agnet

To start the agent, just run the following command

You will be prompted to specify the repository and issue for the agent to address.

Next Steps