1. Conduid
  2. Developer Tools
  3. Codearkt
MCP server · Developer Tools

Codearkt

Implementation of the CodeAct agentic framework with Docker containers for security, MCP servers for tool integrations, and multi-agent support.

Unclaimed Apache-2.0 last commit 12 months ago devtools
56Fair

Scored 10 hours ago · breakdown

About Codearkt

Codearkt is an MCP server published by IlyaGusev in the Developer Tools category: implementation of the CodeAct agentic framework with Docker containers for security, MCP servers for tool integrations, and multi-agent support.

The repository has 39 stars and 7 forks, with the last commit 12 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/IlyaGusev/codearkt

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Codearkt

Powered by Claude · Grounded in docs

I know everything about Codearkt. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 10 hours ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • !Dependencies pinnedNo lockfile. Installs can pull different code over time.
  • !No dynamic code executionSource scan found eval or shell execution. Review how tool inputs reach it before granting credentials.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

1.9.5Release 1.9.5 · 8 Oct 2025What's Changed Test client and fix event stream session finishing logic (#11) (f1073b9) Full Changelog: https://github.com/IlyaGusev/codearkt/compare/1.9.4...v1.9.5
1.9.4Release 1.9.4 · 8 Oct 2025What's Changed Update Docker image (#10) (e420349) Full Changelog: https://github.com/IlyaGusev/codearkt/compare/1.9.3...v1.9.4
1.9.3Release 1.9.3 · 8 Oct 2025What's Changed Fix Codacy issues (#9) (5374368) Update README.md (#8) (1ff2f22) Update README.md (0130c30) README badges and test coverage report (#7) (ecb6116) Full Changelog: https://github.com/IlyaGusev/codearkt/compare/1.9.2...v1.9.3
1.9.2Release 1.9.2 · 7 Oct 2025What's Changed Additional refactoring (#6) (bd6fc1b) Full Changelog: https://github.com/IlyaGusev/codearkt/compare/1.9.1...v1.9.2
1.9.1Release 1.9.1 · 7 Oct 2025What's Changed CodeAct refactoring (#5) (36781fd) Full Changelog: https://github.com/IlyaGusev/codearkt/compare/1.9.0...v1.9.1

README

CodeArkt

PyPI CI License Stars codecov CodeFactor Codacy Badge DeepWiki

CodeArkt is a battery-included implementation of the CodeAct framework with support for the multi-agent architecture. Ship autonomous agents that can reason, write, execute & iterate over code. All from a single Python package.


✨ Why CodeArkt?

  • Multi-agent orchestration – coordinate hierarchies of specialist agents.
  • Secure Python sandbox – secure, ephemeral Docker execution environment for code actions.
  • First-class tool ecosystem – auto-discover & register MCP tools.
  • Drop-dead simple UI – launch an elegant Gradio chat or run the terminal client.
  • Production ready – typed codebase (mypy --strict), CI, tests, Docker & Apache-2.0 license.

🚀 Quick Start

Install the package:

pip install codearkt  # requires Python ≥ 3.12

Run your MCP servers:

python -m academia_mcp --port 5056 # just an example MCP server

Run a server with a simple agent and connect it to your MCP servers:

import os
from codearkt.codeact import CodeActAgent
from codearkt.llm import LLM
from codearkt.server import run_server

# Use your own or remote MCP servers
mcp_config = {
    "mcpServers": {"academia": {"url": "http://0.0.0.0:5056/mcp", "transport": "streamable-http"}}
}

# Create an agent definition
api_key = os.getenv("OPENROUTER_API_KEY", "")
assert api_key, "Please provide OpenRouter API key!"
agent = CodeActAgent(
    name="manager",
    description="A simple agent",
    llm=LLM(model_name="deepseek/deepseek-chat-v3-0324", api_key=api_key),
    tool_names=["arxiv_download", "arxiv_search"],
)

# Run the server with MCP proxy and agentic endpoints
run_server(agent, mcp_config, port=5055)

Now run a Python client:

from codearkt.client import query_agent
from codearkt.llm import ChatMessage

history = [ChatMessage(role="user", content="Find an abstract of the 2402.01030 paper")]

for event in query_agent(history, port=5055):
    if event.content:
        print(event.content, end="", flush=True)

Within seconds, you will see agents collaborating, executing Python snippets, and streaming the results back to your console.

You can also use existing clients, Gradio and terminal:

uv run -m codearkt.terminal --port 5055
uv run -m codearkt.gradio --port 5055

🧩 Feature Overview

Area Highlights
Agents Hierarchical manager / worker pattern, pluggable prompts, configurable iteration limits
Tools Automatic discovery via MCP registry, Python execution (python_interpreter)
Execution Sandboxed temp directory, timeout, streamed chunks, cleanup hooks
Observability AgentEventBus publishes JSON events – integrate with logs, websockets, or GUI. Opentelemetry is also supported.
UI Responsive Gradio Blocks chat with stop button, syntax-highlighted code & output panels
Extensibility Compose multiple CodeActAgent instances, add your own LLM backend, override prompts

📖 Documentation

For now, explore the well-typed source code.


🛠️ Project Structure

codearkt/
├─ codeact.py          # Core agent logic
├─ python_executor.py  # Secure sandbox for arbitrary code
├─ event_bus.py        # Pub/Sub for agent events
├─ gradio.py           # Optional web UI
└─ ...
examples/
└─ multi_agent/        # End-to-end usage demos

🤝 Contributing

Pull requests are welcome! Please:

  1. Fork the repo & create your branch: git checkout -b feature/my-feature
  2. Install dev deps: make install
  3. Run the linter & tests: make validate && make test
  4. Submit a PR and pass the CI.

Join the discussion in Discussions or open an Issue.


📝 License

CodeArkt is released under the Apache License 2.0 – see the LICENSE file for details.

README fetched from the repository 10 hours ago. The original is authoritative.

Questions

About Codearkt

How do I install Codearkt?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Codearkt safe to use with an AI agent?

Its trust score is 56 out of 100 (fair). It passes 3 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Codearkt still maintained?

The last commit was 12 months ago and 1 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.